Salut
Perso j'utilsie cela et cela fonctionne nickel
Bonjour visiteur, Merci de vous Inscrire ou de vous connectez pour voir les liens!
-
Bonjour tout le monde ! Veillez consulter la Politique de forum pour comprendre nos règles, Merci a vous !Rejeter la notice
Unique Serial Number/Identification of Mobile
Discussion dans 'Windev Mobile' créé par sanyad, Jan 19, 2021.
meme principe mais avec un fichier.
DearBonjour visiteur, Merci de vous Inscrire ou de vous connectez pour voir les liens!
, following code:
[windev]
varUUID is an UUID=loadparameter("varUUID","00000000-0000-0000-0000-000000000000")
if varUUID="00000000-0000-0000-0000-000000000000" then
SaveParameter("varUUID",GetGuid())
end[/windev]
The issue is that the saveparameter will be empty after closing the app in android and during next time u run the app, it loadparameter will show empty string.
saveparameter & loadparameter works only if the app is not closed.
Any suggestion?
In addition to above SysIndetifier() command is also said to be unique.
Just checking and report back soon.
DearBonjour visiteur, Merci de vous Inscrire ou de vous connectez pour voir les liens!
, following code:
[windev]
varUUID is an UUID=loadparameter("varUUID","00000000-0000-0000-0000-000000000000")
if varUUID="00000000-0000-0000-0000-000000000000" then
SaveParameter("varUUID",GetGuid())
end[/windev]
The issue is that the saveparameter will be empty after closing the app in android and during next time u run the app, it loadparameter will show empty string.
saveparameter & loadparameter works only if the app is not closed.
Any suggestion?Cliquez pour agrandir...