GitXplorerGitXplorer
g

android-ado

public
0 stars
0 forks
0 issues

Commits

List of commits on branch master.
Unverified
622ccd40745984c93ba4c77786c0cd651f208d23

Add ideas from hub

ggmale committed 8 years ago
Unverified
e70d0e97f1844b974e9ca99d497b5fca0dba29aa

Updated readme

committed 9 years ago
Unverified
da0532f8f00c91d3a00c29a4c5a5f06e01eab9d3

Merge branch 'master' of github.com:gmale/android-ado

ggmale committed 9 years ago
Unverified
985af1cfc888313ff597304c1990c59f9e35f6e6

add my gitignore

ggmale committed 9 years ago
Unverified
4a7da5b8512299d9784ba55f48263654b8ba18c0

Editing readme with some initial ideas

committed 9 years ago
Unverified
5030f808bd42663083a573ccea4bc7fb9afee696

Initial commit

committed 9 years ago

README

The README file for this repository.

android-ado

Android Debug Overpass


A utility that leverages Android Debug Bridge to make life a little easier.

For the developer who spends a lot of time on the commandline, ADB can be a bit cumbersome to use. This helps make day-to-day life easier by reducing friction in the following areas for the app that's being developed:

  • clearing an app's cache
  • deleting an app
  • working with multiple devices
    • simultaneous installs
    • simultaneous deletes
    • setting and active device
    • aliases for devices

Features

Defaults

When you install an APK it sets common sense defaults including, the default APK file name, the default package name and the default device.

Installation Instructions

  1. git clone https://github.com/gmale/android-ado.git
  2. TODO: complete this list

Usage Examples

$ ado -i
enters interactive mode, which is great for multiple actions. In this mode, pressing single keys will intiate common actions.

p - set the default package name. auto-complete to select the right one.
a - set the default APK
c - clear cache. auto-complete to select the package to clear
C - clear cache. uses the default package.
i - install. brings up the list of APKs in the build/outputs/apk folder. From there, type the number of the corresponding APK to install
I - install the default APK

$ ado install
installs the defualt APK onto the default device

Aliasing

// TODO: reword this language borrowed from Hub (https://github.com/github/hub)

Using ado feels best when it's aliased as adb. This is not dangerous; your normal adb commands will all work. ado merely adds some sugar.

ado alias displays instructions for the current shell. With the -s flag, it outputs a script suitable for eval.

You should place this command in your .bash_profile or .zshrc or other startup script:

eval "$(hub alias -s)"