G galimpic Member Licensed User Longtime User Oct 20, 2011 #1 There is GetNetworkType, but I cannot find a way to set what can be manually set in Settings/Wireless&Network/Mobile Networks/Network mode (GSM, WCDMA). If it cannot be set directly, what is the way to programatically have that menu item (or the nearest possible up the ladder) opened for the user?
There is GetNetworkType, but I cannot find a way to set what can be manually set in Settings/Wireless&Network/Mobile Networks/Network mode (GSM, WCDMA). If it cannot be set directly, what is the way to programatically have that menu item (or the nearest possible up the ladder) opened for the user?
Erel B4X founder Staff member Licensed User Longtime User Oct 20, 2011 #2 You can use this code: Code: Dim i As Intent i.Initialize(i.ACTION_MAIN, "") i.SetComponent("com.android.phone/.Settings") StartActivity(i) Upvote 0
You can use this code: Code: Dim i As Intent i.Initialize(i.ACTION_MAIN, "") i.SetComponent("com.android.phone/.Settings") StartActivity(i)
G galimpic Member Licensed User Longtime User Oct 22, 2011 #3 If that's the closest we can get to that option, it'll have to do Thanks Upvote 0
AscySoft Active Member Licensed User Longtime User Oct 31, 2011 #4 Erel said: You can use this code: Code: Dim i As Intent i.Initialize(i.ACTION_MAIN, "") i.SetComponent("com.android.phone/.Settings") StartActivity(i) Click to expand... it appears that from android 2.3 is no longer possible to programmatically enable/disable mobile data :BangHead:. So the above code is the closest solution to this, the user has to manually enable.disable... Upvote 0
Erel said: You can use this code: Code: Dim i As Intent i.Initialize(i.ACTION_MAIN, "") i.SetComponent("com.android.phone/.Settings") StartActivity(i) Click to expand... it appears that from android 2.3 is no longer possible to programmatically enable/disable mobile data :BangHead:. So the above code is the closest solution to this, the user has to manually enable.disable...