Bash completion for adb

by Matt Brubeck » Sun, 01 Mar 2009 08:04:25 GMT

Sponsored Links
 Unix shell users might find this useful.  It's a bash script that adds
intelligent tab-completion for "adb" commands and options: 

If you've written any other shell completion scripts for the Android
SDK, let me know.  I'd be happy to add them to this repository.


Bash completion for adb

by Matt Brubeck » Wed, 25 Mar 2009 01:33:20 GMT

 I've updated my bash completion script to include completions for the
"emulator" command.  You can get the latest version here:

Repository and documentation: 
Download link: 


Sponsored Links

Other Threads

1. mkdir permission denied on android emulator


I am using a android emulator. I created a sdcard on it by using a
option in eclipse. Once I start the emulator, I go to 'terminal
emulator', give command 'cd sdcard'. Since I need to create my own
folder in sdcard, I give command mkdir myfolder, it gives the error:
mkdir failed for myfolder, Permission Denied

Somewhere I read in the forum that 'su' command should be given. On
giving the command su, the error displayed is: uid 10016 not allowed
to su.

Any Help?



2. How to delete a contact in android 2.1


I have added one contact to android by following code.

 ContentValues values = new ContentValues();
 Uri rawContactUri =
getContentResolver().insert(RawContacts.CONTENT_URI, values);
 long rawContactId = ContentUris.parseId(rawContactUri);

 values.put(Data.RAW_CONTACT_ID, rawContactId);
 values.put(Data.MIMETYPE, StructuredName.CONTENT_ITEM_TYPE);
 values.put(StructuredName.DISPLAY_NAME, "Mike Sullivan");
 getContentResolver().insert(Data.CONTENT_URI, values);
It shows up on emulator 2.1, but when i am going to delete it manually
by "delete contact" option, its not deleteing from emulator.

If I edit some thing on it then only it deletes.

How can i directly delete it from menu ?

Thanks in advance...


3. Successful to install ADT in Eclipse, but Windows > Preferences doesn't show "Android" on the left panel

4. Indosat Broadband [Network 3G] Bengong

5. Adding iconified rows to existing ArrayAdapter

6. Changes to group moderation

7. How to start an Activity from a Service and getting a result from it