Hello Guys here I am going to tell you that how you can change your Android Device Unique ID...!!!
But before that you need to know that :
WHAT IS ANDROID UNIQUE ID ?
Each Android devices allow to read the device settings via the
class “Secure”. Especially for C2DM you have a need to uniquely identify the Android device so that you do not register the device several times for Cloud-to-device-messaging. From the Javadoc of “android.provider.Settings.Secure.ANDROID_ID”:
A 64-bit number (as a hex string) that is randomly generated on the device’s first boot and should remain constant for the lifetime of the device. (The value may change if a factory reset is performed on the device.)
Android ID which we retrieve using Secure.getString(getContentResolver(), Secure.ANDROID_ID);
Here is a little Activity which read this device identifier and shows it as a Toast.
1 package de.vogella.android.deviceinfo;
2
3 import android.app.Activity;
4 import android.os.Bundle;
5 import android.provider.Settings.Secure;
6 import android.widget.Toast;
7
8 public class ShowDeviceInfo extends Activity {
9 /** Called when the activity is first created. */
10@Override
11 public void onCreate(Bundle savedInstanceState) {
12 super.onCreate(savedInstanceState);
13 setContentView(R.layout.main);
14 String deviceId = Secure.getString(this.getContentResolver(),
15 Secure.ANDROID_ID);
16 Toast.makeText(this, deviceId, Toast.LENGTH_SHORT).show();
17 }
18}
This way you can make sure that certain thing a uniquely defined for your device.
ANDROID_ID seems a good choice for a unique device identifier. There are downsides: First, it is not 100% reliable on releases of Android prior to 2.2 (“Froyo”). Also, there has been at least one widely-observed bug in a popular handset from a major manufacturer, where every instance has the same ANDROID_ID.
But Guy's leave all these knowledgy stuff :)
Now How to Change Device Unique ID ?
But before that you need to know that :
WHAT IS ANDROID UNIQUE ID ?
Each Android devices allow to read the device settings via the
class “Secure”. Especially for C2DM you have a need to uniquely identify the Android device so that you do not register the device several times for Cloud-to-device-messaging. From the Javadoc of “android.provider.Settings.Secure.ANDROID_ID”:
A 64-bit number (as a hex string) that is randomly generated on the device’s first boot and should remain constant for the lifetime of the device. (The value may change if a factory reset is performed on the device.)
Android ID which we retrieve using Secure.getString(getContentResolver(), Secure.ANDROID_ID);
Here is a little Activity which read this device identifier and shows it as a Toast.
1 package de.vogella.android.deviceinfo;
2
3 import android.app.Activity;
4 import android.os.Bundle;
5 import android.provider.Settings.Secure;
6 import android.widget.Toast;
7
8 public class ShowDeviceInfo extends Activity {
9 /** Called when the activity is first created. */
10@Override
11 public void onCreate(Bundle savedInstanceState) {
12 super.onCreate(savedInstanceState);
13 setContentView(R.layout.main);
14 String deviceId = Secure.getString(this.getContentResolver(),
15 Secure.ANDROID_ID);
16 Toast.makeText(this, deviceId, Toast.LENGTH_SHORT).show();
17 }
18}
This way you can make sure that certain thing a uniquely defined for your device.
ANDROID_ID seems a good choice for a unique device identifier. There are downsides: First, it is not 100% reliable on releases of Android prior to 2.2 (“Froyo”). Also, there has been at least one widely-observed bug in a popular handset from a major manufacturer, where every instance has the same ANDROID_ID.
But Guy's leave all these knowledgy stuff :)
Now How to Change Device Unique ID ?
- You need to follow all the Steps.
- You need a Android handset ( kidding :) )
- Your Device First need to be rooted because we are going to make changes into Root part of Android.
- Android Device ID app. ( you can find the Download Link Below )
- Titanium Backup Pro ( Paid one ) ( But you also find this app below Free )
- Open Android Device ID app and note your Device Id.
- Now Open Titanium Backup App and grant Superuser Permission's if ask.
- now click on menu and then Main Menu screen appears.
- In Your Device Option Click on Manage Android ID.
- It asks Create New( Random) ID or Restore Android Id .,
- Select Create New.., and Reboot Device.
- Hurray Your Device Id changed.
- You can check it by going into Android Device Id app.
Here's the Video Tutorial To change Android Device ID
App Download Links
No comments:
Post a Comment