Setting GPS coordinates does not work
I am working on testing a web application with a licensed version of Electric Mobile Studio 2012. The application uses geolocation from device, but I am unable to set the coordinates so that the instances could read them. Any and all instances I start get the same default coordinates 0, 0 through the API. I've set the coordinates under "GPS"-tab in Studio's main window, the map is being shown and I'm able to select a point, and the text in the upper portion says "Javascript location APIs will return these coordinates: 1.28372142415, 5,53121435 " or whatever. But when going to "Home"-tab and starting an instance, the location is returned as 0, 0. On the "GPS"-tab it is indeed 0, 0. So it doesn't store the coordinates I've selected. There is no "Save"-button visible in GPS-section. I've tried changing the coordinates when an instance is running, to no avail. I'd really like to get this working since using gelocation is a key feature of the application.
Keyboard shortcuts
Generic
? | Show this help |
---|---|
ESC | Blurs the current field |
Comment Form
r | Focus the comment reply box |
---|---|
^ + ↩ | Submit the comment |
You can use Command ⌘
instead of Control ^
on Mac
Support Staff 1 Posted by Shaun Sullivan on 04 Oct, 2012 01:14 PM
I am not seeing this behavior, and I am not aware of any suggestions that
might help. What version are you running (listed on "About" screen)? What
operating system? Are you running the paid version, or the trial?
Also what does your JavaScript code look like that is doing the location
checks?
Thanks.
2 Posted by Teemu Terho on 04 Oct, 2012 02:03 PM
I am running Electric Mobile Studio 2012 v1.0.4 . As I mentioned I'm using the licensed version. Operating system is Windows 7 Enterprise 64-bit. I am actually not running native Javascript but using Vaadin Touchkit framework to create mobile web applications. I've checked that the application gets the location correctly when running it in Chrome, so this a problem with Studio. I am quite certain because the coordinates are always 0,0 when I go to the "GPS"-tab.
Support Staff 3 Posted by Shaun Sullivan on 04 Oct, 2012 05:13 PM
Can you try downloading the latest version to see if that helps? (Simply
download the free trial - it will automatically detect that you have the
license for the full version).
4 Posted by Teemu Terho on 05 Oct, 2012 06:22 AM
I downloaded the newest version (v1.0.8), issue is still present. I tried installing the application to a different partition in case it was some sort of read/write access problem, no luck there either.
So the problem still persists, I have no idea what else to try. I've tried pretty much everything I can come up with at this point. Under "iPhone"-tab I have ticked Javascript and Geolocation. But the problem seems to be with the application and not so much the instances it launches. Whenever I switch to another tab than "GPS" and come back, the coordinates have been reset to 0,0. Can you confirm that I'm using it correctly?
Any suggestions as to how to fix this are still welcome.
5 Posted by Teemu Terho on 19 Oct, 2012 10:38 AM
Any updates on this? I am still experiencing the issue described above and would like to have it resolved.