My name is Rita. I am a student, i'm in the last semester of university, and i am doing my final project with wikitude plugin for Córdova. I want to use geolocation using labels in some specific places. I've been trying to use the code in the examples in my APP, to test it, but it never works, neither in Android studio emulator or my own Android device, wich runs Android 5.1. I tryed to open the examples on my smartphone, without changing anything, but it happens the same thing. When I run my project, or your examples, it shows a warning symbol, and, when I click on it, it just keep saying "Trying to find out where you are". This happens dedpite having internet connection (WiFi) and decide location on. Can you, please, help me understanding what's happening and how I can fix it? Also, the JavaScript files named 'architect.js' and 'ade.js', which are loaded in the examples code, are not explained in the documentation. Am I supposed to use any of these files, available with the examples?
Hope you can help me,
Rita Pinto
N
Nicola Radacher
said
over 7 years ago
Hi,
"Trying to find out where you are". is shown if no location can be fetched. So it looks like there is an issue with the ap retrieving the location. Can you please debug and check if eg. you receive a valid location.
Greetings
Nicola
R
Rita Pinto
said
over 7 years ago
Hi,
I did the debug, but all it says in the debugger is:
"Connected to the target VM, adress: 'localhost: 8600', transport: 'socket'".
Connected to the target VM, address: 'localhost:8600', transport: 'socket'"
N
Nicola Radacher
said
over 7 years ago
Hi,
If you open the map - does it show your location. Does the device have a magnetometer? Please check here the requirements for Android devices (you'll need the left collumn, as you also use geobased AR).
Greetings
Nicola
R
Rita Pinto
said
over 7 years ago
I've already checked ou the requirements, before testing it, for the first time, but i did it again.
If I open an app that requires geolocation, such as google maps, I have my exact location. That also happens with, at least, another app that I use, that uses geolocation.
I installed a compass app, just to be sure that I also have that, and it works fine.
Also installed an app (Sensor Kinectis), that uses the magnetometer.
So, I checked all the requirements, again, and my device fullfill them.
A
Andreas Fötschl
said
over 7 years ago
Note that Wikitude SDK does not run on emulators/simulators but has to be deployed to a supported Android/iOS device instead.
R
Rita Pinto
said
over 7 years ago
Hi,
Î tryed to run in emulator, but i've also been trying on my android device.
d
david rogger
said
over 7 years ago
Great tutorial!!
Is there anyway you could have a dynamic map, displayed ratherthan a static image? Is it harder to implement?
Rita Pinto