Is it possible to transfer data between two iPhones using NFC? I'm working on an app that aims to exchange specific strings between two phones and would preferably use NFC. (If so, would it work for iPhone - Android connection?)
The Answer is NO.
So far apple has only allowed to read data. We cannot send any data between two iPhones or between an iPhone and a Android Device.
iOS11 seems to offer the potential to read NFC data so one-way traffic between Android and iOS appears possible.
Related
Our company developed a project keyboard using bluetooth 4.0 (BLE) to connect with iPhone. It is a HID and can send both keyboard and mouse data depending on the mode it is on. My job is to develop an iOS application to catch the data from it. In my last case, IOHIDLib in OS X platforms can do it easily, but in iOS platform i found that it is hard to get something similar with IOHIDLib. I have tried some ways.
CoreBluetooth, but this library can't communicate with HID.
BluetoothManager, but private framework is hard to maintain and it doesn't
support iOS 9.3
Gamekit, but this is only for two IOS devices.
ExternalAccessory, but our product don't have a MFi license and have no plan
to get one.
To put it simply, what I need exactly is a way or a framework allows me to read and write data with a HID through BLE in IOS platforms.
I will appreciate any help!! :目
P.S. The project keyboard works well, I can use it to type letters on my iPhone correctly.
P.S. I use Objective-c.
So I was wondering if anyone knows how I can implement NFC usage into my app. The result I want by using NFC is when someone passes an NFC sensor with their phones in their pocket for example, the action triggers a notification for example but I do not know how to add NFC to the app and how the NFC necessarily interacts with in the iOS system. Also, is the code for NFC implementation available in Swift yet or is it only in Objective C so far? Thanks a lot in advance! Thanks a lot in advance!
NFC is a very new thing for Apple, having only just added the chip to their new phones, 6 and 6 Plus. Unfortunately for you, they have made a decision to add not functionality at all in Xcode, and they have restricted NFC usage to Apple Pay only. That means trying to code a pairing system to Bluetooth speakers or a Touch ID-enabled way of exchanging contacts, URLs, and photos with a tap won’t work. However, Apple might in the future allow developing for NFC like they did with the Touch ID sensor in iOS 8. Unfortunately, for now, you won't be able to code for NFC.
Sorry to be the bearer of bad news,
Will
If you look past NFC you could get the exact functionality your looking for with iBeacon.
As far as I know it's not possible to scan for hotspots in range and read their bssid and signal strengths. This was possible on iOS 4 by using private APIs and not longer possible on iOS 5 without jailbreak. Even if it were possible, the app would be rejected on the App Store. Is that right?
One company that has an indoor positioning system is claiming they can develop this system in iOS. I know for a fact they are scanning for hotspots and signal strengths and then triangulating the signal on their current Android app.
Are there any alternatives I am missing? Their claiming sounds impossible to me but I would love to hear from the people here. I would like to be ready when they demo (although I am expecting a jailbreak or some kind of mock up)
As far as i know this can still be done (using private APIs, of course) by MobileApple80211 framework.
Stumbler code is a good source of information on how to use this framework.
For iOS 5 you'll need a jailbroken iPhone. Guvener Gokce has a very educational blog post on this: iPhone Wireless Scanner iOS5
Just to update the answer: The MobileApple80211 framework has been replaced by MobileWifi.framework. You will need a jailbroken device (supposedly it can't be done using just private API's, hence on a development/enterprise non-jailbroken device).
As far as I know it's not possible to scan for hotspots in range and read their bssid and signal strengths. This was possible on iOS 4 by using private APIs and not longer possible on iOS 5 without jailbreak. Even if it were possible, the app would be rejected on the App Store. Is that right?
One company that has an indoor positioning system is claiming they can develop this system in iOS. I know for a fact they are scanning for hotspots and signal strengths and then triangulating the signal on their current Android app.
Are there any alternatives I am missing? Their claiming sounds impossible to me but I would love to hear from the people here. I would like to be ready when they demo (although I am expecting a jailbreak or some kind of mock up)
As far as i know this can still be done (using private APIs, of course) by MobileApple80211 framework.
Stumbler code is a good source of information on how to use this framework.
For iOS 5 you'll need a jailbroken iPhone. Guvener Gokce has a very educational blog post on this: iPhone Wireless Scanner iOS5
Just to update the answer: The MobileApple80211 framework has been replaced by MobileWifi.framework. You will need a jailbroken device (supposedly it can't be done using just private API's, hence on a development/enterprise non-jailbroken device).
I am working on building or using an existing bluetooth HID device (something like this http://www.icontrolpad.com) and to get my iOS device to read the data coming from it. So i have some questions regarding this:-
Is it possible at all to do this, considering that the Bluetooth stack is not available on non jail broken devices.
Do i need to register with apples Mfi program? If i don't need to, what are the alternatives?
If i do register with Apple's Mfi program will i get access frameworks that will allow me to read data off the Bluetooth stack.
Considering that there will be a custom application sitting on the iOS device that needs to communicate with the HW im building, what are the implications w.r.t the approval of the app from Apple's side?
Thanks in advance, any help is greatly appreciated!
Core Bluetooth framework is available for Bluetooth Low Energy devices on iOS 5, no MFi membership is required.
With Made for iPhone, you basically get a serial pipe to your device using the ExternalAccesory Framework (in fact, it IS using the serial port profile plus some authentication). So you while you cannot use an actual HID device, you could send your data over.