Android Question Settings Disabled

RJB

Active Member
Licensed User
Longtime User
When accessing settings using e.g.:
B4X:
Expand Collapse Copy
GotoSettings("DATA_ROAMING")

Public Sub GotoSettings(Setting As String)
 Dim StartIntent As Intent
 StartIntent.Initialize("android.settings." & Setting.ToUpperCase & "_SETTINGS","")
 StartActivity(StartIntent)
End Sub
The settings are greyed out and not available to change.
Is there something I need to do to make them accessible?
Thanks
 
I've just taken the code out of the larger app and put it in an app on its own and it now works.
So I guess I have something else which is upsetting it!
 
Upvote 0
Back
Top