Activating GPS

r2d4

Member
Licensed User
Longtime User
Hello,

is there a way to activate GPS if it is turned off?


Greetings
r2d4
 

timo

Active Member
Licensed User
Longtime User
Maybe r2d4 wanted only something like that
B4X:
If GPS1.GPSEnabled = False Then
ToastMessageShow("Please enable the GPS device.", True)
StartActivity(GPS1.LocationSettingsIntent)
End If
 
Upvote 0

r2d4

Member
Licensed User
Longtime User
Indeed, I am searching a way to enable GPS without user interaction.
I got a Samsung S2 Galaxy (Android 2.3) - may be someone knows a workaround?
 
Upvote 0
Top