Android

keyboard shortcuts

here are some useful keyboard shortcuts. I'm using microsoft wedge bluetooth keyboard and android v4.1, it might be invalid for different device or android version.

stock browser

chrome and firefox support keyboard shortcuts too, but I found the stock browser is the best one working with external keyboard.

useful:

  • space / shift space: page up/down
  • ctrl tab / ctrl shift tab: switching between tabs (forward/backward)
  • ctrl 1: jump to first tab, use 2, 3, 4 ... for each tab
  • ctrl n or ctrl t: open new tab
  • ctrl w: close current tab
  • ctrl l: location bar
  • ctrl b: open bookmarks
  • ctrl f: find in page
  • ctrl left arrow: go back (esc is system back, also works)
  • ctrl right arrow: go forward
  • atl pgup: top of page
  • alt pgdn: end of page

not so useful:

  • ctrl s: share
  • ctrl d: bookmark current page
  • ctrl q: quit/minimize menu
  • ctrl i: zoom in
  • ctrl o: zoom out
  • ctrl p: open settings
  • ctrl a: select all
  • ctrl g: page info
  • ctrl h: go to homepage
  • ctrl j: open downloads

system wise shortcuts

you can use these shortcuts anywhere

  • esc: go back
  • menu: open menu
  • alt tab: recent apps, hold Alt and keep pressing Tab to move to next icon
  • win b: open stock browser
  • win l: open calendar
  • win e: open email
  • win p: open music
  • win c: open contact
  • win a: open calculator

there're many others, but i didn't find anything else is useful for my daily work.

console on non-root device

I'm using zopo zp950 (a samsung note clone), which is difficult to be root. But there are useful apps could provide workarounds.

terminal ide

includes console (with tmux!), busybox tools and customized vim for android java development, also a useful soft keyboard.

it doesn't support dns resolving, use jping domain to get ip.

it doesn't have scp, but can use rsyc: alias scp='rsync -avzP'

alias ssh='ssh -i ~/.ssh/id_rsa'
alias scp='rsync -avzP -e "ssh -i /data/data/com.spartacusrex.spartacuside/files/.ssh/id_rsa"' 

vim touch

vim on your android, but it doesn't support dropbox

droidedit

supports dropbox, sftp, git repository. usually i edit with vim touch and upload/download with droidedit.

sl4a

supports python, jruby, perl, rhino, php, beanshell. with some extra works you could run them under terminal ide, but spend some money for a vps is more practical.

Search Blog: