I'm starting with Wikitude creating an Android app. I started which what I believe is a pretty simple code but I have an strange problem with it. It obtains a sample location from the Android java class and shows an image on a sample location stated in the Wikitude core as shown below, it also changes the "Loading..." text for "location changed".
It works perfectly on an Android phone with Android 2.3.4 but the very same app doesn't show the image or "location changed" on an Android 4.2.2 phone. I believe there is nothing in the Android code that makes it not work depending on the version, but here's the code of the html, the Android java class and the manifest.
Did you find a solution to this issue? I have the exact same issue and even after lots of email exchanges with the support team, it is still not resolved. If you have resolved it, can you given me some pointers on how you resolved it?
A
Andreas Fötschl
said
over 10 years ago
Hi there!
Issue seems to be related to the LocationService implementation. Easiest way to find out is creating a breakpoint in the line where you pass over the user-location using architectView.setLocation(). Also add an alert in JS code's onLocationChanged implementation so you get a better feeling of what's going wrong.
Kind regards, Andreas
PS.: Please also try to remove ade.js include in your html and let me know if that changed behavior (although I doubt that).
Pablo Bernal-Alcazar