R RJB Active Member Licensed User Longtime User Nov 21, 2019 #1 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
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
Erel B4X founder Staff member Licensed User Longtime User Nov 22, 2019 #2 It is most probably not related to the way you create the intent. Are the settings enabled if you open them through the settings app? Upvote 0
It is most probably not related to the way you create the intent. Are the settings enabled if you open them through the settings app?
R RJB Active Member Licensed User Longtime User Nov 22, 2019 #4 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
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!