metalx1000

Android open local HTML as GUI shell script

Jul 19th, 2020
1,413
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #!/bin/sh
  2. GUI="/data/local/tmp/GUI"
  3. echo "<h1>Hello World</h>" > $GUI
  4. am start -a android.intent.action.VIEW -d file://$GUI -t text/html
RAW Paste Data