Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- __author__ = 'nitro212'
- import os
- import time
- import platform
- def clear_screen():
- if platform.system() == "Windows":
- os.system('cls')
- else:
- os.system('clear')
- def install_apk():
- for filename in os.listdir('.'):
- #print filename
- os.system(r'adb install -r "filename"')
- time.sleep(2)
- clear_screen()
- print "Apps Installed Rebooting."
- os.system(r"adb shell reboot")
- install_apk()
- print "created by", __author__
- raw_input("Press ENTER to exit")
Advertisement
Add Comment
Please, Sign In to add comment