PROFESSIONAL NEWSGROUPS
WINDEV
,
WEBDEV
and
WINDEV Mobile
Home
|
Recent messages
|
Connect
|
Sign out
|
English
Home
→
WINDEV Mobile 2024
→
GPS - Info - Informacoes
GPS - Info - Informacoes
Started by adrianoboller, Nov., 24 2014 12:56 PM - No answer
Connect yourself…
adrianoboller
#1
Registered member
3,659 messages
Popularité : +175 (223 votes)
Posted on November, 24 2014 - 12:56 PM
Procedure
GPS_Informacoes
(
LOCAL
WindowSN
)
s
Retorno is
string
=
""
IF
GPSStatus
(
) =
gpsEnabled
OR
GPSStatus
(
) =
gpsAvailable
THEN
s
Altitude is
string
=
GPSInfo
(
gpsAltitude
)
s
Direcao is
string
=
GPSInfo
(
gpsDirection
)
s
Energia is
string
=
GPSInfo
(
gpsEnergy
)
s
Precisao is
string
=
GPSInfo
(
gpsPrecision
)
s
Tipo is
string
=
GPSInfo
(
gpsType
)
s
Velocidade is
string
=
GPSInfo
(
gpsSpeed
)
s
Retorno
=
s
Altitude
+
", "
+
s
Direcao
+
", "
+
s
Energia
+
", "
+
s
Precisao
+
", "
+
s
Tipo
+
", "
+
s
Velocidade
IF
WindowSN
=
"S"
THEN
Info
(
s
Retorno
)
END
ELSE IF
GPSStatus
(
) =
gpsDisabled
THEN
Info
(
"GPS Desabilitado!"
)
ELSE IF
GPSStatus
(
) =
gpsOffService
OR
GPSStatus
(
) =
gpsUnavailable
OR
GPSStatus
(
) =
gpsError
THEN
Info
(
"Região sem serviço de GPS"
,
ErrorInfo
(
)
)
END
RESULT
(
s
Retorno
)
Report
0
0
→ Go back to WINDEV Mobile 2024
WINDEV 2024
WEBDEV 2024
WINDEV Mobile 2024
WINDEV (earlier versions)
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