Location Simulation

45 views
Skip to first unread message

nickk...@gmail.com

unread,
May 11, 2014, 6:44:26 PM5/11/14
to codenameone...@googlegroups.com
Any chance the details can be saved?  I need to test behaviour when the app starts and location is turned off, also its a pain to keep putting the location in in order to test in the right place.

Network status saves between runs in the simulator.  Would be great if location simulation did too.

Cheers!

Shai Almog

unread,
May 12, 2014, 1:57:20 AM5/12/14
to codenameone...@googlegroups.com, nickk...@gmail.com
Sure, shouldn't be hard.

Kandy Bitxenio

unread,
Nov 20, 2019, 4:05:15 AM11/20/19
to CodenameOne Discussions
Hi

are there any bug on the location simulation, I can't see the map and can't save the location.

On previous versions of codenameone on this screen appeared a map and I could save the location, now when I close the simulator I missed the position and appears an old position (who was inserted few months ago).

Best Regards Kandy

Location simulation.png

Shai Almog

unread,
Nov 20, 2019, 9:53:59 PM11/20/19
to CodenameOne Discussions
Hi,
the map was disabled a while back because of google imposed limits to usage of its API keys. In the past you could create a free maps API key but this is no longer the case. You need billing in the project and could be charged. Because of the nature of the project the key needs to be exposed which puts our billing at risk. We might re-introduce this feature with a free map provider if one becomes available.

Kandy Bitxenio

unread,
Nov 21, 2019, 3:05:26 AM11/21/19
to CodenameOne Discussions
Thanks Shai

Are there any way to change and save location, if we introduce the coordinates manually when close the simulator we lost these coordinates.

you can install a Map Server and use your own installation of the OpenStreet Map.

Best Regards

Shai Almog

unread,
Nov 21, 2019, 10:05:47 PM11/21/19
to CodenameOne Discussions
Migrating the code to OSM is possible even without a server but no one did it and we're flooded with other tasks.

Kandy Bitxenio

unread,
Nov 22, 2019, 3:25:20 AM11/22/19
to CodenameOne Discussions
Thanks Shai

Are there any way to change and save location (in some file por example), if we introduce the coordinates manually when close the simulator we lost these coordinates.

Regards

Shai Almog

unread,
Nov 22, 2019, 10:35:05 PM11/22/19
to CodenameOne Discussions
Hi,
not at this time. You'll need to edit it on launch.
Reply all
Reply to author
Forward
0 new messages