Log in or register to post comments

Android 4.0 + Xperia Neo V

February 6, 2013 - 5:46am #1

Hi,

after update (forced via Sony) from Android 2.3.4 to 4.0 4 Application based on Image Target stop working correctly. (vuforia 1.5.9)

 

After app start splash screen apears but when camera is starting all layouts hides (sometimes blink for a milisecound) camera is working. after scan something cube shows only for milisecound ... 

 

while writing this I saw that I test it on vuforia 1.5.9 I will test 2.0 today and if its ok I will close this topic.

 

 

 

Android 4.0 + Xperia Neo V

February 14, 2013 - 5:32am #7

Hi, so, to summarize:

- you don't observe the problem in the Vuforia samples, only in your App (where you use some additional Android widgets/layouts)

- you only observe the problem on one device with Android 4.0.4 (after upgrade from 2.x)

So, it's hard to tell where the issue comes from, but I doubt that the problem comes from Vuforia; it is most likely a device specific problem with, which might as well disappear with the next Android upgrade.

have you searched in Android-specific support forums as well ?

 

Android 4.0 + Xperia Neo V

February 14, 2013 - 2:39am #6

ImageTarget 2.0 works correct but this is not a solution becouse in IT2 You show tutorial screen and next after click "START" You initiate camera and render teapot via opengl over markers You don't display any layout from JAVA buttons/images etc. 

Worst thing is that I havent any hardware with 4.0.4 only Neo V so I dont know is Android version or hardware problem... Neo V with Android 2.x works ok after update to 4.0.4 app have problems :) Xperia Arc (LT15) with 2.3.4 works ok ... all other 10 phones in office works ok.

I have Motorola Xoom with Android 4.0.4 and it works correct (but this is tablet) :)

I'll fight with this day or two but if I cant achieve any progress maybe I can publish here sample APK file with example media file "cover of magazine" and someone who have Phone with 4.0.4 can test it.

 

Android 4.0 + Xperia Neo V

February 13, 2013 - 1:39am #5

Hi, could you test our 2.0 ImageTarget sample ? does it show the same issue ?

 

 

Android 4.0 + Xperia Neo V

February 13, 2013 - 1:36am #4

I start to make some investigations and I stop on this:

public void onDrawFrame(GL10 gl)
    {
    	DebugLog.LOGI("mIsActive:"+ mIsActive);
    	
        if (!mIsActive)
            return;

        // Call our native function to render content
        //try{ DebugLog.LOGI("sleep1 render start"); Thread.sleep(5000); DebugLog.LOGI("sleep1 end");}catch(InterruptedException e){DebugLog.LOGI("sleep error"); }
        renderFrame();
       
        //try{ DebugLog.LOGI("sleep2 render start"); Thread.sleep(5000); DebugLog.LOGI("sleep1 end");}catch(InterruptedException e){DebugLog.LOGI("sleep error"); }
        
    }

 

 

1. mIsActive is always true but this is I belive ok.

2. I make sleep 5sek before renderFrame and after it. And result is what I observe:

After first execution of renderFrame() I see correct view. Splash screen disapear and correct view from interface_overlay.xml layout is showed.

When come to sleep1 start just before secound run off renderFrame layout screen is black or camera view only.

 

Android 4.0 + Xperia Neo V

February 13, 2013 - 12:30am #3

Hi,

after migration to 2.0 but still keeping 

mGUIManager = new ManagerInterfejsu(getApplicationContext());
mRenderer.setGUIManager(mGUIManager);

inside initApplicationAR() there is still problem. I cant get any other phone with 4.0.4 Android so I cant tell is that Andrid or Xperia Neo V problem ...

I've no idea what can be wrong .... 

Android 4.0 + Xperia Neo V

February 6, 2013 - 7:13am #2

OK, yes, please test with Vuforia 2.0 and let us know if it gets solved.

Note: for migration from 1.5.9 to 2.0 you might need to change your code a little bit (a few classes have changed a bit); for this, I recommend you to read this guide:

https://developer.vuforia.com/resources/dev-guide/migrating-your-android-sdk-project

 

Log in or register to post comments