By sureshb
on Wed, 04/10/2013 - 06:43
Hi All,
how to create a new UI in virtual button when we showing target image then how to show the UI, when the model image is appearing on screen.
Thanks in advance.
Hi All,
how to create a new UI in virtual button when we showing target image then how to show the UI, when the model image is appearing on screen.
Thanks in advance.
How to create new UI in camera screen in virtual button
Hi, in order to build a UI which overlays on top of the AR view, you can take inspiraion from the mUILayout variable in ImageTargets.java in the ImageTargets sample.
Concerning your second question, how to show the UI when the model appears, you can follow this tutorial:
How to create new UI in camera screen in virtual button
Hi,
i added mUILayout like wise imagetarget.java file but i am not getting any UI was showing. like below in virtualButtons.java file.
private LinearLayout mUILayout;
-----
How to create new UI in camera screen in virtual button
AlessandroB,
Help me on this.
Thanks in Advance.
How to create new UI in camera screen in virtual button
Hi, make sure to define the layout also in your /layout directory (as you are inflating it using the camera_overlay id);
How to create new UI in camera screen in virtual button
AlessandroB,
Layout creation is not problem to me.But when the 3d object is appearing then the ui also to display on screen when camera overlay on target image.
i have to show 3d object and UI both when camera overlay on target image.
Thanks
How to create new UI in camera screen in virtual button
I undrestand, but that is explained in the tutorial (see the link that I posted previously, on "how to display a Toast message when target is detected"):
How to create new UI in camera screen in virtual button
AlessandroB,
As you said i change in virtualButtons.cpp; virtualButtons.java; virtualButtonsRender.java
in virtualButtons.cpp
How to create new UI in camera screen in virtual button
Hi,
you are creating new layout inside the handleMessage() method;
you should instead create it outside (for instance in the onCreate() of your main activity) and then use the handleMessage() method only to set the visibility of the layout.
Hello All,
Hello All,
would anybody know any repository or project online with the c++ file? I am trying to make me an idea but I am very new with Vuforia, I am having troubles trying to undertand it. In addition I would like to know if adding the imagetarget in a fragment is possible.