Android Question Android settings menu

ykucuk

Well-Known Member
Licensed User
Longtime User
Hello,

how can i open android settings menu with intent ?

I need user can set wireless settings on app

android_lockscreen_1.jpg
 

Mark Read

Well-Known Member
Licensed User
Longtime User
Have you tried:

B4X:
Dim i As Intent

i.Initialize("", "")
i.SetComponent("com.android.settings/.Settings")

StartActivity(i)
 
Upvote 0

Mark Read

Well-Known Member
Licensed User
Longtime User
Or

B4X:
Dim i As Intent
   i.Initialize( "android.settings.WIFI_SETTINGS", "")
   i.Flags = 268435456
   StartActivity(i)
 
Upvote 0

Mr_Harry

New Member
Licensed User
Longtime User
This worked for me:
B4X:
Dim i As Intent
i.Initialize("", "")
i.SetComponent("com.android.settings/.wifi.WifiSettings")
StartActivity(i)
 
Upvote 0
Top