I've got a question about iPhone developing. Is there a example code or tutorial for getting a list or maybe an array with wifi spots that where find in the current environment?
Check http://code.google.com/p/iphone-wireless/
It used to be done with private APIs, but I have seen a couple apps make it to the store that do this.
Related
Is there any way to get the quality of the signal from an iphone? I know that i can get this data from CoreTelephony framework, but it is an private framework and Not permitted such frameworks in the app store.
Someone can help me?
Thanks for all.
Best regards
You cannot currently get access to this information via a public api. Apple provides some sample code for checking if there is an internet connection and if the device is on wifi/cellular amongst other things. This is available at:
https://developer.apple.com/library/ios/samplecode/Reachability/Introduction/Intro.html
You could also try something really hacky like taking a screenshot and doing some image analysis on the top left corner of the screen to determine how many bars there are, if you're really keen..?
I want to programmatically show a list of available wifi on my iphone.
I tried to run this program but it doesn't work.
http://code.google.com/p/iphone-wireless/wiki/Stumbler
Does anyone have any tutorial or sample code about creating a list of wifi-network.
Thanks.
I think that's not possible. I didn't try it myself. But I just read the first few lines of the description of Stumbler. There's the following line:
Stumbler can not be distributed through the app store, as it uses private APIs!
So I don't think it's possible to create an application that lists all WiFis. On iPhone this is a part of the Operating System.
Sandro Meier
Is it possible to connect non iPhone device (like Blood sugar monitoring) with the iPhone to display its data.
So my First Question is:
1.Is it possible
2.If yes can you provide some links for development or Example codes.
Thanks for any kind of help in advance...
You can get the answer of your question here
P.S. The link is same as it is on the comment of the answer.. But since I didnt noticed the comment and was searching for the long time. So for the ones who havent seen Brads comment in the question. I have passed the link in answer.
Thanks
Do you want code or an application? Search for Bump on the AppStore. If you want code, I'd suggest looking at the GameKit framework however I don't know if you can use that to talk to other devices or not...
I would imagine it's definitely possible. A protocol like Bluetooth or WIFI would be device-agnostic. I guess it would depend on the device that you want to interface with your iPhone. Do you have a device in mind?
My question is simple but I haven't found a good answer anywhere. My question is this: Is there a way through either the iOS SDK or third-party frameworks to get cell tower location data? Meaning cell tower location, distance from you, etc.
The signal application for iOS does this, so I know it's possible, but I can't seem to find any documentation or resources on the matter.
Thanks!
There is no official way to do this as far as I know.
iOS SDKs abstract that info to a single and easy to use location API.
The application you link is probably using private APIs from iOS.
That means that developer is using undocumented functions from iOS.
If you really want to find more about it, you can try contacting him.
Also check this:
iOS Private API Documentation
The signal app used some private API which will lead to immediate rejection by Apple, which is why it says jailbreak device only.
Plus, you may find this post helpful: iPhone signal strength
The CellStumbler application (CellStumbler at code.google.com) uses undocumented methods in the CoreTelephony framework. There is a CellInfo struct defined which can be queried via the _CTServerConnectionCellMonitorGetCellInfo method.
However, on iPhone-4S - iOS5 the CTServerConnectionCellMonitorGetCellCount always return zero - so no cell info can be queried. Things may look different on a iPhone4/3S since Apple changed the baseband modem from Infineon Gold to Qualcomm mdm6610.
You mal also try to evaluate the built-in FieldTest app (just dial *3001#12345#* to start) which gives you a couple of info related to your cellular network status.
I'm new to iPhone programming, and I have a question about Bluetooth I can't find an answer to. I'm planning on having a number of different apps, and I want users to be able to chat with each other no matter which one they are using. I know GKSessions make Bluetooth a lot easier, but I can't find out if you can use it between different apps.
I used Wei-Meng Lee's program ( http://www.devx.com/wireless/Article/43502/1954 ), and successfully tested between different devices. I put the code into two different apps, but when the apps were built on two different devices, they both started their search protocols but couldn't find each other.
It seems like the documentation assumes the GKSessions are between the same app. Does anyone know anything about it?
when using two different apps, mayb u are using different session ids. I tried the Wei Meng Lee's code in two different apps. I too had the same problem. But it got solved when i set the session id of both the devices to 'nil'.
This is a great idea, I am also very interested in finding a way to do this. Maybe the WiTap application by apple (http://developer.apple.com/library/ios/#samplecode/WiTap/Introduction/Intro.html) could be modified to get the same result?
Tested with xcode 4.4, just create a GKSession with same SessionID, two apps can talk to each other.