2013-10-22 2 views
0

데이터베이스 이름을 책으로 생성했으며 대상 이름을 android & 턴키로 생성했습니다. 그 후 안드로이드에 대한 & 메타 데이터를 업로드합니다. 안드로이드 메타 데이터는 samplebook1.json을 포함하는 book.txt 파일입니다. 또한 턴키 book_1.txt 파일에는 samplebook2.json 텍스트가 들어 있습니다. 엑스 코드에서vuforia 클라우드가 작동하지 않습니다.

:

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

하지만 작동하지 않습니다. 내가 실수 한 곳.

답변

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에 전달됩니다.

자신 만의 URL을 사용해야합니다.

희망이있었습니다.