While developing and servicing apps, there was development related to NFC.
In development, there is no problem getting the status value (on/off) of NFC.
I would like to ask if there is no way to know the current status other than registering and loading the broadcast when converting as a way to distinguish between p2p and card mode.
Most say do not, but Samsung Pay's card mode is recognized as having nfc turned on.
I want to ask if there is no way.
thank you
※ It can be awkward because it was written with a translator.
Related
We were thinking of an automated user check-in for a loyalty program base on beacon proximity. Even though we feel this creates a friction-less user experience (without needing to identify yourself with a card or phone number or name), but we are very concerned of user adoption as research showed there are only 33% of the smartphone users turning on their bluetooth.
My questions:
Is there a way for mobile app (iOS and Android) to still read the beacon broadcast in the background even though Bluetooth is off ?
Is there any other alternative solution other than using beacon proximity to achieve this user experience? NFC or QR code requires user action which we try to avoid.
Thanks!
No, you cannot detect bluetooth beacons if bluetooth is turned off. However, you can detect that bluetooth is off and prompt the user to turn it on.
I'd like to use android's bluetooth for some kind of sensing devices. But I don't want to connect to these devices. As far as I know Devices won't react to scanning when their own bluetooth is disabled. But is there any way to get my app noticed when such a scan has been performed by a remote device, even when my app is running with bluetooth turned off?
I don't want to force toggling bluetooth on, but I need to get some kind of Action started in other devices running the same app. So I'm wondering if some there is any description/data field that can be sent with a bluetooth scan, so if scan is rejected the app has the opportunity to read that data just to know there was this specific call?
I need to leverage context-awareness within my system as to users, not knowing each other, still can interchange content (if they agree). But I need to find some ways of sensing while I also don't want to have all sensors activated all the time.
Hope you can give me a hint, or tell me that this is simply not possible, which would also help me not spending any more time on that.
Thanks.
I am developing an application that makes use of NFC tags,
Is there a way to detect if the device it is running on has NFC ? and if it does not then i can display an alternative like possibly manually entering in the data rather than swiping the phone over the NFC tag?
If the phone has got the nfc feature then i would obviously ask them to turn it on if its currently disabled and then prompt them to swipe the tag.
Use the PackageManager :
getPackageManager().hasSystemFeature(PackageManager.FEATURE_NFC)
Is it possible for an Android application to send a previously stored RFID card ID to a NFC reader? The aim would be to use an Android device to enable access to a room instead of a physical RFID card.
Having read a lot of other threads about NFC/RFID & card-emulation, I came to the conclusion it was not available for now in Android but I'm still kinda confused if it apply to this particular case. Can't the application simply send the card ID within a NDEF message or an APDU command or I'm just completely dreaming?
Well, strictly speaking. For what you want to do you don't need card emulation. You just need to send a token to the door lock that can be validated.
You could do this with Android beam by pushing an NDEF message to a device that is compatible, SNEP is the protocol you'll be looking for.
A solution I would prefer would be to get the door lock device to emulate a tag. Then you could have your Android app register a listener for that tag (Doesn't even need to be running). When the tag is detected that app will fire up and send your secure token to the lock by using the tag write NFC functions in the Android SDK.
Securing your token is another matter.
The android view:
Long story short: It's not possible.
Long story long:
It would be possible from a hardware and software point of view to do this. The NFC chips are perfectly capable to emulate most (not all) standard tags. The functionality to do this is even built in the lower level software but not exposed to applications.
Why: Emulating tags is what the entire mobile payment infrastructure is built upon. Allowing two card emulations of the same type at once is for most NFC chips not possible and will also shut off mobile payment as mobile payment readers only accept a single tag at once (for security reasons).
Things are a bit different for RIM based Blackberry phones, they allow card emulations (even have this feature out of the box) but they don't do any mobile payment at the moment as far as I know.
It is possible?
I state that NFC is enabled on my phone and everything looks correct
I tried with an app called NFC TagWriter by NXP but don't work.
I create a tag with this app and then I tried to listen with other device but don't work, then I installed same app on the other device but don't work.
Please help me or suggested to me another way to do(share tag NFC).
THANKS!
The Android Beam™ feature allows a device to push an NDEF message onto another device by physically tapping the devices together. This interaction provides an easier way to send data than other wireless technologies like Bluetooth, because with NFC, no manual device discovery or pairing is required. The connection is automatically started when two devices come into range. Android Beam is available through a set of NFC APIs, so any application can transmit information between devices. For example, the Contacts, Browser, and YouTube applications use Android Beam to share contacts, web pages, and videos with other devices.
Reference from Developer Documentation
Also check this for Blog , it explains how to communicate between devices.
You can have (indepedent) p2p communication in 2 directions, and enableForegroundNdefPush is deprecated now; please, use setNdefPushMessage