i'm absolutly new to iPhone SDK Dev and therefore i want to ask you a question.
i am writing a term paper about the interfaces (WiFi, Cellular, BT, 30 pin connector) and wanted to put in some short code examples. after investigating for some examples i rememberd myself on a keynote where the presenter said, that the iPhone detects automatically which is the best connection that's usable at the moment.
My goal was give the same small example on each different interface, mybe to check if the connection is available... or to put some data from the interface on the display
My first idea was to open a webpage but i don't think you can use BT or the 30 pin to connect to the internet!
I also downloaded a few example codes but i don't have the clue about the API or the classes yet.
If nobody has an idea about the same operation for each different interface also a small "hello Interface World" would be fine!
i am gratefull for each hint or idea for my term paper. I don't think that my objective C skills and the knowledge about the SDK will be good enough till 9th of jan. where my term needs to be finished to get the idea myself.
it has wifi built right in...... no need to use bt or the dock connector.
The settings screen shows you all available networks and the strength of their signal... just like any other wifi capable device that has a screen.
it has wifi built right in...... no need to use bt or the dock connector.
The settings screen shows you all available networks and the strength of their signal... just like any other wifi capable device that has a screen.
hi,
thx but i am looking for developing hints, i know how to use my iphone! maybe some sourcecode examples
Generally, direct access to these interfaces is off-limits to official developers. You can probably find some low-level code examples on one of the *cough* jailbreak *cough* sites.
As far as choosing which is the best interface to use, take a look at Apple's "Reachability" example code. This uses the System Configuration framework to see which interfaces are active and connected to a valid network.
__________________ SimCap - Simple iPhone and iPad Simulator screen capture
Generally, direct access to these interfaces is off-limits to official developers. You can probably find some low-level code examples on one of the *cough* jailbreak *cough* sites.
As far as choosing which is the best interface to use, take a look at Apple's "Reachability" example code. This uses the System Configuration framework to see which interfaces are active and connected to a valid network.
thx that is exactly the answer i was afraid off!
so that means there is one class for connecting to the "internet" and this class "chooses" the best way to connect to the internet
therefore my idea to show how the different APIs/classes are used to access the different interfaces is nonsene