Page 1 of 2
Barcode Menu Button
Posted: Mon Jul 22, 2013 3:54 pm
by David6064062
Hi
When using the Barcode Service on an android device and the camera is open scanning for barcodes if you press the menu button a menu pops up.
Share
History
Settings
Help
If you press any of these it crashes the app....
Is there a way of programming what these do ?
or if not, disabling the menu ?
Thanks
David
Barcode Menu Button
Posted: Mon Jul 22, 2013 4:16 pm
by Maryna Brodina
Hello! Could you clarify what do you mean on "it crashes the app"? What exactly happens when you press any of menu options?
Barcode Menu Button
Posted: Mon Jul 22, 2013 4:22 pm
by David6064062
i am running it using the appery test app on a hts desire hd running android
I get
Sorry!
the application Appery.io Tester (process io.appery.tester) has stopped unexpectedly. Please try again.
i have just repeated and this time i pressed the report button.. hope this helps
Barcode Menu Button
Posted: Mon Jul 22, 2013 4:23 pm
by Maryna Brodina
What is the Android version on your device?
Barcode Menu Button
Posted: Mon Jul 22, 2013 8:13 pm
by David6064062
Barcode Menu Button
Posted: Mon Jul 22, 2013 8:15 pm
by Maryna Brodina
Thank you, we'll test. Testing might take time...
Barcode Menu Button
Posted: Mon Jul 22, 2013 8:17 pm
by Maryna Brodina
Just to clarify - you invoke barcode service on device ready event, right?
Barcode Menu Button
Posted: Tue Jul 23, 2013 8:02 am
by David6064062
The same effect happens on "button" or on "device ready". I have also tested on a Samsung Galaxy S3 running Android 4.1.2 and the same effect happens on this device.
Barcode Menu Button
Posted: Tue Jul 23, 2013 8:41 am
by Kateryna Grynko
Hi David,
I'll test this.
Barcode Menu Button
Posted: Tue Jul 23, 2013 1:13 pm
by Emmz
In Project folder - App Settings.
Tab External Resources Paste code below into "User-defined resources" And click Add.
code
res/lib/barcodescanner.js
/code
I had this problem way back 7 months ago or so. Maybe this will work for you?