Android Question [B4X] [B4XPages] Camera - How to handle a Camera page

imbault

Well-Known Member
Licensed User
Longtime User
Hi, I'm using B4XPages for a new project, and I need at the third page to shoot a Picture, I tried with CameraExClass and Camex2 and I'm unable to run my propect, too many errors compiling

I thing someone already did that

Please help

Patrick
 

jahswant

Well-Known Member
Licensed User
Longtime User
Some relevant code will help but note that you must use B4XPages.GetNativeParent(Me) When an activity is need as parameter and Root Whent its a panel...
 
Upvote 0

imbault

Well-Known Member
Licensed User
Longtime User
Thank you Erel, I'm trying to put the [B4X] [B4XPages] Barcode Reader as the third page of the ThreePagesExample Project and impossible to compile...
I have got that error message translated in english : "The object reference is not defined to an instance of an object." which seems to be due to adding those lines in the manifest:
AddApplicationText(<meta-data
android:name="com.google.android.gms.vision.DEPENDENCIES"
android:value="barcode,,face" />
 
Upvote 0

Erel

B4X founder
Staff member
Licensed User
Longtime User
I've double clicked on the error message and it took me to:

1595764411737.png


See the red comment. It should be green. You are missing the closing parenthesis.
 
Upvote 0
Top