wifi

How to connect to WiFi on iPhone programatically? (LEAP Protocol)

I need to do an app for my school to connect to the Wi-Fi Network. They use a LEAP protocol and I just need to send a NSURLRequest to a PHP file. Anyone has any ideas? ...

My App works over WiFi. But not over 3G in android? Any Guesses?

Hi Folks, I have developed an App that target version is 4 (Android 1.6) upto 7 (Android 2.1). I tested this app on the dev phone 2 (Google-Io-Device 1.6 version). I am doing some xml parsing stuff through Internet. i set the <uses-permission> on my Manifest. it works fine in WI-FI Network. But its not working in the Motorola Droid 2.1 ...

Detecting wifi network change in iPad

Hi I have an iPad application which requires me to stream a video to a user only if he is connected to a particular wifi network. If his wifi network changes, I need to stop streaming. Is there any way to know that the wifi network that the user is connected to has changed? Are there any public APIs that can give me the SSID of the wifi ...

On Android 2.2: Being in Tethering mode and scanning wifi at the SAME time

Hi: Is it generally possible to have Wifi Tethering turned on (creating a Hotspot) and at the same time scanning for Wifi devices? I want several devices just discover (NOT connect) each other and log the signal strength. To do that all devices must be discoverable over Wifi and at the same time discover others. I would just need that fo...

WiFi network without routers

Imagine we have N devices (say, mobile phones) with WiFi somewhere in a big desert (no area WiFi, no routers, no GSM signal, etc). Is it techincally possible to create dynamical network of such devices, so that they automatically discower new nodes and everyone can send messages to everyone (let us take simplest case - no broadcasting of...

How to connect over wifi for game play?

I made a simple pong game from a tutorial (icode blog)and would like to play againt another player over my wifi network. How do I add that feature to the game? ...

Start / stop built-in Wi-Fi / USB tethering from code?

How can I start or stop the built-in tethering in Android 2.2 from my application? ...

How to get the connection strength of Wifi access points?

I am building an application reading the signal strength of each available Wifi access point. I've written code like: wifi = (WifiManager) getSystemService(Context.WIFI_SERVICE); // Get WiFi status WifiInfo info = wifi.getConnectionInfo(); textStatus.append("\n\nWiFi Status: " + info.toString()); // List availabl...

Do Android devices scan *actively* for WiFi networks?

hi there! i am programming for google android and i wonder if the scans for wireless 802.11 networks are done passively or actively? i mean: does the device actually emit a beacon request signal on WifiManager.startScan() or does it just listen for beacons sent periodically by the access points? ...

how do i use wireshark to scan for wifi beacon requests sent by a specific device?

hi there! the title says about everything. i need to know if my android phone actively scans for network, i.e. whether it actually sends beacon request packets or just (passively) listens for incoming beacons periodically sent by the access points in the surrounding. sadly, i seem to be unable to get the capture filter right... i can a...

Connect iPhone/iPad with Mac (the Apple way)

Hello, When Apple's Remote app tries to connect to a Mac (running iTunes) on a local network (using WiFi), the user needs to enter a passcode provided by the iPhone as a security measure. This approach has been adopted by a number of other apps (e.g., Rowmote, Pastebot, ...). Is there an API that provides this way of working? Assuming ...

iPhoneOS4.0 Wifi Scanning problem.

I have just started to make a iPhone Wifi scanning app. I have searched a lot websites, finally I have the recent code the below. Someone told this is working for iPhoneOS4.0 well. libHandle = dlopen("/System/Library/SystemConfiguration/WiFiManager.bundle/WiFiManager", RTLD_LAZY); open = dlsym(libHandle, "Apple80211Open"); bind = dl...

Play whit wifi on iPhone?

I try to make a little app for my iPhone, and version 1 its now ready to AppStore, in my Version 2 i want to get more info to the user, can sombardy maby help me to learn about Wifi on iPhone? i Tnink i will tell the user about "wifi connect" and after that "show" user info about the network like ip, what SSID its connect to, what the m...

How to print a document in blackberry mobile via Wi-Fi

Hi.. In my application there is a pdf file and i have to print it using print button in blackberry via Wi-Fi I need core programming coding support for printing it. Is there any sample application which have wifi printer enabled feature. Please tell me any sample application which help me to connect to wifi printer for print through...

How do we detect if wifi becomes unavailable in iPhone SDK

Hi All, Is there any way that we can programatically identify when the wifi of a user becomes available/unavailable? My application requires exchanging messages between two different devices. It is working good in stable wifi setups. But if the wifi is unstable, I am having trouble in detecting if the other device is available or not....

How to convert WEP key to ASCII passphrase?

Does anyone have a hex->ascii method to reverse the WEP encryption? I have my WEP key (eg F2:E8:54:22:F3), but can't remember my passphrase. I'm not too concerned with the accuracy of the passphrase. I found this site, which has a Linux program that seems to work with values of keys generated by this site (supposedly the same WEP enc...

What will happen to existing connections when switch between 3g/wifi

Hey, Assume that, I have a TCP connection that doing heavy data transmitting on my 3G network; and I walked home, Android switch to my home Wifi automatically. Now what happen to the existing connection? is it simply disconnect? or it will keep going, only new connections will use wifi? In addition, what if I walk away from home, wifi ...

Android wifi power question

I have observed that by default the wifi adaptor goes into (power saving mode) PSM mode. When Certain applications such as youtube appear to buffer video, the adaptor leaves PSM mode into CAM state or full power mode. Once the buffering is done, the wifi adaptor goes back into PSM mode. I have observed this behavior with other appl...

Getting wireless strength signal in C++

Hi all, I would like to create a little C/C++ program that should be able to detect wireless APs and getting from this some infos, like ID, the strength of the signal ... encryption (open, WPA, WEP) ... stuff like this! Like airodump or network stumbler! This code will be run in a power PC, a console (Wii). Anyone can help me posting s...

Sending data between OSX and iPhones/iPads

Hi, I am wondering how I can send data between a machine and a mobile device. I know about the game kit an have read a bit about bonjour (but don't know to much about it), but would like to know some expert thoughts on what the best way is. What I basically want to build is a one way traffic application that sends data from OSX to the ...