I have written a program for Bar code scanner application it works fine in the Samsung Galaxy S551 but it didn't detect the bar code in the Samsung Galaxy Y.I compared both the devices and found it that might be due to Android version compatibility.I build application for Android 2.2 and tried to ran it on the Samsung Galaxy Y so again I build application for Android 2.3, I got the same result.Samsung Galaxy Y still didn't detect the bar code...
The Samsung Galaxy Y has no auto-focus on its camera. This prevents it to get a sharp picture of a bar code and in this way it cannot read it.
I do not know for sure if this is a hardware limitation but I think it is.
I had same problem and found that the api i am using is using autofocus of camera to detect the barcode and samsung galaxy y failed in that case. I tried other application also which is avialable in market and samasung galaxy y is not working properly for barcode scanner.
Related
I tried to implement QR code scanning with react-native-camera library. It works fine for all devices but not working with a specific device. Samsung Galaxy Luna
Update
For this specific phone auto focus is not working hence not able to scan QR code properly. While on other mobiles with same configuration auto focus is working perfectly.
Library: react-native-camera
I have made an application based on PhoneGap and it works fine on my mobiles I have tried on many like Samsung A5, Huawei, Galaxy S4, Sony Xperia and many and it works fine, whereas my client says it always shows a white screen he tested on Galaxy S5, 6 and 7. I am not sure why it is so, he has sent me a video too here is the link.
Can anyone help please?
The Camera on my galaxy s2(Android 4.4.2) looks like this when i run the color blob sample code. The same code works on my galaxy tab 2 (also Android 4.4.2).
Tried with writing the code from scratch and other sample codes. There are no errors on both devices, but the image looks like this on the S2
Does anybody know how to fix this?
I have the exact same result running OpenCV Samples on my S2 i9100 with Neatrom 3.6 (4.4.2) and ART enabled. Changing ART back to Dalvik does not change anything (for what it`s worth).
Using Stock Samsung Rom fixes the problem. Seems to be something in the Custom Rom which causes the problem.
After some testing this seems to be the only working Rom for me.
I checked without success the following Roms:
CyanogenMod 10.1
CyanogenMod 10.2
CyanogenMod 11
SlimSaber 4.4.2
Biftorâ„¢SlimKat-Rom-V6.0-i9100-4.4.2
I9100_4.4.2_AOSP_NeatROM_v3.6
SlimBean 4.2.2
Steps of reproduction:
Use 4.2.2. Android system (but not cyanogen mod since the issue is fixed there)
Make a webview and serve it a canvas element through a server
You get a black screen / it does not render canvas at all
Correct behaviour:
You serve it a canvas element and it renders what it is on it. It works on all possible android versions we were able to test except the 4.2.2. .
We confirmed the problems on at least these devices which are at the moment running this version of Android: Moto G, Samsung Galaxy SII, Samsung Galaxy SIII , Samsung Galaxy SIV, HTC One X, HTC One S mini...
I presume the bug is already known but i was not able to find it or more accurately not able to find any way of reproduction. If anyone knows if there is any workaround it would be nice
you can try this, it work for me on HTC device:
in html:
<canvas style="background-image:-webkit-canvas(mask);" />
in javascript:
var ctx = document.getCSSCanvasContext("2d", "mask", 150, 80);
//now you free to use canvas normally
I am beginner of Android Developer.I just published a app on google and I get some of feedback which is screen keep on blinking in Samsung Galaxy S2. But I tested it with Nexus4 and Samsung galaxy S3 with no such problem at all. and also tested it with simulator Android 2.3.3(API 10)also No problem with it.
Since I do not own a Galaxy S2 device, do you guys have any idea which part I should look for in order to find out the problem? because I really no idea, Please help and give advice. thanks.
the app implemented some of external library which is:
(jfeinstein10) - SlidingMenu and (chrisbanes) -Android-PullToRefresh