Reply To: How to use Taplinx in more than one activity?

Forum MIFARE SDK How to use Taplinx in more than one activity? Reply To: How to use Taplinx in more than one activity?

Re: How to use Taplinx in more than one activity?

4. May 2017 at 11:11
Hi Francisco,

In Android all NFC request are handled first internally. Android check which kind of NFC message is pending and send the intent to the foreground app, if this app has registered as NFC receiver of this kind of message. If no app is found, Android ask the user with an app selector dialog which app should be started.

Of course you can have several activities in your app. I prefer a design where my main activity handle this system messages and send—if necessary—the appropriate message to one of my internal activities. In a multi-activity design you have an internal communication system anyway.

The TapLinx team
+ 0  |  - 0