Open GPS settings sampe needed

45 views
Skip to first unread message

romanca...@gmail.com

unread,
May 30, 2016, 9:03:15 PM5/30/16
to CodenameOne Discussions

HI! im looking for some samples / code who helps me to open ths gps settings when is dissabled. can anyone sends me some code sample?


thanks;


If you are experiencing an issue please mention the full platform your issue applies to:
IDE: NetBeans/Eclipse/IDEA
Desktop OS
Simulator
Device

Shai Almog

unread,
May 31, 2016, 12:09:24 AM5/31/16
to CodenameOne Discussions, romanca...@gmail.com
Hi,
this was a common practice during the days of Android 2.x. Today with Google play services (which work on older versions of Android too) this is no longer recommended.

romanca...@gmail.com

unread,
May 31, 2016, 12:39:49 AM5/31/16
to CodenameOne Discussions, romanca...@gmail.com
ok, but what i can do when the gps who needs my app is turned off?

also i tried to implements that by native call but i mess in the process. in the future, can you post a tutorial or video showing how tu implement the native interfase calling apps?

thanks in advance

Shai Almog

unread,
Jun 1, 2016, 12:18:42 AM6/1/16
to CodenameOne Discussions, romanca...@gmail.com
There already is one: http://www.codenameone.com/how-do-i---access-native-device-functionality-invoke-native-interfaces.html
I think this question was asked before and you can probably find the answer by searching this group
Reply all
Reply to author
Forward
0 new messages