wifi

iPhone Wi-Fi Manager SDK

I'm attempting everal methods trying to enable/disable Wi-Fi (toggle). Here are some things I am trying: //Enable WiFiManagerClientEnable(WiFiManagerClientCreate(kCFAllocatorDefault, 0)); //Disable WiFiManagerClientDisable(WiFiManagerClientCreate(kCFAllocatorDefault, 0)); -and- //Enable WiFiManagerClientSetProperty(WiFiManagerClient...

iPhone rssi data

Im working on a proof of concept app, and need to measure rssi data. Looking for suggestions for any sort of api / framework that I could use. I tried playing around with the stumbler code, but haven't had much luck. ...

GameKit: What is the connection type when using GKSession without GKPeerPickerController : Resolved

I am implementing a BlueTooth and Wifi Based chat program for iPhone. For connection purpose I am using GameKit. But because of some special requirements application I can't use the default GKPeerPickerController. So I instead I created a GKSession and GKSessionDelegate combo to detect the peers. After they find each other, they can chat...

Does using bonjour on the iphone enable bluetooth automatically?

Hi, I am planning to a peer to peer app using bonjour for the iphone. There will be no wifi available and hence am relying on bluetooth. I know bonjour based services works over bluetooth in the abscense of wifi. My question is, will bluetooth on the phone automatically become enabled when I launch the bonjour service or try to do dis...

Problem with recieving data from socket after losing WiFi network

Hello, I have client/server application. Client on iPhone, server on Windows based machine. First, i establish connection to my server and that is works fine. When I go away from WiFi area - client disconnects (is's expected). But, when I enter into WiFi area again and tried connect to server, connection is established but client doesn'...

How and what to set to Android WifiConfiguration.preSharedKey to connect to the WPA2 PSK WiFi network

In Android 1.5 (also on 1.6) How to add an Access Point from code? Given Access point that supports WPA2. Here is my code snippet. WifiManager wifi = (WifiManager) getSystemService(Context.WIFI_SERVICE); WifiConfiguration wc = new WifiConfiguration(); // This is must be quoted according to the documentation // http://developer.androi...

How does the iPhone learn new WiFi locations in terms of using them for location estimates

I know the iPhone can and does use WiFi proximity to get approximate location. This obviously only can occur when some database in the sky knows the approximate location of that WiFi hotspot. My question is how do hotspots get into that db? Is it automatically added whenever the iPhone has a reasonably accurate GPS position and detects t...

local vs remote socket connections on iphone

I want to send OSC messages from iphone to another programme (max/msp) by creating and connecting to a udp socket. this works from the iphone simulator, i.e. when both apps are running on the same computer but not when i install the app on the phone itself. I think the problem could be with specifying the IP of the remote computer. I am...

Android - Passing changing data from BroadcastReciever to another Object?

I have a Wifi class that has a couple of broadcast receivers that listen out for changes in Wifi connection state, Wifi Rssi levels etc... I want to be able to pass this data to another "Engine" Object and still keep the data changing dynamically. I currently create a Wifi object within the "Engine" class and run its methods, the data ...

Need to control some device via Wi-Fi using C#

I am working on an application that needs to control another device. This control should be using Wi-Fi. How can this be done in C#? Important to know that the other device I want to make it. I can afford the part of making and design but how to make it connect to PC using Wi-Fi? I don't know about it. I just need a key to start se...

iPhone cellular and WLAN and wifi availabilty test

I want to get the status (only once) of the cell connection and the network connection. I don't want the overhead of actually making the network request as my app is not going to use services. Basically I just want to know what the two icons in the uper left are saying. All possible states for cell/network are: cell/3g cell/edge cel...

How to use only my access point

Hi! Is there a way to force all my requests to be made through my APN and not through wifi, without having to disable wifi? I want to know if it is possible for my application to use exclusively the network access point. I'm already able to set the default network APN and to use it but for this I have to disable the Wifi first. T...

About Geolocation in HTML 5

Google Maps can now pinpoint my location with street precision with the help of Firefox. I understand this is a new feature of HTML 5 compatible browsers and that the location is fetched by using some sort of feature of the connected WiFi network (I hope I'm not making any silly assumptions). What I intend to know is how this whole pro...

Does Bonjour networking work on ppc running 10.4?

Hi, I developed an application for Mac 10.5 desktop which communicates with iPhone over wifi using Bonjour service, and it is working fine on Mac 10.5 and able to do required syncing with iPhone over wifi using bonjour. But same desktop app (although I recompiled for ppc 10.4 and there were some changes in coding like @property needed...

iPhone, I can send accelerometer data via wifi only 248 lines

I have created one application on iPhone. I build an application that gather accelerometer value and pass this value to c# server in realtime via wifi connection. I use NSStream with IP and port number. I was working perfectly, but now I realize that it stops after fetch value only 248 lines. I tried to write this value in text file l...

GKSession - what if I have Bluetooth and Wi-Fi turned off?

I'm working on an iPhone app that will allow for peer-to-peer connections. From what I understand, I have the choice between using GKPeerPicker or the GKSession. I don't like the idea of using the PeerPicker because I want to show a custom interface, so I decided to go with GKSession, and hey, BONUS is that it also works over Wi-Fi, wher...

Reverse proxy Google App Engine and Google Accounts authentication.

I have requirements to run a "walled garden" wifi portal page that should be hosted on App Engine. Unfortunately, the captive portal software can only whitelist by IP, requiring that we setup a nginx server that reverse proxies to appname.appspot.com. The app also has authentication via Google Accounts. What is the best way to handle ...

How to invoke system dialog for "Connect to" secured network?

My application needs to establish a new Wi-Fi connection to a secured network. The catch is that the application does not know the password/key/passphrase or whatever it is called for WEP/WPA. And it should not know! In such case, I would like my application to invoke the system "Connect to" dialog. Only the system WifiManager should r...

How to get SSID and RSSI for Win7 using C#

I am very new to Win7 and WMI. Please advice me where to see for active access point from WiFi and how to get ssid/rssi for each access point. I have use: ManagementClass mc = new ManagementClass("root\\WMI", "MSNdis_80211_ServiceSetIdentifier", null); ManagementObjectSearcher searcher1 = new ManagementObjectSearcher(@"root\w...

iPhone: How to detect and connect to a Wifi network programmatically using Apple SDK

Hi there, I wonder how can I detect and make a connection to a Wifi network programmatically just like the WifiFoFum app does in Apple Store. This app has been approved and recently updated so there must be a legal way of doing it. If anybody knows any way of doing it please post a code snippet... even if it is an undocumented API call a...