Turn on Hotspot

XverhelstX

Well-Known Member
Licensed User
Longtime User
I don't think it is possible, however you can cast an intent to the settings screen with the following:

B4X:
Dim i As Intent
    i.Initialize("android.settings.ACTION_WIFI_SETTINGS", "") 'i'm not sure if this is the correct one
    StartActivity(i)

You can change ACTION_WIFI_SETTINGS with any code here:


Link Here:

http://developer.android.com/reference/android/provider/Settings.html

XverhelstX
 
Upvote 0

anaylor01

Well-Known Member
Licensed User
Longtime User
What I am trying to do is create an app that when you click on it it turns on your mobile hopspot.
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…