Ajay Singh
Ajay Singh

Reputation: 1621

Device SERIAL ID in android 1.6

how can i get serial number in API level 3?

Upvotes: 4

Views: 461

Answers (2)

f4.
f4.

Reputation: 3852

Depending on what you want to do there is several options :

More on the subject: http://android-developers.blogspot.com/2011/03/identifying-app-installations.html

Upvotes: 3

anon
anon

Reputation:

TelephonyManager manager = (TelephonyManager) yourActivity.getSystemService(Context.TELEPHONY_SERVICE);
String uid = manager.getDeviceId();

This is working since API level 1.

Upvotes: 2

Related Questions