I have an app that uses the com.android.email.attachmentprovider and I am getting the same permission error. If this provider has been locked away with the only access being a private permission I would like to inquire as to how I am supposed to get the metadata of an attachment? I have an app that wakes up when given certain Uris and when I get a Uri from the Email app, shouldn't I be given some permission somewhere to view the metadata of the attachment whose contents I have permission to retrieve?
If nothing else, I think it would be considerate if the Intent at least contained the MIME type of the attachment similar to the way Gmail creates its Intent (currently, the Email open attachment intent.getType() is null). Just trying to understand how it is supposed to work. I am glad a permission was put in to protect email data, but I am disappointed that it is not a public permission that we can access if desired. -- Ryan On Jan 6, 9:25 pm, Dianne Hackborn <[email protected]> wrote: > This is private to the e-mail app. Other apps do not get to access it. > > On Wed, Jan 6, 2010 at 6:36 PM, sure zhang <[email protected]> wrote: > > Anybody can help? > > > -- > > 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]<android-developers%[email protected]> > > For more options, visit this group at > >http://groups.google.com/group/android-developers?hl=en > > -- > Dianne Hackborn > Android framework engineer > [email protected] > > Note: please don't send private questions to me, as I don't have time to > provide private support, and so won't reply to such e-mails. All such > questions should be posted on public forums, where I and others can see and > answer them. -- 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

