> And NOW, I am forced to include that exotic private READ_GMAIL
> permission to my Manifest.

Ah. My apologies. Not sure what to tell you about that, other than to
perhaps file an issue on b.android.com.

>
> Kevin
>
> On 4 mai, 00:43, Kevin Gaudin <[email protected]> wrote:
>> I just declared a default view intent-filter for archive mime-types...
>> and this is GMail which is calling my Activity, providing a content://
>> Uri to the attachment.
>> When I try to open that attachment, I am now asked for a permission...
>> this is quite odd.
>>
>> My code is called the same way by any other app which is able to offer
>> to open this kind of file (like file managers).
>>
>> I did not use any GMail specific private API.
>>
>> Kevin
>>
>> On 4 mai, 00:23, "Mark Murphy" <[email protected]> wrote:
>>
>>
>>
>>
>>
>> > > But it's quite surprising to learn about this new permission
>> > > requirement in a crash-report for one specific device. Developing
>> user-
>> > > friendly apps is not possible when the rules change without warning.
>>
>> > The rule is: don't try using the Gmail application this way. Again,
>> the
>> > Gmail application is not part of the SDK. Interacting with that app
>> via
>> > private undocumented Intents is akin to hacking Outlook by trying to
>> > access its private undocumented .NET assemblies.
>>
>> >http://www.androidguys.com/2009/12/14/code-pollution-reaching-past-th...
>>
>> > --
>> > Mark Murphy (a Commons Guy)http://commonsware.com
>> > Android App Developer Books:http://commonsware.com/books.html
>>
>> > --
>> > 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
>> athttp://groups.google.com/group/android-developers?hl=en
>>
>> --
>> 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
>> athttp://groups.google.com/group/android-developers?hl=en
>
> --
> 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
>


-- 
Mark Murphy (a Commons Guy)
http://commonsware.com
Android App Developer Books: http://commonsware.com/books.html


-- 
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

Reply via email to