Viewing 2 posts - 1 through 2 (of 2 total)
Viewing 2 posts - 1 through 2 (of 2 total)
You must be logged in to reply to this topic.
Home › Forums › Ask the Flomies › Android SDK "Intents"
Tagged: FloJack Android SDK
Hi Guys,
I’m writing an app that already works on the Google Nexus devices that have NFC but I want it to support cheaper non-NFC phones using the same android API.
I’m wondering if this device can be used as a “drop in replacement” for Android phones that do not have NFC so that they can work with the same Android SDK calls and intent callbacks that work with phones that already support NFC.
Is this possible? Thanks in advance.
Chris
Hi Chris, what you’re suggesting is indeed possible and what we’re looking to achieve. Our Android SDK is open sourced on GitHub and available for you to fork if you’d like to help out. The two lines of code below show you how the NFC intent is currently generated.
FJNFCService.java@L523 – This is where the Audio service detects the scan from the FloJack
MainActivity.java@L56 – This is the Main Activity in the FloJackExample sample application that catches the intent and renders it to the UI.
You must be logged in to reply to this topic.