Delete Gmail Emails Programmatically
Solution 1:
Apart from whatever your problem seems to be (you did not specify it, but it sounds like you can read the mails?), you cannot really rely on this feature.
The last version for which this works is 2.3.4.1 See: http://groups.google.com/a/googleproductforums.com/forum/#!category-topic/gmail/reading-and-receiving-messages/XD0C4sw9K7U
In the near future, we are going to make a change which may affect your apps. Historically, the Gmail app has exposed an undocumented Content Provider, protected by a non-public Permission value, that allows apps granted permission by the user to read users' email and also execute live queries. We have determined, as part of our continuous effort to improve the level of security of Gmail, that this API does not meet modern security standards. Therefore, we will be disabling it in the next update to Gmail on Android devices running Froyo and later releases.
And secondly, I don't think this method was more then just read
permission.
Post a Comment for "Delete Gmail Emails Programmatically"