Hi,
I am working on NFC in Android Lollipop 5.0.0. My team has successfully made the NFC working in kernel level. We had used PN71x0 Linux Software Stack Integration Guidelines document from NXP for this. I followed the NFC Android Porting Guidelines from the link nxpnfc_android_lollipop/AN11690 - NXPNCI Android Porting Guidelines.pdf at master · NXPNFCLinux/nxpn... to make the NFC working in Android level. But the NFC option is missing under Settings-> more. I have added nfc under required_hardware.xml file and also other changes as per the above document. Is there anyway to enable the NFC option in UI ? . I am not able to get any NFC related logs too except one saying " Could not retrieve NFC service".
I request for support to make the NFC working in Android lollipop.
Hello Anjalik
You need to rebuild android so the api changes take effect with the following command:
make update-api
This is after you download the local manifest and run the installation scripts and patches.
Were you able to add the NFC driver?
Hi SergioSolis,
Thanks for the reply.
I am able to add the NFC driver and it is working with the PN7120 NFC
Chip connected to our embedded board. The node is being detected too.
I was expecting that the Android Porting Guidelines document from NXP
was sufficient to make the NFC working.
So from your reply I can understand that the NXP supporting APIs are
missing in my AOSP code (Correct me if I am wrong)
The Android source Lollipop source code downloaded by our team has
removed the ./repo/ folder completely and ported the source code so that
it boots for our custom board.
So will the NFC API's will be added to the Android framework with "make
update-api" command ?
Or do I need to go for a repo sync of the whole Android Lollipop git
source code for making NFC possible?
Awaiting your valuable suggestions.
Thanks & Regards,
Anjali
On 10.08.2016 11:43, SergioSolis wrote:
NXP COMMUNITY
NXP SUPPORT IN ANDROID LOLLIPOP 5.0.0
reply from SergioSolis in i.MX Community - View the full discussion