2013-10-22 60 views
0

我創建了數據庫名稱爲book,並創建了目標名稱爲android & turnkey。之後,我上傳圖像&元數據爲Android。 android元數據是book.txt文件,包含samplebook1.json。此外,交鑰匙book_1.txt文件包含samplebook2.json文本。vuforia雲無法正常工作

在Xcode:

static const char* const kAccessKey = "mine key"; 

static const char* const kSecretKey = " mine key"; 

BooksManager.m:

#define BOOKSJSONURL @"https://server.net/projects/AR/Vuforia/Cloud_Reco 

samplebook1.json:

在這裏,我改變了目標ID與我的目標ID。

{"title":"Cloud Recognition in Vuforia","author":"Karina Borland","average rating":"4","# of ratings":"41","list price":"43.99","your price":"43.15","targetid":"ebd4e5049bc34c60b0d944062721a97f","thumburl":"https://developer.vuforia.com/samples/cloudreco/thumbs/01_thumbnail.png","bookurl":"https://developer.vuforia.com/samples/cloudreco/book1.php"} 

但它不工作。我哪裏錯了。

回答

0

我正在iOS SDK上工作,但這部分看起來很相似。我認爲你的問題來自samplebook1.json的最後一部分。

{"title":"Cloud Recognition in Vuforia","author":"Karina Borland","average rating":"4","# of ratings":"41","list price":"43.99","your price":"43.15","targetid":"ebd4e5049bc34c60b0d944062721a97f","thumburl":"https://developer.vuforia.com/samples/cloudreco/thumbs/01_thumbnail.png","bookurl":"https://developer.vuforia.com/samples/cloudreco/book1.php"} 

該字段「bookurl」允許恢復關於該書的一些信息。所有這些信息都在這個網址上通知。

您必須使用自己的URL。

希望它有幫助!