T tiziana.tinnirello Member Licensed User Longtime User Aug 12, 2020 #1 Is possible to use NFC without adding activity, handling tag with B4xPage Module? Tried, but is created new activity
Is possible to use NFC without adding activity, handling tag with B4xPage Module? Tried, but is created new activity
Erel B4X founder Staff member Licensed User Longtime User Aug 12, 2020 #2 Can you upload the project? Upvote 0
T tiziana.tinnirello Member Licensed User Longtime User Aug 12, 2020 #3 Erel said: Can you upload the project? Click to expand... It is too large and, in any case, I think it is not necessary. AddActivityText in manifest start an activity on android.nfc.action.NDEF_DISCOVERED. The Question is: is possible to manage NFC result without starting an activity? Upvote 0
Erel said: Can you upload the project? Click to expand... It is too large and, in any case, I think it is not necessary. AddActivityText in manifest start an activity on android.nfc.action.NDEF_DISCOVERED. The Question is: is possible to manage NFC result without starting an activity?
josejad Expert Licensed User Longtime User Aug 12, 2020 #4 I'm just starting with B4XPages, but it's probably related to something like this? Erel said: Don't try to access B4XPages from FirebaseMessaging service. B4XPages can only be created after the main activity was created. Click to expand... Upvote 0
I'm just starting with B4XPages, but it's probably related to something like this? Erel said: Don't try to access B4XPages from FirebaseMessaging service. B4XPages can only be created after the main activity was created. Click to expand...
T tiziana.tinnirello Member Licensed User Longtime User Aug 12, 2020 #5 The problem starts in the manifest file which starts an activity when it receives an NFC event. I was wondering if there was a chance to avoid starting an activity, by viewing a B4xPage Upvote 0
The problem starts in the manifest file which starts an activity when it receives an NFC event. I was wondering if there was a chance to avoid starting an activity, by viewing a B4xPage
Erel B4X founder Staff member Licensed User Longtime User Aug 12, 2020 #6 It shouldn't be a problem. Start the main activity and get the intent in the B4XPage as demonstrated here: [B4X] [B4XPages] Intent based camera Upvote 0
It shouldn't be a problem. Start the main activity and get the intent in the B4XPage as demonstrated here: [B4X] [B4XPages] Intent based camera