setting info.plist properties for GPS location based app - iphone

I am doing one GPS location based app. It is a kind of GPS alarm app. For that what are the properties should I include under 'Required device cababilities' in info.plist file? Should we include both 'gps' and 'location-services'? I am having one iPad... If I include 'gps', my app is not installing on that. If I include both, what are devices my app could be installed? Please help me. Thanks in advance.

Standard location services are available in all versions of iOS 2.0 or higher. Since all iOS (iPhone/iPod Touch/iPad) device have Wi-Fi radio, your application can be installed on those device.
For example: since iPod touch only uses Wi-Fi for Location Services if a Wi-Fi network is available. This means if your application is running with Wi-Fi off, it just won't receive any data. And on iOS 4.0 or higher, the user can disable location services for your application.
If you want gps accuracy, will only install on iPhone and iPad Wi-Fi + 3G only, i.e . devices with cellular radio. It's not available on original iPhone or iPad Wi-Fi.

Related

iPhone hm-10 communication. the ble device isn't listed in iPhone

Hello all am trying to pair HM-10 ble Module with an iPhone but the ble device isn't listed in iPhone while searching . but while trying on an android device i can pair and communicate withe module . anyone please help me whether anything i should do before trying to pair with iPhone
You don't pair BLE devices like a HM-10 with an iOS device in settings. In your app you can use Core Bluetooth to discover and connect to the device. If you want a quick test you can use the free LightBlue Explorer App

App submission: iTunes Connect Device Family

So I submitted the binary for my app and realised the device family (on the binary details page) is set to: iPhone / iPod Touch
I can't remember where I set this, but at the time I didn't want my app available on iPad. Now I realise I may aswell let iPad users play it, how do I change this setting so that iPad users can download it aswell?
Maybe it was set when I created the app on iTunes connect itself :/
iPad users can always run an iPhone/iPod touch app, no matter what you choose. The device family indicates whether it is iPad only, optimized for iPhone/iPod touch (i.e. will run in the iPhone-in-iPad environment on an iPad), or universal (i.e. contains UI for both classes of devices).

iPhone, iTouch, iPad Bluetooth Connection to Generic Bluetooth Device

Trying to get iPhone / iPad / iPod Touch to connect to a generic Bluetooth Device.
Works for Windows 7 Bluetooth / Android Bluetooth / Mac Laptop Bluetooth, but does not seem to work with any of the Apple iOS devices.
I assume that this is an Apple decision to limit the user of Bluetooth Devices to only the devices that they seem "correct". So just want to make sure this is the case.
What is the generic bluetooth device ? and what bluetooth profile does it use ?
Devices connect only with compatible devices which have the compatible profile, not all devices support all profiles.
In Addition with iOS if you are using SPP there is additional requirement to develop as per the Apple MFi guidelines.
If you have a Bluetooth 4.0 Low Energy device, you can do it using the new Core Bluetooth framework (assuming you have an iPhone 4S). Otherwise, as noted, only approved devices will connect.

How to indicate the ios app must be installed on iphone ,not ipod and not ipad

I want to develope an app which only work on iphone,not ipad and not ipod.How I should indicate this case in info.plist or xcode project setting?
Under target device family in xcode project but you cannot avoid iPod devices.
If you require specific hardware features such as a camera or 3g, you can add the requirement to the info.plist for the app, however, the app will still run in devices such as the ipad (at iPhone 1x resolution) if the iPad has the appropriate hardware.
http://developer.apple.com/library/ios/documentation/iphone/conceptual/iphoneosprogrammingguide/BuildTimeConfiguration/BuildTimeConfiguration.html#//apple_ref/doc/uid/TP40007072-CH7-SW10
The short answer is "you can't."
What you can do is specify specific bits of hardware that you need to operate, for example a camera or new enough 3G graphics capabilities. You use the UIRequiredDeviceCapabilities flag in the apps Info.plist. More in the documentation here.

Iphone Bluetooth device name

im using iphone sdk 3.1.2
Does anyone know how to programatically obtain the name of a Bluetooth device
that is connected to the iphone. I am using Bluetooth in my app and want to
display the name of the paired device ie if it was a Nokia BH-200 i can display this.
Thanks
Check out the document External Accessory Framework Reference. That might allow you to do something but you'll have to play with it to see what values you can get from it. Let me know if it works.
Your Nokia BH-200 is not a MFi verified accessory. It is only connected as A2DP/AVRCP/HFP/HSP. These are not related to MFi accessory communication. And iOS app cannot communicate with this pure Bluetooth device. It's not the problem of External Accessory Framework.