"We offer new support options and therefor the forums are now in read-only mode! Please check out our Support Center for more information." - Vuforia Engine Team

Try this but error please help

i try to make app starting from imagetarget. now i try to show some text like this

http://gavinmhackeling.com/blog/2012/03/ar-gallery-guide-for-android/

 

but error in show a textview and have many error in this guide..anyone can help me

AlessandroB

Tue, 10/30/2012 - 20:45

Hi, what kind of errors do you get ?

can you explain the relevant changes that you are trying to do with respect to the ImageTargets sample ?

 

AlessandroB

Wed, 11/07/2012 - 12:44

You say that the "protected onResume()" method (where you get all errors) is in "ImageTargets.cpp";

this should be in ImageTargets.java; can you confirm that ?

 

 

AlessandroB

Wed, 11/07/2012 - 15:38

Hi, can you be a little bit more precise on the specific errors you get?

do you get runtime errors such as NullPointer exceptions or others ?

Would be great if you could Log the error messages and copy-paste some of them here. You can Log using adb logcat or DDMS in Eclipse.

AlessandroB

Wed, 11/07/2012 - 17:28

Hi, thanks for the log;

those error messages mean that those variables (like textView, subtitleView, clearButton, etc.) have not been defined in any valid scope (or maybe not defined at all in Imagetargets.java);

have you declared those somewhere in your code ?

 

ryo020288

Thu, 11/08/2012 - 17:54

yes, i did n try that.i can show a toast n text...but i want to show a text like a dialog box and if we click the button show, it show the detail and if click again it's only to show the tittle

AlessandroB

Fri, 11/09/2012 - 13:38

Hi, a good place where to get the code to do what you intend (overlay of widgets on the view) is the Dominoes samples, in particular check the code in these two classes:

Dominoes.java:

addContentView(mGUIManager.getOverlayView(), new LayoutParams(

ryo020288

Fri, 11/09/2012 - 15:03

yes. I try it, i copy the guimanager.java and the interface_overlay.xml and tes it but the code having a many problems and error.can u give me sample full code using imagetarget...i'm so confused it....i can't make a view and make a button android.thanks

ryo020288

Fri, 11/09/2012 - 20:57

the project is succes, but when i run the program, the button can show but the text can't show.if i click the button, the apllication crash.any solution?

 

AlessandroB

Sun, 11/11/2012 - 13:26

I see you posted the continuation of this in this new thread:

https://ar.qualcomm.at/content/error-close-application-or-press-back-button

Let's continue on that thread then.