I have to develop an Android app for NFC enabled Android Devices, If both phones come close listen for the intent that tells that phones are close by due to NFC. Please suggest any solution regarding that.
Thanks in advance.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Since you didn’t give enough information to answer your question, I can only guess at what you are trying to achieve.
You can create an application on each device that will send out NDEF messages. If both phones have this application installed, your NDEF message handling
Activitywill be started via anIntentwhen another NFC enabled phone with your application running gets close.You should really read thoroughly the basic documentation provided to you at the android developer guide on NFC here.