Skip to content

Instantly share code, notes, and snippets.

@riverfor
Created January 30, 2020 12:52
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save riverfor/a9893a7e61409a0ee8fd6ce8f52a1a3f to your computer and use it in GitHub Desktop.
Save riverfor/a9893a7e61409a0ee8fd6ce8f52a1a3f to your computer and use it in GitHub Desktop.
from androidhelper import Android
droid = Android()
ret1 = droid.makeToast("Hello").result
#ret2 = droid.getPassword("password","Please input").result
ret3 = droid.notify("notify title","notify message", "https://www.qpython.org").result
ret4 = droid.getNetworkStatus().result
ret5 = droid. sendEmail("support@qpython.org", "Hello", "This is the body").result
print([ret1,ret3,ret4,ret5])
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment