Groups
Groups
Sign in
Groups
Groups
MIT App Inventor Forum
Conversations
Labels
About
Send feedback
Help
turn on gps in App Inventor with the activity starter
782 views
help-getting-connected
mit-appinventor-2
Skip to first unread message
yoske plishtiv
unread,
Feb 16, 2017, 8:31:48 PM
2/16/17
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to MIT App Inventor Forum
how turn on gps in App Inventor with the activity starter
android.settings.LOCATION_SOURCE_SETTINGS its only open the location setting
SteveJG
unread,
Feb 16, 2017, 8:53:21 PM
2/16/17
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to mitappinv...@googlegroups.com
Google believes access to Location is a security issue. Apparently this Java code once worked (
http://stackoverflow.com/questions/15426144/turning-on-and-off-gps-programmatically-in-android-4-0-and-above
) using Java. Apparently you can not change the location setting programably anymore. You can try it.
You can use the ActivityStarter to display a screen like this with an intent
and allow the user to manually turn it on.
Regards,
Steve
Reply all
Reply to author
Forward
0 new messages