GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - orrc/android-scripts: Various Android-related scripts that may be useful for developers

BranchesTags
Open more actions menu

Latest commit

 

History

6 Commits
6 Commits

Folders and files

NameName
Last commit message
Last commit date
LICENCE
LICENCE
 
 
README.md
README.md
 
 
bash_fzf_android.sh
bash_fzf_android.sh
 
 
bash_fzf_git.sh
bash_fzf_git.sh
 
 

Repository files navigation

Scripts for Android Developers

This repo contains some stuff I use during Android development.

They lean heavily on the super-amazing fzf tool to enable interactive selection and fuzzy searching.

bash_fzf_android.sh

This contains three Bash functions:

  • apk — grabs an APK from a connected Android device or emulator, and names it according to its application ID and version code
  • device — returns the serial of a connected Android device or emulator
  • install — allows the selection of APK(s), and installs them onto one or more connected Android devices or emulators

bash_fzf_git.sh

This contains one Bash function:

  • b — shows a list of recent Git branches, allows one to be selected, and subsequently checks it out

Demos

TODO: Asciinema demos

Usage

Having copied the scripts somewhere, you can do something like this in your ~/.bashrc or equivalent, and then "source" that file:

# Android magic
[ -f ~/android/bash_fzf_android.sh ] && source ~/android/bash_fzf_android.sh

# Git magic
[ -f ~/android/bash_fzf_git.sh ] && source ~/android/bash_fzf_git.sh

Compatibility

These scripts have been tested by me on macOS, under Bash 4.x; portability to other shells or operating systems is unknown, but I've included suspected incompatibilities in the documentation before each function.

Licence

The MIT License (MIT)

Copyright (c) 2018 Christopher Orr

About

Various Android-related scripts that may be useful for developers

Resources

Readme
MIT license
Activity

Stars

9 stars

Watchers

1 watching

Forks

1 fork
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.