Start a new topic
Solved

Wikitude SDK: Parameters to ArchitectView

 Hello,


I have a Wikitude-Project (in Android 6.0) but it does not work. I'd like to pass parameters through an URL, where i host my page and the available items, but it always shows me the error "Failed to load data set".


Here is how i call the architectview:

double p1 = 0.00;
double p2 = 0.00;
String
url = "http://www.mapage.com/index.php"
+ "?param1=" + p1
+ "&param2=" + p2;
this.architectView.load(url);


Without parameters the page works like it should. According to the documentation it should work. Without parameters it works, with parameters i get the error. I already found another topic with the same issue, there the solution was with archtectview.calljavascript but I don know how that works and the stackoverflow-topic also didn't help me.

Could somebody show me an example?


I am using the newest Wikitude-SDK.


Hi Marco,

Good to know that it is working now!

Eva

 

Hello,
the Mappage was just a dummy-URL. But now it works, it was my fault, I passed the wrong parameters.

 

Hello Marco,

When I checked the url you provided above (http://www.mapage.com/index.php) I receive a "The site can't be reached" error. Are you sure you are putting your files on a server where they are reachable?

Thanks
Eva

 

Login or Signup to post a comment