Android Question biometric library error

Alberto Michelis

Well-Known Member
Licensed User
Longtime User
Using the lib and example of : https://www.b4x.com/android/forum/threads/biometricmanager-biometric-authentication.111256/
b4a 10.7 install from scratch, last SKD and so on...
Running on a S7
Pressing the Authenticate button...
Im getting the following error

How to solve this?
Thanks
 

Sagenut

Expert
Licensed User
Longtime User
Did you took the last example?
I removed one that was wrong.
 
Upvote 0

LucaMs

Expert
Licensed User
Longtime User
As predicted I made something wrong.
The solution was to add
B4X:
#Extends: android.support.v7.app.AppCompatActivity
even to the second Activity.
I found this right now:
The #Extends attribute allows you to change the parent class. The default value is Activity.

I thought that all the attributes (#) had "effect" at project level and therefore should always be written only in the Main.

Evidently it's not true (I also found a thread about services).
 
Upvote 0

Alberto Michelis

Well-Known Member
Licensed User
Longtime User
This is weird but I had to add
#Extends: android.support.v7.app.AppCompatActivity
to all my modules because I realized that the activity title did not show
I think it is from the moment Ive add this to Main, dont know...
 
Upvote 0

Alberto Michelis

Well-Known Member
Licensed User
Longtime User
In my B4A 10.7 they are called Modules.
know nothing about B4XPages, need to study that.
this app is a really big one
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…