I want to add some configuration in my application.
I want to give users the possibility to active wifi
or 3G
from the same application, please tell me what i should do. thanks
Asked
Active
Viewed 146 times
-4

user2207848
- 47
- 3
- 9
2 Answers
0
to get wifi config use:
Intent intent = new Intent(Settings.ACTION_WIFI_SETTINGS);
startActivity(intent);
don't forget to add the following line in the Manifest
<uses-permission android:name="android.permission.INTERNET"/>

Med Besbes
- 2,001
- 6
- 25
- 38