Lazarus
Programming => Operating Systems => Android => Topic started by: AFFRIZA 亜風実 on May 02, 2019, 11:27:08 am
-
I'm trying using ZBar component in my compat app. Android keeps saying "Data Sales keep stop", but I remove the ZBar it works again. Is this a bug?
Google Drive source: https://drive.google.com/open?id=1jSrajkpl4czXUowqPeD_XFuipqrzD-Yo (https://drive.google.com/open?id=1jSrajkpl4czXUowqPeD_XFuipqrzD-Yo)
-
OK. I will do some tests!
What about the demo "AppZBarcodeScannerViewDemo1"? some test?
-
OK. I will do some tests!
What about the demo "AppZBarcodeScannerViewDemo1"? some test?
It's still not working with the Demo App.
-
I dunno what Android version you are on, but you have to set permissions for this App to use the camera.
-
you have to set permissions for this App to use the camera....
Yes, and the "demo" do it!
@Dio Affriza
What device is being used? What Android version? weird...
-
you have to set permissions for this App to use the camera....
Yes, and the "demo" do it!
@Dio Affriza
What device is being used? What Android version? weird...
I've already given permission to camera.
My phone is Sony Xperia Z5 Compact, Android 7.0 Nougat.
-
I don't think my phone is broken or something, because I tried to install a similar app and it just works.
Maybe I'm doing something wrong in my project, or I just missed something? :D
Edit: I just tried AppCameraDemo, yeah it's success requesting camera permission, but the app will be stopped after that.
-
Maybe I'm doing something wrong in my project.....
yes, so we need first to make the demo work .... Here I tested the "demo" using
a galaxy S4 (android 5.0.1) and galaxy S5 (android 6.0.1) and it is OK!
-
Maybe I'm doing something wrong in my project.....
yes, so we need first to make the demo work .... Here I tested the "demo" using
a galaxy S4 (android 5.0.1) and galaxy S5 (android 6.0.1) and it is OK!
Unfortunately, all my phones are Sony.
Yeah, I'm now borrowing my friend's Oppo Neo 7, yeah it works. Looks the jCamera doesn't work with Xperia phone or the Android version too high. Oh, no... :(
-
But, LAMW has anothers options.... try "AppIntentDemoZXing1" for bar code....
and "AppCameraDemo" and "AppCustomCameraDemo1" to test your camera!
-
But, LAMW has anothers options.... try "AppIntentDemoZXing1" for bar code....
and "AppCameraDemo" and "AppCustomCameraDemo1" to test your camera!
None of them work. I'll try to inspect the jCamera unit, maybe something I can do with these unit.
-
You can try "ZXing" [code bar] App from Google Play Store..... just to test your device...
[maybe a 32/64 bits CPU question/compatibility.....]
-
You can try "ZXing" [code bar] App from Google Play Store..... just to test your device...
[maybe a 32/64 bits CPU question/compatibility.....]
ZXing Barcode scanner works fine.
My phone is using Snapdragon 810, I think it's 64 bit.
-
Good!!!
Now you can try "AppIntentDemoZXing1" !!
-
Good!!!
Now you can try "AppIntentDemoZXing1" !!
Wow, good idea... This is a nice alternative without accessing the camera directly. Thank you :D