By korayatlay
on Wed, 10/02/2013 - 05:06
Hello everyone,
I developed a customized version of ImageTargets. And my main problem is, when i try it on Galaxy S3 , the initialization of the camera is fast. But when i try the same app in Galaxy S4 its taking really a lot of time just to initialize the camera and open the camera preview.
S4 is 4.2.2, and S3 is 4.1.2.
Does anyone have any idea about the reason? Do others have similiar problem like this with S4? Can it be a hardware issue?
Thanks
Samsung Galaxy S4 Slow initialize
Could you provide exact model number of your S4 ?
(you can find the Model Number in your Device Settings). Also, is it an S4 "Mini" or regular one ?
Samsung Galaxy S4 Slow initialize
Its GT-I9500. and Its a regular one.
Samsung Galaxy S4 Slow initialize
Thanks for this.
Our tests on S4 do not show any specific issue; for example, on a GT-I9505 performance are perfectly aligned (or even better) with S3 devices.
Samsung Galaxy S4 Slow initialize
Hello again,
I think the problem is happenign with android 4.2.2, because i tried with Sony Xperia Z which is using 4.2.2 and i came across the slow initializtion incident too.
I did some Logging and found out that the code piece below is causing the wait on 4.2.2,
Samsung Galaxy S4 Slow initialize
Ok, thanks, this is very helpful information;
what is weird however is the fact that the code you mention is only executed when the Activity is destroyed, so it should not be executed during initialization phase;
could you double check that this is actually the code ?
Samsung Galaxy S4 Slow initialize
Hi
The waiting is happening during the InitQCARTask AsyncTask execution. It waits for the onPostMethod to be called. So i guess the waiting happens during the execution of QCAR.init()
Samsung Galaxy S4 Slow initialize
Thanks for this details.
Could you verify if you have Internet connection (and network ON, Wifi or other) on each of those devices ?
I tested on a Sony Xperia Z and I observed the following results:
Samsung Galaxy S4 Slow initialize
Hi again,
Samsung Galaxy S4 Slow initialize
it is the same slow speed of initializtion no matter how many times you restart the camera
Samsung Galaxy S4 Slow initialize
Hi,
Test 1 Results (on very first run):
Samsung Galaxy S4 Slow initialize
Are the S3 and S4 connected to the same wireless network ?
Samsung Galaxy S4 Slow initialize
yes
Samsung Galaxy S4 Slow initialize
Ok, thanks for confirming.
We'll keep an eye on this issue, but as per my previous tests, I cannot reproduce the behaviour you observe,