PROFESSIONAL NEWSGROUPS
WINDEV
,
WEBDEV
and
WINDEV Mobile
Home
|
Recent messages
|
Connect
|
Sign out
|
English
Home
→
WINDEV 25
→
WINDEV MOBILE -
WINDEV MOBILE -
Started by adrianoboller, Feb., 14 2015 4:03 PM - 1 reply
Connect yourself…
adrianoboller
#1
Registered member
3,655 messages
Popularité : +175 (223 votes)
Posted on February, 14 2015 - 4:03 PM
Procedure
GPS_VerificaStatus
(
)
Retorno is
string
=
""
GloLatitude
,
GloLongitude is
real
=
0
GPSInitParameter
(
gpsSatellite
,
gpsPrecisionHigh
)
// Recuperação da posição
Retorno is
geoPosition
=
GPSGetPosition
(
)
// 2000 = Intervalo máxo,p de 20 segundos
GloLatitude
=
NumToString
(
Retorno
..
Latitude
,
"+-10.6f"
)
GloLongitude
=
NumToString
(
Retorno
..
Longitude
,
"+-10.6f"
)
Retorno
=
GloLatitude
+
"; "
+
GloLongitude
IF
GloLatitude
=
0
AND
GloLongitude
=
0
OR
GloLatitude
=
null
AND
GloLongitude
=
null
ToastDisplay
(
"GPS Desligado!!!"
)
END
RESULT
(
Retorno
)
Report
0
0
adrianoboller
#2
Registered member
3,655 messages
Popularité : +175 (223 votes)
Posted on February, 14 2015 - 5:13 PM
MODERADOR - FAVOR EXCLUIR ESSE POST NAO ESCREVI DIREITO O TITULO
MODERATOR - PLEASE DELETE THIS POST NO RIGHT TO TITLE I WROTE
Report
0
0
→ Go back to WINDEV 25
WINDEV 25
Français
English
Español
Portuguesa
Close this window
Search type
Only topics
All the messages
Search period
Any time
Past hour
Past 24 hours
Past week
Past month
Past year
Cancel
Preview of your message
Adding an image
Import an image from a URL
Send an image from a file of your disk
Drop a file or click "Browse..."
or
Cancel
0%
WLanguage
SQL
XML, HTML
JAVA, Javascript
Text