How identify instance of an app

0

Hi everyone, 

i'm creating an app, and I need to have a unique identifier for each instance of the app.

I like to know what is the best way to create this identifier and how to store it in a way that in case the user wipes the application data the handle remains stored in the device.

 

 

 

Responses (2)
  • Accepted Answer

    Tuesday, December 05 2017, 05:05 AM - #Permalink
    0

    Hi

    after trying many ways to solve this problem, I found this solution:

    JStringToString(TJSettings_Secure.JavaClass.getString( SharedActivity.getContentResolver, TJSettings_Secure.JavaClass.ANDROID_ID)); 

     

    The reply is currently minimized Show
  • Accepted Answer

    Monday, November 13 2017, 02:15 PM - #Permalink
    0

    https://developer.android.com/training/articles/user-data-ids.html

    The reply is currently minimized Show
Your Reply

Please login to post a reply