Android Question [SOLVED] Cannot use NFC library

adrianstanescu85

Active Member
Licensed User
Longtime User
Hello

I've long developed a B4A app that uses the NFC library and for some time I haven't made any changes to the code. Now, I tried to update a few lines not related to NFC, but right after I started loading the project I noticed an error when debugging that only relates to

Dim NFC1 as NFC

which generates a neverending "Cannot access activity object from sub Process_Globals" error.

The same happens when I use other NFC projects that I've downloaded from the forum as starter projects.

Any idea why, or how can this be fixed?

Thank you!
Adrian
 

adrianstanescu85

Active Member
Licensed User
Longtime User
It seems that it was previously declared under Process_Globals instead of Globals. It worked but the new requirements over this changed, so it's now fixed.
 
Upvote 0
Top