By haunv309
on Wed, 07/02/2014 - 07:02
Hi!
I'm downloaded Books Sample code to my computer and build . It's OK.
But when I change to private static final String mServerURL = "http://haunv.w.pw/books/json/" (this folder have samplebook1.json file), and kAccessKey, kSecretKey suitable with my cloud database. I sure that targetID in json file, metadata of Target Image and Target Image did the same.
In my android phone, recognition target image is ok, but it's don't return book's information.
Where I was wrong.
Content of json file and metadata
{"title":"Cloud Recognition in Vuforia","author":"Karina Borland","average rating":"4","# of ratings":"41","list price":"43.99","your price":"43.15","targetid":"3b2414a0f99347619d7eb0b152d50026","thumbhttp://haunv.w.pw/book s/loudreco/01_thumbnail.png","bookurl":"https://developer.vuforia.com/samples/cloudreco/book 1.php"}
The question for Books Sample
Your best bet is to debug your code and compare exactly with the sample code, to see why you cannot retrieve / display the book data using your server url.
The question for Books Sample
Thanks
The question for Books Sample
Hi haunv309,
I created my cloud Target and upload metadata file, the Android App can runs well. Now I want to change the book information , I want to know how to change the json data.
Can you share me your steps about the Books Sample, thanks a lot.
Best Wishes!
The question for Books Sample
Hi haunv309,
I created my cloud Target and upload metadata file, the Android App can runs well. Now I want to change the book information , I want to know how to change the json data.
Can you share me your steps about the Books Sample, thanks a lot.
Best Wishes!
The question for Books Sample
Hi, this question has been answered many times on the Forum,
you may want to have a look at these:
https://developer.vuforia.com/forum/faq/cloud-metadata-how-can-i-store-my-data-cloud