- Sort Posts
- 31 replies
- Last post
Xperia S get black screen after splashscreen
Xperia S get black screen after splashscreen
Hi info_1, I will follow up on the other Thread you created.
https://developer.vuforia.com//forum/issues-and-bugs/video-playback-issues-sony-xperia
Hi, ImageTarget sample with
Hi,
ImageTarget sample with SDK 2.0.30 runs on Sony Xperia S(build 45) perfectly with/without internet connection.
After we rebuild our custom app with SDK 2.0.30, our custom app seems also working well on Sony Xperia S(build 45).
It looks like SDK 2.0.30 has fixed this issue, I will test more to make sure this issue is truly gone..
Thanks!
regards,
Mason Hsiung
You can check your email.
Hi, really appreciating your
Hi, really appreciating your kind cooperation;
ideally it would be great if you could run the same test using the ImageTargets sample (and yes, 2.0.30 if possible)
that would be really helpful (be sure to unisntall any previous ImageTargets from your device before running the tests).
If the Image target sample does not show the black screen issue, then we could really narrow the problem.
If you can do that, that would be great!
Hi, We are using Vuforia SDK
Hi,
We are using Vuforia SDK 2.0.29, which is not latest one(just found 2.0.30 is avaiable to download.)
The app we had tested with is our custom application.
The app uses QCAR in this way
1. Run the app.
2. User tap on download button to download the necessary data from our backend.(which requires internet connection.)
3. Initialize QCAR, then get into the camera screen.(we turned off the internet connection before the initialization in the test.)
so.. do I need to update QCAR to 2.0.30? can the latest version fix the issue?
I can run the test with the latest SDK, if you want.
Thanks :)
Thanks for the report, that
Thanks for the report, that information is very helpful. It appears that Sony is currently pushing .50 to the UK - http://talk.sonymobile.com/thread/52984?start=40&tstart=0
Hi, We just got the test
Hi,
We just got the test result.
The QCAR screen appears normally when there is no internet connection(clear cache, uninstall, install), after that, if we turn on the internet connection, the black screen shows up.
I think the behavior is the same...., FYI.
Thanks!
Hi Again i have try to use
Very interesting!
Hi Intar,
thanks for sharing your findings, this is really appreciated. Your tests provide valuable information.
May I ask you to do a very simple extra test on your device ? Could you try (in ImageTargets sample or any Vuforia app you prefer) to use MODE_OPTIMIZE_QUALITY in the CameraDevice initialization (when you select the video mode ) ?
And let me know if that works ?
Error Report
HI David:
I’m going to describe what I am doing with your demo app ImageTarget (https://developer.vuforia.com/resources/sample-apps/image-targets-sample-app).
First of all I downloaded the .apk to my PC, copied to my Xperia and installed it.
Now I turn off all internet access on my mobile (turn off Wi-Fi and 3G connection), and I start the app, everything goes ok, I see the splash screen, the about screen and I can click on the start app button, after 1 second my cam turns on and I can use it with the demo markers, and see the teapot. The app hasn’t written anything on my mobile.
So I can assume that the app works well.
Second execution, now I have turned on all internet access on my mobile (Wi-Fi and 3G connection its up), and I start the app, now I can see the splash screen and the about screen but whenever I click on the button I am only able see the loading screen and after that a black screen and the cam never start work, the only thing I can do is closing the app. When I close the app and I go check if the app has write something on my mobile I notice that it has written 20 KB of info into my device.
Third execution, it doesn’t matter if I have internet access or not. In case I have the 20KB of info written within the app, I always get the black screen after I click the start button in the about screen.
However in case I open the app manager and I clean the app cache and the app stored data and I turn off internet access as I describe on point 1, I can see everything again working fine.
Due to these facts I decided to download the Unity Project to try to know where the app stops working and I have found this:
On your CameraDeciceImpl.cs file I found this method:
public override bool Init(CameraDirection cameraDirection)
{
// play mode emulates back facing camera mode only for now
if (QCARRuntimeUtilities.IsPlayMode())
cameraDirection = CameraDirection.CAMERA_BACK;
if (InitCameraDevice((int)cameraDirection) == 0)
{
return false;
}
mCameraReady = true;// in play mode, CameraReady does not only evaluate the above flag, but also the web cam state
if (this.CameraReady)
{
QCARBehaviour qcarBehaviour = (QCARBehaviour)Object.FindObjectOfType(typeof(QCARBehaviour));
if (qcarBehaviour)
{
// resets the number of frames for which the color buffer needs to be cleared
// to avoid rendering artifacts while the camera is being initialized
qcarBehaviour.ResetClearBuffers();// configure the videobackground, set initial reflection setting
qcarBehaviour.ConfigureVideoBackground(true);
}
}return true;
}
And I have notice this:
If the app didn’t download anything on my mobile the InitCameraDevice((int)cameraDirection) call returns 1 and the execution continues and the method returns true, but when the app has written something on my mobile this call returns 0, the method returns false and the app doesn’t work.
Hope this report helps to fix the problem so the app can run on all devices.
Xperia S get black screen after splashscreen
Also just for the record - quite few 0 ratings due to the properly erroneous camera implementation from Sony(Ericsson).
I hope you guys are able to find a workaround soon - any update on your progress would be greatly appreciated and if you need support in debugging just let us know. (However repeatability is 100% so that part is not very tricky)
Cheers
Xperia S get black screen after splashscreen
Also just for the record - quite few 0 ratings due to the proparly erroneous Sony(Ericsson) camera implementation.
I hope you guys are able to find a workaround soon - any update would be greatly appriciated and if you need support in debuging just let us know. (However repeatability is 100% so that is not very tricky)
Cheers
Xperia S get black screen after splashscreen
Also just for the record - quite few 0 ratings due to the proparly erroneous Sony(Ericsson) camera implementation.
I hope you guys are able to find a workaround soon - any update would be greatly appriciated and if you need support in debuging just let us know. (However repeatability is 100% so that is not very tricky)
Cheers
Xperia S get black screen after splashscreen
Thanks for your reply.
Android version: 4.0.4
Kernel version: 3.0.8+1.0.21100-30145-01956-g43358ca
SMP PREEMPT Mon Jul 30 13:29:45 2012
Build number: 6.1.A.2.45
did anyone already solve this problem??
im now experiencing this problem
i already try to force restart and repair it using pc companion but nothing happened
i hope someone could help me :(
thanks in advance