Reply To: What does registerActivity do?

Forum MIFARE general topics and applications What does registerActivity do? Reply To: What does registerActivity do?

Re: What does registerActivity do?

15. December 2016 at 8:57
Hi Francisco,

It seems that your app registration is disordered (be careful, this has nothing to do with the registerActivity() method in TapLinx!). I am talking about activity life cycle states of Android which are reflect the calls onCreate(), onPause() on Resume() etc. It seems that you try to call startForeGroundDispatch() in any other method, but not in onResume(). Please take in mind that this methods can only be used in the main UI thread!

I am quite sure that the issue has nothing to do with TapLinx. You should check out one of the examples and put the changes step by step into your app.

Regards,
The TapLinx Team
+ 0  |  - 0