dya2 / android-scripting

Automatically exported from code.google.com/p/android-scripting
0 stars 0 forks source link

smsDeleteMessage() on read messages. #561

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
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

GoogleCodeExporter commented 9 years ago
Happens to me too...

Original comment by yony.ryb...@gmail.com on 16 Nov 2014 at 3:13