Source language: Translate to:

Starts the GPS services....

General questions about NeoAppBuilder - our rapid application development tool for building HTML5, web and mobile apps.

Moderator: Neosoft Support

Starts the GPS services....

Postby David de Argentina » Tue Jul 28, 2015 5:03 pm

Hi all,

I'm trying to get some geolocation values using html5 functions.
In fact, all appairs to be correct.

When i run the html5 file under android, i get the values only if the phone is connected to a wifi service.
The GPS services is never launched. Phone settings are GPS enable.

Does any know any way to starts ( and stop ) the GPS services ?
I found a couple of java source code that does the job, but none javascript.

Thanks in advance,
David de Argentina
User avatar
David de Argentina
 
Posts: 1553
Joined: Mon Apr 04, 2005 4:13 pm
Location: Buenos Aires, Argentina

Re: Starts the GPS services....

Postby Gaev » Wed Jul 29, 2015 7:06 am

David de Argentina:

Does any know any way to starts ( and stop ) the GPS services ?

Starting (and then recording) a user's GPS locations without his/her express permission (or knowledge) might be considered "an invasion of privacy" ... even illegal in some countries.

However, for other GPS related functionality, you might look to Phonegap ... some information over here
User avatar
Gaev
 
Posts: 3718
Joined: Fri Apr 01, 2005 7:48 am
Location: Toronto, Canada

Re: Starts the GPS services....

Postby Neosoft Support » Wed Jul 29, 2015 3:57 pm

Accessing the phone's GPS will require adding some features to NeoAppBuilder itself. This is on the "to do" list and should be available soon.
NeoSoft Support
Neosoft Support
NeoSoft Team
 
Posts: 5593
Joined: Thu Mar 31, 2005 10:48 pm
Location: Oregon, USA

Re: Starts the GPS services....

Postby David de Argentina » Wed Jul 29, 2015 8:09 pm

Thanks Gaev & Dave,

I agree with the "an invasion of privacy" idea. I'm not interested on force free will...

I tested some webpages that -apparently- do the job, and some of those, starts the dialog "connect" "decline" the gps.

This webpages works.... but not all times... i can't say works fine...

If i could start the dialog Connect GPS or Decline, all times ( and if it works...) i would be very happy...

Greetings from Buenos Aires,
David de Argentina
User avatar
David de Argentina
 
Posts: 1553
Joined: Mon Apr 04, 2005 4:13 pm
Location: Buenos Aires, Argentina


Return to General NeoAppBuilder Discussion

Who is online

Users browsing this forum: No registered users and 2 guests

cron