PC SOFT

FORUMS PROFESSIONNELS
WINDEVWEBDEV et WINDEV Mobile

Accueil → WINDEV Mobile 2024 → Powerstatus functions does'nt work
Powerstatus functions does'nt work
Débuté par VEGEboss, 10 mai 2019 08:13 - 1 réponse
Membre enregistré
88 messages
Popularité : +2 (2 votes)
Posté le 10 mai 2019 - 08:13
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)
Membre enregistré
88 messages
Popularité : +2 (2 votes)
Posté le 10 mai 2019 - 08:55
Solved.

Stupid error in configuration, nothing to do with PowerStatus function