PROFESSIONAL NEWSGROUPS
WINDEV
,
WEBDEV
and
WINDEV Mobile
Home
|
Recent messages
|
Connect
|
Sign out
|
English
Home
→
WINDEV Mobile 2024
→
Change the GPS status - Alterar o Status do GPS
Change the GPS status - Alterar o Status do GPS
Started by adrianoboller, Nov., 24 2014 12:50 PM - No answer
Connect yourself…
adrianoboller
#1
Registered member
3,659 messages
Popularité : +175 (223 votes)
Posted on November, 24 2014 - 12:50 PM
Procedure
GPS_AlterarStatus
(
LOCAL
Status
,
LOCAL
WindowSN
)
// Status = "GPS Enabled" , "GPS Disabled" , "GPS off service" , "GPS Unavailable" , "GPS available"
// Finalidade: Alterar o Status do GPS
GPSStatus
(
Status
)
s
Retorno is
string
=
""
IF
GPSStatus
(
) =
gpsEnabled
THEN
IF
WindowSN
=
"S"
THEN
Info
(
"Gps habilitado"
)
END
s
Retorno
=
"Gps habilitado"
ELSE IF
GPSStatus
(
) =
gpsDisabled
THEN
IF
WindowSN
=
"S"
THEN
Info
(
"Gps desabilitado"
)
END
s
Retorno
=
"Gps desabilitado"
ELSE IF
GPSStatus
(
) =
gpsOffService
THEN
IF
WindowSN
=
"S"
THEN
Info
(
"Gps sem serviço"
)
END
s
Retorno
=
"Gps sem serviço"
ELSE IF
GPSStatus
(
) =
gpsUnavailable
THEN
IF
WindowSN
=
"S"
THEN
Info
(
"Gps indisponível."
)
END
s
Retorno
=
"Gps indisponível."
ELSE IF
GPSStatus
(
) =
gpsAvailable
THEN
IF
WindowSN
=
"S"
THEN
Info
(
"Gps disponível."
)
END
s
Retorno
=
"Gps disponível."
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