I may well have missed exactly how to do this, and it feels like it should be easy, but I just can't make it happen...
I want to be able to generate a URL in an Android app, and share that via NFC with both Android and iPhone - the link will be to a payment gateway, so it would be great if people can just wave their phone at mine, and get the link.
However, some of the NFC examples aren't set up for B4XPages, and with the others, although I can see the tag has been written, and the other phone makes an NFC detected sort of noise, that's as far as I can get with
from the Android Beam tutorial. So, a) can this be done in a way that will launch the browser automatically on both Android and iOS, and b) what am I missing?
I want to be able to generate a URL in an Android app, and share that via NFC with both Android and iPhone - the link will be to a payment gateway, so it would be great if people can just wave their phone at mine, and get the link.
However, some of the NFC examples aren't set up for B4XPages, and with the others, although I can see the tag has been written, and the other phone makes an NFC detected sort of noise, that's as far as I can get with
B4X:
Sub nfc_CreateMessage As List
Return Array (nfc.CreateUriRecord(PaymentLink))
End Sub
from the Android Beam tutorial. So, a) can this be done in a way that will launch the browser automatically on both Android and iOS, and b) what am I missing?
Last edited: