Hello Ahmed,
Did you follow the instructions provided in the stackoverflow forum post above?
Thanks
Eva
Please, I want to know how you passed the data from java to javascript!?
I fixed the problem, I posted the solution in StackOverflow if anyone is interested
That's my post and the answer didn't fix the problem
Ahmed Ibrahim
Hello,
I passed an integer from java to javascript, and now I want to use the value to change the altitude of an object.
I added a to RelativeLoction var location = new AR.RelativeLocation(null, 8, 0, a);.
The problem is it ignores the value that I passed which is 10 and take a as 0. I know that the value passed correctly from this var e = document.getElementById('loadingMessage').innerHTML = "Altitude: " + a; which shows Altitude: 10.
Thanks in advance.
Javascript code