Hi all.
Is it safe to use a code like this to get unique phone id? It works on my Android 10 phone today. But what about tomorrow? Or Advertising ID is a only safe way?
Sub GenerateID() As String
Try
Dim P As Phone
Dim IDAndroid As String=P.GetSettings("android_id")...
I'm getting error of READ_PHONE_STATE permission.
Error :
java.lang.SecurityException: getDeviceId: Neither user 10200 nor current process has android.permission.READ_PHONE_STATE.
code:
Dim rp As RuntimePermissions
rp.CheckAndRequest(rp.PERMISSION_READ_PHONE_STATE)
Dim pid As...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.