Can you test iphone apps with xcode using wifi? - iphone

I want to be able to test my app while walking around my house, wirelessly. Can you connect the iphone to xcode thru wifi?

No. To load and debug you must use the USB interface.

Related

How to switch between wi-fi networks at runtime (programmatically) in iPhone app

Is it possible to switch between WiFi networks in an iPhone App programmatically? At time of app execution if one network goes down but that is still connected and I want to switch to another wi-fi network. Is this possible?
Your iPhone app shouldn't manage wifi networks. If it does, it won't get approved by Apple to be put in the App Store. The iPhone itself manages wifi connections, not a third-party app.
If you are developing for a jailbroken iphone, you can develop a MobileSubstrate extension/ Tweak with Theos and hook into the SpringBoard Application. The SBWiFiManager interface is part of SpringBoard app and has a lot of useful methods that should help you with controlling WiFi.
There is no iOS API for this, but there can be some possible solutions, like make it available on Cydia for jailbroken devices. AirServer just did this.

Remote acsess to mac pc via iphone using iOS 4.0

Using Ios 4.0
I want to build a project throw which we can remote access other i phone through one.Is it possible in any cases, its totally idea in dreams i don't know whether it is visible or not.
I haven't s
Thanks.
There are applications that allow mac/windows desktop sharing from an iphone/ipad (example RemotePC, Splashtop). And there are applications which allow you to access the iPhone screen from a desktop (Veency VNC). Hence accessing iPhone from another also should be possible.
You can also check out Game Kit for connecting iOS devices

iphone blutooth device connection

I have an app which has to connect to a medical bluetooth device to get data from that device. (Not to any iOS device).
Using which framework or class I can connect and receive data from?
Thanks.
After you get an MFi license, you then have to have an Apple supplied authentication chip on the bluetooth device. You must create custom protocols to transfer the data.
The BT on iOS is locked down and you can only access simple AVRCP events inside an app, no data transfer is allowed, except using GameKit (which only works between iOS devices).
UPDATE:
If you are using a BLE device then you can checkout this, it is iOS 5 only though.
http://developer.apple.com/library/ios/#documentation/CoreBluetooth/Reference/CoreBluetooth_Framework/_index.html
Are you planning to develop this app with a jailbreak device?
If not, you have to enroll the MFI(Made For iPhone) program, then you can define your custom protocol and use the ExternalAccessory framework to communicate with your device.
If yes, take a look at Btstack project.

Deploy app to iPhone wirelessly?

I remember hearing about how Apple was going to include the ability to deploy an app from Xcode to your iPhone wirelessly in the 3.1 SDK. I believe it was to aid developers that wanted to deploy/test apps that used peripherals that plugged into the iphone's docking port- this way, they could deploy a build of the app with their peripheral device still plugged in.
Has anyone done this, or have a clue as to how to do this? Is it done via wifi network, via a direct bluetooth connection to the mac...?
I believe you can't deploy, but you can use Instruments over Wifi to performance tune your app.
You still need to use USB to allow for Xcode to install and debug your app.

Transferring data from iPhone to Mac via Bluetooth

Is there any way built into the iPhone SDK that allows devices to send data to a Mac over bluetooth? I know of GameKit, which allows data sharing between iPhones, but I haven't seen anything about an iPhone --> computer connection.
Thanks
I've not seen this but I've seen several apps that open up a server port on the iphone that you can hit over http.
It's not possible to send files with the iPhone.
You need to jailbreak the iPhone to do that.