import android
droid = android.Android()
msgs = droid.smsGetMessageIds(False,'inbox')[1]
for msg in msgs:
droid.smsDeleteMessage(msg)
Okies now, smsGetMessageIds(False,'inbox') must return a list of ids, False as
in Boolean unreadOnly is set to false, so this must delete all the sms that are
read, but even with long chain of read SMS text in inbox, it's not really
removing them all.
Original issue reported on code.google.com by hemanth...@gmail.com on 28 Aug 2011 at 4:10
Copied from original issue: damonkohler/android-scripting#561
From @GoogleCodeExporter on May 31, 2015 11:30
Original issue reported on code.google.com by
hemanth...@gmail.com
on 28 Aug 2011 at 4:10Copied from original issue: damonkohler/android-scripting#561