By dennisAC
on Wed, 03/13/2013 - 21:20
hey guys, i need help here..
i want to make an AR application with Vuforia. In the sample, when we open the application, it will launh cameraview directly. what if i want to make a menu activities, that contain a button like: play, option, about, exit, just like another application in android.
can you guys tell me how can i do it? is i also need new activities to handle that menu?
Menu before Camera View Shown
Hi, you can create an Activity with your menu, and then for instance when you click Play, it will launch the AR activity;
have a look at the Image Targets sample in Vuforia 2.0, it contains multiple Activities.
Menu before Camera View Shown
Hi AlessandroB ,
So how do this in Unity ?
Menu before Camera View Shown
hi there, thx for your advice to see vuforia 2.0, now i can make menu in my app,
Menu before Camera View Shown
Hi, the splashscreen is defined in the ImageTargetsSplashScreen.java file;
however, the visualization of the various activities (including the splash screen one) is controlled by the AndroidManifest.xml and by the startActivity() methods.
Menu before Camera View Shown
no, i mean, i didn't use vuforia 2.0, i used vuforia 1.5, and there is no ImageTargetsSplashScreen.java,
well in vuforia 1.5, the splash screen was handled by ImageTargets.java. it is different in vuforia 2.0 that has sparate class: ImageTargetsSplashScreen and ImageTargets.
Menu before Camera View Shown
Ok,
in 1.5 you have a mSplashScreenView variable in ImageTargets.java, just remove any reference to it in the code and it should disappear.
Menu before Camera View Shown
thx for your reply, i have tried your post, i remove all the mSplashScreenView variable, but what happened to my app is: it still launch some kind of Splash
Menu before Camera View Shown
Hi,
that delay is due to the mSplashScreenHandler which launches a runnable with a certain delay; you should be able to get rid of it by changing the MIN_SPLASH_SCREEN_TIME variable to 0 (currently it is set to 2000)
Menu before Camera View Shown
hey, it still there, even if i remove all the variable that contain "splashscreen" word it still shows nothing for a seconds.., exept in these codes:
Menu before Camera View Shown
The problem is that you cannot completely avoid to have black screen (or otherwise splashscreen);