How can I programmatically check that internet access in a android device is only over Wi-Fi and not over Packet Data connections like UMTS EDGE or GPRS ?
Asked
Active
Viewed 35 times
0
CodeWalker
- 2,281
- 4
- 23
- 50
1 Answers
0
if you want your app to only use one particular type of data connection, you can form if/else logic and use check for mobile-network-access and wifi-access and give command accordingly
you can refer to mobile-network-access and wifi-access questions of stackoverflow for check on connection availability
Community
- 1
- 1
priyanka_rao
- 465
- 1
- 4
- 20