What thing I can get from iPhone when you are developer - iphone

I want develop application for read user information on iPhone
IP Address/ Wi-Fi Address
Network
Version
Serial Number
Latitude (map)
Longitude (map)
what kind of these thing I can read or it can't, please suggest me in your opinion.
Thanks.

You can retrieve all of those.

Related

How to send Contacts from iphone to MFI device using bluetooth?

How would I sync the contacts to MFi device so that it can be displayed on the device using Phone Book Access Profile (PBAP).I am able to get the contacts from address book. I would like to know is there any alternative to this? How to initiate Phone book request from the device and how do I transfer it to MFi device.Please let me know any examples to sync the contacts using Bluetooth or any pointers to accomplish the task.'MFi' device supports Serial Port Profile (SPP). I would like to sync the contacts in the delegate method mentioned below, but I am not sure how to start this. Any pointers to accomplish this.
- (void)accessoryDidDisconnect:(EAAccessory *)accessory
what kind of bluetooth device? If you are making your own it must be Bluetooth 4.0. Low Energy. Then you can transfer any data using Core Bluetooth.
You must then define your own Service UUID, your own Characteristic UUID.
Search for devices (with your Service UUID for instance or 'nil' for all)
Connect
Find Services
Find Characteristics for each service
Now you can use GATT profile access to transfer data in whatever format you want. It can be the data from the phonebook if your bluetooth low energy device know how to decode that. Maybe you want to make your own format...
If you don't want to do this then you must join the MFI program to get the documentation.
Also you should really go to iTunes, then find the WWDC 2012 Session Videos. There are several which can explain stuff for you.
Session 701 is great about IOS Accessories
Session 703 about Core Bluetooth
Session 705 about Advanced Core Bluetooth
BR
Henrik

Is the iphones mac address static? Looking for a way to identify which user is online

I am building an app where I do not want a loginsystem. I still want to be able to know what user is sending information to my online database. As far as I know, the UDID is not allowed to upload to any servers, so that is out of the question. Can I use the iphones mac address for this? If it is dynamic, it will change from time to time, and I won't be able to track it.
We use the MAC address as a unique identifier now the UDID has been deprecated.
MAC addresses are hardware based and therefore cannot be changed.

Get location of iPhone via GPS/IP

Im working on a application for which I need to decide in which country the user is. Which is the most accurate way to do this?
Should I use GPS or IP-adress?
What would be the pros/cons with each method?
I would use Apple's location services, which use several technologies (cell towers, WiFi hotspots, GPS, etc.) to determine their location. You can then find the country quite easily with a lookup of the GPS coordinates. I think this would be more accurate than by-IP lookups.
Its probably easier if you go via ip address and use a geo ip lookup service.
For GPS the GPS unit needs to be turned on. I guess lots of people disable it for energy saving. If you just turn on GPS for your check the user needs to get a gps fix first which can be time consuming as well.

Scanning wifi getting the power

I know this is an asked question, but I coudn't get an answer...
I want to scan the wifi stations around me, getting the power of them. It is not for upload it to the appstore, so I don't care about private things.
Apple iOS SDK does not contain interface to get the signal strength information of Wi-Fi OFFICIALLY.
Here is a related SO question: Accessing iPhone WiFi Information via SDK

how to find location using wifi in iphone

In my app, I am trying to figure out the location of my app user using WiFi (not GPS because my main area is inside the buildings), can any one please tell me how can I get user location using hotspot of WiFi.
Any basic guide or example is good .
Thanks in advance.
egards
Use Core Location. The Core Location framework hides the actual device capability from you (more or less) and (depending on the options you set) give you a best estimate for latitude and longitude. I've used the exact same app on an iPhone and iPod touch and have gotten pretty good results with the touch. It won't be as accurate, but it's good enough for most applications.
Check out the Core Location documentation and the "LocateMe" sample code from the developer site: https://developer.apple.com/library/ios/#samplecode/LocateMe/Introduction/Intro.html
Unless you mean to figure out the location of your user in a specific building with known Wi-Fi spots, you'll have to resort to using a IP address geolocation database. There are services, such as that provided by MaxMind, that have a database which you subscribe to for updates. The database maps IP addresses to locations.
This will only get you approximations, so your best bet is to use GPS primarily but IP address as a backup.