Android Question [B4XPages] Barcode Reader example error Sub activity_permissionresult was not found.

Alberto Michelis

Well-Known Member
Licensed User
Longtime User
Hi, I test the example and works ok.
Then I add the same modules to my firts B4Xpages app.
Modify the manifest and add the #Aditionaljar
Compile, run and when I press the barcode button , which
B4XPages.ShowPage("BarcodePage")
I get this error:


Pic and app zip attached.
 

Attachments

  • 1.png
    86.7 KB · Views: 186
  • Splash.zip
    36.1 KB · Views: 163

Sagenut

Expert
Licensed User
Longtime User
Try adding this to Manifest
B4X:
AddManifestText(
<uses-permission
  android:name="android.permission.CAMERA"
  android:maxSdkVersion="19" />
)
 
Upvote 0

Alberto Michelis

Well-Known Member
Licensed User
Longtime User
Now I took the original example, which works ok as is, move the "b4xmainpage" where the barcode code is to a new module "mBarcode" and add a new simple "b4xmainpage", compile anr run ok and... same error.
If I dont have the barcode code in the "b4xmainpage" it does not work!
Attached the example modified.
 

Attachments

  • Project.zip
    187.2 KB · Views: 154
Upvote 0

Sagenut

Expert
Licensed User
Longtime User
Sorry, I am out of ideas.
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…