All Questions

163
votes
10answers
119122 views

Detect network connection type on Android

How do you detect the network connection type on Android? Is it through ConnectivityManager.getActiveNetworkInfo().getType(), and is the answer limited to Wifi and mobile?
690
votes
19answers
298418 views

Run/install/debug Android applications over Wi-Fi?

I thought there was a way to test your applications in development over Wi-Fi. Is this accurate? I'd love to be able to untether my phone and develop wirelessly.
100
votes
10answers
77405 views

iOS Detect 3G or WiFi

I am not sure if this is possible, but I have this scenario. I have a website displayed in my UIWebView which has the link set in a UISegmentedController. They website can detect if you are on wifi o...
100
votes
5answers
64433 views

How to programmatically create and read WEP/EAP WiFi configurations in Android?

How to programmatically create and read WEP/EAP WiFi configurations in Android? I have seen a number of people struggling on this very question on various forums and all across the community. I know ...
45
votes
7answers
64887 views

Android turn On/Off WiFi HotSpot programmatically

Is there an API to turn On/Off the WiFi HotSpot on Android programmatically? What methods should I call to turn it On/Off? UPDATE:There's this option to have the HotSpot enabled, and just turn On/Of...
43
votes
5answers
55686 views

Wifi Connect-Disconnect Listener

Which listener does my class have to implement inorder to automatically check code if the wifi connects/disconnects? I'm able to manually check for wifi connection/disconnection but each time I need...
20
votes
4answers
20843 views

android: Determine security type of wifi networks in range (without connecting to them)

I can enumerate all wifi networks in range (using startScan + SCAN_RESULTS_AVAILABLE_ACTION + getScanResults) and get their SSID and BSSID values, but I can't figure out how to determine the security ...
95
votes
11answers
132669 views

Can Android do peer-to-peer ad-hoc networking?

Is it possible to set up Android in ad-hoc peer-to-peer wifi mode? For example, I would like to have one phone broadcast a message, and have all peers in the network receive the broadcast, without ha...
62
votes
5answers
71734 views

How can i call Wi-Fi settings screen from my application using Android

Normally I am getting Wi-Fi setting screen on the emulator by clicking on the Settings > Wireless controls > wifi settings. I need to go directly to the Wi-Fi settings screen from my program whe...
50
votes
4answers
51351 views

Android apps, communicating with a device plugged in the USB port

I'm thinking about an Android app (with possibly an accompanying physical device), and I'm trying to figure out whether this is something that's feasible. 1) Let's say I plug my Android to my PC. Wou...

Previous Next