Advertisement
metalx1000

Android open local HTML as GUI shell script

Jul 19th, 2020
1,932
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.14 KB | None | 0 0
  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
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement