"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

The question for Books Sample

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"}

 

AlessandroB

Wed, 02/12/2014 - 07:44

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.

 

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!