我将数据库名称创建为 book,并将目标名称创建为 android & turnkey。之后,我为 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
样本书1.json:
在这里,我用我的 targetId 更改了 targetid。
{"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"}
但它不起作用。我在哪里做错了。