navit-project.org

forum for navit navigation tool
It is currently 21 Feb 2018, 08:59
View unanswered posts | View active topics


All times are UTC


Forum rules


Feel free to ask anything here related to the development process - coding, creating new features, fixing bugs and custom changes of Navit.

Note: For reporting bugs, use the bug tracker.



Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: starting navit in a terminal with android tablet
PostPosted: 24 Dec 2017, 14:20 
Offline

Joined: 26 Nov 2017, 08:57
Posts: 2
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


 Profile  
 
 Post subject: Re: starting navit in a terminal with android tablet
PostPosted: 02 Jan 2018, 19:11 
Offline

Joined: 26 Sep 2016, 18:30
Posts: 5
Hi Boris!

Are there any outputs on terminal?

Best regards,
zintor


 Profile  
 
 Post subject: Re: starting navit in a terminal with android tablet
PostPosted: 11 Jan 2018, 08:21 
Offline

Joined: 26 Nov 2017, 08:57
Posts: 2
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 #


 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
Silver Orange 2.0.6 for IPB Designed by Skins and Hosting
Converted for phpBB3, based on Royal Blue template by BigB © 2007 2008 AEON KINGS