GRUPOS DE DISCUSSÃO PROFISSIONAL
WINDEV
,
WEBDEV
e
WINDEV Mobile
Inicio
|
Mensagens recentes
|
Conecte-se...
|
Disconnect
|
Português
Inicio
→
WINDEV 25
→
WINDEV MOBILE -
WINDEV MOBILE -
Iniciado por adrianoboller, fev., 14 2015 4:03 PM - 1 resposta
Conecte-se…
adrianoboller
#1
Membro registado
3.696 mensagems
Popularité : +175 (223 votes)
Publicado em fevereiro, 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
)
Denunciar
0
0
adrianoboller
#2
Membro registado
3.696 mensagems
Popularité : +175 (223 votes)
Publicado em fevereiro, 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
Denunciar
0
0
→ Voltar para WINDEV 25
WINDEV 25
Français
English
Español
Portuguesa
Fermer cette fenêtre
Tipo de Pesquisa
Apenas tópicos
Todas as mensagens
Período de pesquisa
Qualquer momento
Última hora
Últimas 24 horas
Semana passada
Mês passado
Ano passado
Cancelar
Pré-visualização da sua mensagem
Adicionar imagem
Importar uma imagem de uma URL
Enviar uma imagem a partir do seu disco
Deixe um ficheiro ou clique em "Procurar ..."
ou
Cancelar
0%
WLanguage
SQL
XML, HTML
JAVA, Javascript
Texto