navit-project.org
http://forum.navit-project.org/

starting navit in a terminal with android tablet
http://forum.navit-project.org/viewtopic.php?f=17&t=649
Page 1 of 1

Author:  pinheads [ 24 Dec 2017, 14:20 ]
Post subject:  starting navit in a terminal with android tablet

Hello
I tried to start navit in a android terminal without succes
i tried with this code
am start -n org.navitproject.navit/.navitActivity
am start -n com.org.navitproject.navit/com.org.navitproject.navit.navit

my tablet is rooted lifetab E10316 kitkat
Anybody a suggestion
Boris

Author:  zintor [ 02 Jan 2018, 19:11 ]
Post subject:  Re: starting navit in a terminal with android tablet

Hi Boris!

Are there any outputs on terminal?

Best regards,
zintor

Author:  pinheads [ 11 Jan 2018, 08:21 ]
Post subject:  Re: starting navit in a terminal with android tablet

u0_a43@LIFETAB_E10316:/ $ am start -ncom.org.navitproject.navit/com.org.navitproject.navit.navit
Starting: Intent { cmp=com.org.navitproject.navit/.navit }
java.lang.SecurityException: Permission Denial: startActivity asks to run as user -2 but is calling from user 0; this requires android.permission.INTERACT_ACROSS_USERS_FULL
at android.os.Parcel.readException(Parcel.java:1465)
at android.os.Parcel.readException(Parcel.java:1419)
at android.app.ActivityManagerProxy.startActivityAsUser(ActivityManagerNative.java:2152)
at com.android.commands.am.Am.runStart(Am.java:680)
at com.android.commands.am.Am.onRun(Am.java:270)
at com.android.internal.os.BaseCommand.run(BaseCommand.java:47)
at com.android.commands.am.Am.main(Am.java:76)
at com.android.internal.os.RuntimeInit.nativeFinishInit(Native Method)
at com.android.internal.os.RuntimeInit.main(RuntimeInit.java:243)
at dalvik.system.NativeStart.main(Native Method)
1|u0_a43@LIFETAB_E10316:/ $ su
root@LIFETAB_E10316:/ # am start -n com.org.navitproject.navit/com.org.navitproject.navit.navit
Starting: Intent { cmp=com.org.navitproject.navit/.navit }
Error type 3
Error: Activity class {com.org.navitproject.navit/com.org.navitproject.navit.navit} does not exist.
root@LIFETAB_E10316:/ # am start -n com.org.navitproject.navit/com.org.navitproject.navit.NavitActivity
Starting: Intent { cmp=com.org.navitproject.navit/.NavitActivity }
Error type 3
Error: Activity class {com.org.navitproject.navit/com.org.navitproject.navit.NavitActivity} does not exist.
root@LIFETAB_E10316:/ # su/data/data
sh: su/data/data: not found
127|root@LIFETAB_E10316:/ # cd data
root@LIFETAB_E10316:/data # cd data
root@LIFETAB_E10316:/data/data # am start -n com.org.navitproject.navit/com.org.navitproject.navit.navit
Starting: Intent { cmp=com.org.navitproject.navit/.navit }
Error type 3
Error: Activity class {com.org.navitproject.navit/com.org.navitproject.navit.navit} does not exist.
root@LIFETAB_E10316:/data/data # am start -n [org.navitproject.navit]/[.navit]
Starting: Intent { cmp=[org.navitproject.navit]/[.navit] }
Error type 3
Error: Activity class {[org.navitproject.navit]/[.navit]} does not exist.
root@LIFETAB_E10316:/data/data #

Page 1 of 1 All times are UTC
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/