Ok i got my first answer.Deleting a non primary account also deleted the associated mails with that account.
Thanks, Alok On Tue, Feb 8, 2011 at 12:20 PM, Alok Kulkarni <[email protected]> wrote: > Any answers ??? > > On Mon, Feb 7, 2011 at 7:55 PM, Alok Kulkarni <[email protected]> wrote: >> Hi, >> I am trying to delete all the mails of an existing account .Is that possible? >> When i tried to delete the accounts on the phone , i saw that i could >> delete all the accounts programatically except the primary account >> which i know that can be deleted only on phone reset.(In program i get >> false return value for the AccountManagerCallback)So it seems >> impossible to delete mails as the mails are loaded as and when needed >> for the account. >> So following are my questions. >> 1 ) Can we delete all the mails on the device of the non primary Email >> account? >> 2)Is there any way to delete the primary mail account programatically ? >> >> Thanks , >> Alok. >> > -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

