我创建了数据库名称作为书籍,并创建了目标名称为android&交钥匙。之后我上传图片& android的元数据。 android元数据是book.txt文件,包含samplebook1.json。交钥匙book_1.txt文件也包含samplebook2.json文本。
在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:
在这里,我使用targetId更改了targettid。
{"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 :(得分: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"允许恢复关于这本书的一些信息。所有这些信息都会通过此网址获得通知。
您必须使用自己的网址。
希望它有用!