Topic locked

The question for Books Sample

February 11, 2014 - 10:57pm #1

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

July 2, 2014 - 12:02am #6

The question for Books Sample

July 1, 2014 - 7:50pm #5

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

July 1, 2014 - 7:50pm #4

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

February 11, 2014 - 11:57pm #3

Thanks AlessandroB.

I understand why. Beacause my metadata don't right. In that sample, metadata is name of  json file.

That is experience for me and newbies.

Thank you and Vuforia.

The question for Books Sample

February 11, 2014 - 11:44pm #2

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.

 

Topic locked