PC SOFT

GRUPOS DE DISCUSSÃO PROFISSIONAL
WINDEVWEBDEV e WINDEV Mobile

Inicio → WINDEV Mobile 2024 → Powerstatus functions does'nt work
Powerstatus functions does'nt work
Iniciado por VEGEboss, mai., 10 2019 8:13 AM - 1 resposta
Membro registado
88 mensagems
Publicado em maio, 10 2019 - 8:13 AM
please consider this piece of code

sMsg is ANSI string

Info ( PowerStatus(ChargeLevel, True) )

sMsg=ErrorInfo()

// Error found?
IF ErrorOccurred = True THEN
Info(sMsg)
END


it should run at the end of the Main Window initialization,
but when I deploy it to my Android smartphone… the App
does nothing.
Simply, quit.

Any suggestion?

(I tried on 2 dofferent Phones)
Membro registado
88 mensagems
Publicado em maio, 10 2019 - 8:55 AM
Solved.

Stupid error in configuration, nothing to do with PowerStatus function