Location should already work in the Javascript port. And to add to what Shai said about the desktop ports: Location "works" in the simulator, but not in the desktop port. In the simulator, the app doesn't get the real location, it gets the location that you specify in the simulator's location simulation map. (The Simulation > Location Simulation menu item). This allows you to test things like geofencing and other location-dependent stuff in the simulator.
Best regards Steve On Sun, Dec 31, 2017 at 8:57 PM, Shai Almog <[email protected]> wrote: > Hi, > we don't support that API on the desktop port. > You can probably use one of the IP triangulation API's to implement faux > location. > > I don't think location is implemented at this time in the JavaScript port > but it should be doable on that port since browsers already implement a > form of location tracking. > > -- > You received this message because you are subscribed to the Google Groups > "CodenameOne Discussions" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > Visit this group at https://groups.google.com/ > group/codenameone-discussions. > To view this discussion on the web visit https://groups.google.com/d/ > msgid/codenameone-discussions/96eacbfd-2f00-4567-8ea1- > 3da9d712d2a9%40googlegroups.com > <https://groups.google.com/d/msgid/codenameone-discussions/96eacbfd-2f00-4567-8ea1-3da9d712d2a9%40googlegroups.com?utm_medium=email&utm_source=footer> > . > > For more options, visit https://groups.google.com/d/optout. > -- Steve Hannah Software Developer Codename One http://www.codenameone.com -- You received this message because you are subscribed to the Google Groups "CodenameOne Discussions" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. Visit this group at https://groups.google.com/group/codenameone-discussions. To view this discussion on the web visit https://groups.google.com/d/msgid/codenameone-discussions/CAGOYrKXYaJAvoQ9-Q%3DdzJ2Z2AZRB4MVx5gddY%3DNF-8MbuvAsUg%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
