Is it possible to transfer data through NFC from Iphone to Android? - iphone

I'm thinking on developing a web-app using PhoneGap to transfer data from one platform to the other. As I understand NFC core for iphone lets you read tags but is there any way for it to transfer and receive data from an Android device?

Related

How to exchange data and files between two devices by NFC using Flutter?

I am a flutter developer, I want to make an application to exchange messages and files by using NFC technique
I used nfc_in_flutter plugin for reading and writing NFC tags but I don't know how to send and receive data and files between devices by using NFC in flutter.
Could any one help me, please?
Generally you don't try and send data between 2 devices using NFC, there is a standard for it, but most devices don't support it (it has never been supported on iOS and Android has dropped support for it as it was unreliable)
Use Bluetooth or Wifi Direct instead.
Update:
If you have to use NFC then the nfc_in_flutter plugin is no use, you are going to have to call native code for each platform yourself / write your own plugin.
And for 2 iOS devices, then forget it, just not possible because of what the OS supports.
When one device is an Android there is a complicated method that some people have had some success with but it still has it's issue.
The Android device does Host Card Emulation (HCE) and pretends to be a really Type 4 NFC tag, then other devices can read/write to it as if it were a real Tag which both iOS and Android Support. BUT on older Android devices then the deprecated Android Beam might get in the way and you would need to use enableReaderMode to do the read/write on Android.
You will need to put in a lot of error handle in the read/write App as NFC comms is very slow and very prone to loosing the connection, so it would have to handle loosing the connection and restarting where it last successful read from/written to.
All these problems make this extremely difficult to achieve a workable solution and was the main reason Google removed Android Beam for Android to Android sharing (which does use a NFC peer to peer protocol)

PhoneGap CRUD examples

Im new to iPhone development and I find PhoneGap suitable for me for i am a web developer. I'm into practicing database using SQL. because of HTML5 support built into safari browser they support database natively into the browser.
I wonder if theres a good example that is easy to follow of using CRUD into SQL database in iPhone.
After reading your question, I think some points need to be explain:
phonegap
Official documentation & description can be found on : OfficialWebSite
Phonegap is an open source framework / tool to develop cross mobile application. It allows to create mobile applications using only web technologies like html, css, javascript (ajax philosophy mostly used) and get access to APIs & app store.
It provides a wrapper for javascript to access to core mobile technologies like sensor or gps...
You write your web application with phonegap functionnality, and after compilation for each plateform you obtain an native application (webview inside the application runs the application...)
To write the application, you can take advantage of HTML 5, javasvript
The obtained app can be deployed on the application store.
actual supported plateform iPhone, Android, Blackberry, webOS, Symbian and Bada
html5 & storage
One of the functionnality introduced by html 5 is the local storage which permits to manage local storage in your browser with a key-value approach. it could be considered as a super cookie (too much resteictive) and permits to speed up treatment or have an off line access to the application.
Refence
good introduction
for example:
you can write a rss reader which download the news locally and store them tx to local storage. next lanch you just have to do the rotation with old news and if phone is out of network it works always but no update...
CRUD
the html 5 storage could be manipulated with javascript
manipulation sample

Can you access the address book using CS5 when building an iPhone application?

I would like to develop a simple contact list iPhone application in Flash CS5.
I'm a web developer, and I have no experience with iPhone yet.
How can I save the data of contacts? As I know, flash just post the data to a page, but what page, if it is an app?
It's a off-line app, where the database should be?
Flash CS5 Packager for iPhone doesn't support the Address Book Framework on iOS. The Packager for iPhone only support the following native iOS API:
MultiTouch
Screen Orientation
Saving images to Photo Library
Accelerometer
Geo-location
Cut / Copy / Paste

iphone data synchronization

I'm new to iphone development. I currently have an app on windows mobile that uses a local database on the device (sqlce) and the app is able to synchronize the data between the device and a remote database through a web service using microsoft sync framework.
Is this requirement feasible on an iphone app? Id like to build a version of my app on the iphone. I see that the iphone can use sqlite for storage on the device.
But does the sdk have something for data synchronization?
No, you have to use JSON or XML to get the data from your remote server via a NSURLConnection and write the code to synchronise the sqlite db on the iPhone. There are plenty of JSON frameworks for the iphone and for the XML route you can use NSXMLParser.

What are the limitations of coding web apps for the iPhone?

For instance, could a web app access the mic on an iPhone and transmit voice back to a server?
Or is it possible to build Safari extensions for the iPhone that can operate transparently on a web page? For instance, is it possible to build an extension that removed ads from Google result pages for the iPhone, without the user clicking any buttons to activate the ad-removal functionality?
You pretty much hit the main limitations.
You have no access to hardware that's not supported by HTML5 (geolocation is, but things such as acceleration and audio/video recording are not).
You can't build Safari extensions for the iPhone at this time, you can only use JavaScript like usual.
Some frameworks like PhoneGap make attempts to provide more hardware features via a native app container, but it appears Apple is trying to prevent those apps from going on the App Store, to some extent.