Change wifi connection from xcode on Ipad - objective-c

I am new to ipad app development, is it feasible that i can change switch from WiFi to 3G or to another WiFi from xcode on Ipad.
If not switching then atleast launching Settings for Internet on Ipad with all configurations preset is possible ?

Related

Check iPod Touch hardware performance programatically

I stuck with a weird problem . I am having two iPod touch devices for testing purpose both are having same platform i.e. iPod touch 4G but different performance in terms of speed.
To check device platform i have used following link : Determine device (iPhone, iPod Touch) with iPhone SDK
My app is working perfectly for both the iPod touch but for one iPod touch it is crashing because of device performance issue. I want to distinguish between iPod Touch device of same platform but different performance so that I can make changes to my app as per device performance.
Is there any way to check iPod Touch device
hardware performance programatically.
Thanking you in advance..

Mac to iPhone App Communication over WiFi

I am new to developing for the iPhone and would love some advice on an app i'm trying to develop.
Is it possible to send commands to an app on iOS 3.2 from OS X using AppleScript. The iOS app will display an image and run a small script when it recieves the appropriate command from the client software running on a Mac Mini. The devices would communicate over an a closed WiFi network.
Before I continue down this path does anyone have any advice on how to setup the communication (i.e. get the app to run in the background and listen on a designated port).
I don't know the full process but I know that various apps do this one way or another, such as 1password and desktop remote mouse apps. I think that CocoaAsyncSocket will help. An alternative to having the iOS app listening on a socket is to open a connection from iOS to OS X and then persist it. You can then send data either way through the connection.

How to force iPad to initiate wifi connection?

After restarting my iPad it does not automatically connect to wifi. If I open Safari or Pandora or something else then it will connect to wifi. If I open the app I'm developing (which uses the network, e.g. by loading a web page in a UIWebView on the main screen) it doesn't connect to wifi. How do I force the iPad to make a wifi connection like it does with other apps?
I think you should use the property in the info.plist - Application uses Wi-fi.

Printing the data

i am developing an ipad app where i need to print to a bluetooth printer. The printer does not have any other mechanism like wi-fi , it only has bluetooth.
i guess the ipads dont have bluetooth. it only has wi-fi. is there an app which prints to bluetooth printers?
Can ios4.2 detect bluetooth enabled printers?
Thanks in advance.
The iPad has bluetooth, however, AirPrint currently only works via WiFi.

Objective c iPhone app and Mac app communication

Is this possible?
I want to be able to press a button on the iPhone app and something happens to the Mac app. Maybe via 3G and wifi.
Any ideas?
Yes, both Mac OS and iOS support numerous network APIs, including CFNetwork. You could use Bonjour to let the iPhone discover the Mac (or vice versa).