Take the 2-minute tour ×
Android Enthusiasts Stack Exchange is a question and answer site for enthusiasts and power users of the Android operating system. It's 100% free, no registration required.

Possible Duplicate:
How do I change the name of my Android device?

It has a really long cryptic name. I want to rename it to something shorter.

share|improve this question
    
Do you want to do this programmatically? –  Michael Petrotta Sep 8 '10 at 4:34
    
@Michael I don't think so. This guy just asked this stackoverflow.com/questions/3664630/… some minutes ago. He wants to change the name of his handset. @Sheeham I think it does not worth the effort though; you can always use copy&paste or create an alias (or direct access if you use Windows). –  Cristian Sep 8 '10 at 4:42
    
i just want to rename it, so i can type a shorter name into my terminal when im debugging. –  Sheehan Alam Sep 8 '10 at 4:47
1  
You don't need to retype at all, pressing the "up button" on most Linux terminals and Windows' command prompt will give you the previous commands you have typed. Also, Copy-pasting in Linux terminal is easy, just select the text and middle click. Copy pasting in Windows' command prompt is more tricky, but doable: softwaretipsandtricks.com/windowsxp/articles/124/1/…. Alternatively, just unplug the devices/emulator you're not using. Alternatively, if you're using Eclipse, you can set which device you want to debug on. –  Lie Ryan Jan 16 '11 at 7:46
add comment

migrated from stackoverflow.com Jan 16 '11 at 5:05

This question came from our site for professional and enthusiast programmers.

marked as duplicate by Matthew Read Aug 2 '11 at 15:10

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

1 Answer

If you are talking about when you do:

abd -s device-serial-number command

Then you can do this if it is the only device connected via USB:

adb -d command

But that will only work if you have just one device connected via USB, if there are more than one android devices connected via USB, it will return the "multiple devices" error.

share|improve this answer
add comment

Not the answer you're looking for? Browse other questions tagged or ask your own question.