Get the android UUID, Model and ID information.
1 2 3 4 5 6 7 8 |
import android.provider.Settings.Secure; import android.os.Build; import android.os.Bundle; String device_uuid = Secure.getString(this.getContentResolver(),Secure.ANDROID_ID); System.out.println(device_uuid); System.out.println(Build.MODEL); System.out.println(Build.ID); |
If you want to get your UUID, model or ID information with phonegap,
then you have to place these lines in your core java file between:
public void onCreate(Bundle savedInstanceState) { }
Leave a Reply