By girishnair1234567
on Mon, 05/06/2013 - 11:21
Hi,
I am trying to change the image target from the ImageTarget-2-0-7 sample app provided. So i used the target manager to create a new target and downloaded the eclipse XML and DAT file (for example mytarget.xml and mytarget.dat) . Now I replaced all the reference forĀ dataSetStonesAndChips andĀ StonesAndChips.xml with mytarget and mytarget.xml . but when i build the app and run it on my android device, it doesnt recognize the image taget and doesnt show the tea pot, Also i need to get the intent or event when the image target has been recognized, Any help would be appreciated
How to chnage Image target in existing sample
Hi, have you copied the XML and DAT files into the "assets" folder of your sample project ?
Also, what is the star-rating of your target ?
How to chnage Image target in existing sample
yes i copied both the files, and the rating is 5, I am using the GTA game poster for testing purposes
How to chnage Image target in existing sample
Hi, a couple of questions more:
How to chnage Image target in existing sample
<ImageTarget size="326.975464 400" name="GTA" />
This is the size of image.
I did a Project -> Clean and cleaned the project
Now when i used the same image for the video play back, the image target works
How to chnage Image target in existing sample
Hi, when you say "the view is inverted by 180 degrees", do you mean it is flipped vertically, or do you mean it is rotated by 180 ?
How to chnage Image target in existing sample
No I am not telling the target is rotated what i mean is that the entire camera seems to be upside down, Its difficult for me to explain (I am holding the camera properly but its still giving that view) I also tried on the unity 4d using the sample its view also is inverted (means entire view)
How to chnage Image target in existing sample
Hi, does this happens also with other samples ?
Have you tried the Image Target sample for instance ?
How to chnage Image target in existing sample
Ya Image target sample is what i am talking about
How to chnage Image target in existing sample
hi before ur going to run the app,you should run ndk-build command in cygwin terminal,then only ur changes will effect in ur code
How to chnage Image target in existing sample
I am building using the command prompt using "ndk-build" not cygin
i tried with cygin but i got this
How to chnage Image target in existing sample
Try removing (manually) the following directories:
- libs
- obj
- bin
and then rebuild with ndk-build
How to chnage Image target in existing sample
i tried using that
also i re downloaded the files and re compiled every thing
then also its coming the same
How to chnage Image target in existing sample
i thought , first you just delete app from your eclips,then u run ndk-build command after ndk build sucess, u import ur sample app from vouforia folder
How to chnage Image target in existing sample
Yes, removing the sample and re-importing it might be a good idea if nothing else works..