Android Question Calling the Android Settings Intent

JakeBullet70

Well-Known Member
Licensed User
Longtime User
HI all.

I am trying to call the Settings Intent as I want to show the main settings from my app.
In searching the internet I have tried...

Settings.ACTION_SETTINGS
android.provider.Settings.ACTION_SETTINGS
android.settings.ACTION_SETTINGS

I think I have the wrong Intent.
Code is below, Thanks!


B4X:
Public Sub AndroidSettings
    Dim DoAction As Intent
    DoAction.Initialize("Settings.ACTION_SETTINGS","")
    DoAction.Flags = 268435456 'FLAG_ACTIVITY_NEW_TASK):
    StartActivity(DoAction)
End Sub
 
Last edited:
Top