Cerca nel supporto

Attenzione alle mail truffa. Mozilla non chiederà mai di chiamare o mandare messaggi a un numero di telefono o di inviare dati personali. Segnalare qualsiasi attività sospetta utilizzando l'opzione “Segnala abuso”.

Learn More

Questa discussione è archiviata. Inserire una nuova richiesta se occorre aiuto.

geolocation api works in simulator not on open c

  • 1 risposta
  • 4 hanno questo problema
  • 3 visualizzazioni
  • Ultima risposta di guigs

more options

I try to use the geolocation API. Just testing around. It works fine in the browser and in the simulator but when i install it on my ZTE Open C, I get asked if I want to share my position but nothing happens. When I download apps with geolocation they work, I just have this problem with my own.

Example code I have tried.

navigator.geolocation.getCurrentPosition( function(position) { console.log(position) }, function () {}, {maximumAge: Infinity} );

Any ideas? Thank you

I try to use the geolocation API. Just testing around. It works fine in the browser and in the simulator but when i install it on my ZTE Open C, I get asked if I want to share my position but nothing happens. When I download apps with geolocation they work, I just have this problem with my own. Example code I have tried. navigator.geolocation.getCurrentPosition( function(position) { console.log(position) }, function () {}, {maximumAge: Infinity} ); Any ideas? Thank you

Tutte le risposte (1)

more options

Some pieces are NOT under Mozilla's control and one of them is the geolocation configuration. It is completely up to the chip manufacturers and OEM to correctly configure a-gps. See: https://wiki.mozilla.org/Firefox_OS/Geolocation