![]() |
Help me. about use python delete sms.
First, Sorry, I'm not good at English.
I want devel a application, it's can auto delete AD SMS,code use python. this is code: Code:
I search some code form google.com. like this: Code:
I don't why? every body can help me? |
Re: Help me. about use python delete sms.
I don't why?
Change: I don't know why? this forum can't edit thread? |
Re: Help me. about use python delete sms.
oh. ****. no reply.....
|
Re: Help me. about use python delete sms.
Both ways should work, but
the direct sqlite3 commands only changes the database and the conversation app (appname rtcom-messaging-ui) didn't get notified about the database change. A cleaner way is to use the conversation backend rtcom-eventlogger. Every change through this interface notifies any listeners (like the rtcom-messaging-ui). The below code deletes an event with event_id 3332. As it uses rtcom-eventlogger api, the conversation app should be notified and don't list the message with this id anymore. Code:
import glib |
| All times are GMT. The time now is 10:02. |
vBulletin® Version 3.8.8