K KikeCentolo Member Licensed User Longtime User Apr 15, 2012 #1 Hello! I am searching a way to enable GPS without user interaction. If GPS1.GPSEnabled = False Then ToastMessageShow("Please enable the GPS device.", True) StartActivity(GPS1.LocationSettingsIntent) End If It`s possible to send keystrokes from my app to the the setup screen to turn on the GPS ? Thanks!
Hello! I am searching a way to enable GPS without user interaction. If GPS1.GPSEnabled = False Then ToastMessageShow("Please enable the GPS device.", True) StartActivity(GPS1.LocationSettingsIntent) End If It`s possible to send keystrokes from my app to the the setup screen to turn on the GPS ? Thanks!
Erel B4X founder Staff member Licensed User Longtime User Apr 15, 2012 #2 You cannot send keystrokes to other applications. There was an unofficial way to enable the GPS in previous versions of Android. However they fixed the "hole" and it is no longer possible (due to security issues). Upvote 0
You cannot send keystrokes to other applications. There was an unofficial way to enable the GPS in previous versions of Android. However they fixed the "hole" and it is no longer possible (due to security issues).
K KikeCentolo Member Licensed User Longtime User Apr 15, 2012 #3 Thanks Erel It is frustrating that depending on the version of android don´t work TurnGPS Library or ToggleLibrary Upvote 0
Thanks Erel It is frustrating that depending on the version of android don´t work TurnGPS Library or ToggleLibrary