String id =Context.getSystemService (Context.TELEPHONY_SERVICE).getDeviceId();
should do what you need. On Jan 28, 12:19 pm, JS <[email protected]> wrote: > Is there a way to get a unique phone identifier? Like the ID when > install the apk on the phone via Eclipse? > > I need something to differentiate my phone from my friends when > testing an app. > > Thanks --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~----------~----~----~----~------~----~------~--~---

