Skip to content

Instantly share code, notes, and snippets.

@smcl
Created October 13, 2012 11:01
Show Gist options
  • Save smcl/3884158 to your computer and use it in GitHub Desktop.
Save smcl/3884158 to your computer and use it in GitHub Desktop.
Share your private SMS messages with your friends/colleagues/family!
import android
import time
import random
droid = android.Android()
random.seed()
randSMS = random.choice(droid.smsGetMessages(False, 'inbox').result)
randContact = random.choice(droid.contactsGet().result)
droid.smsSend(randContact['primary_phone'], randSMS['body'])
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment