2 little questions

axelands

New Member
how i can make an event that make a msg when wifi is off and a connect to wifi window to conecct it
how to now the phone lenguaje to make diferent app lenguaje
i can play a online radio with a internet conection
 

Erel

B4X founder
Staff member
Licensed User
Longtime User
You can open the wifi settings activity with this code (requires a reference to the phone library):
B4X:
    Dim i As Intent
    i.Initialize("android.settings.WIFI_SETTINGS", "")
    StartActivity(i)
Using the Network library you can check if the device is connected (though it can also be connected with 3g).

Reading the phone language will be available in the future.
 
Upvote 0
Top