Right, I understand the "signatureOrSystem" property, but QuickOffice
let's you not only get the file, but also the filename. Maybe the
company that wrote quickoffice has the signature?

I think this is a pretty big issue. When I click to open an email
attachment, I should be able to open it in whatever app I select.
Furthermore, I can get an inputstream of the attachment, I just can't
get the MIME-type or filename. From a security point of view, I am not
entirely sure how much sense this makes?

There has to be a way to do this.

On Feb 23, 1:07 pm, Kostya Vasilyev <[email protected]> wrote:
> 23.02.2011 21:00, Jonathan Nalewajek ?????:
>
> > After I installed the app, I saw this in the log files...
>
> > 02-23 12:33:41.348: WARN/PackageManager(1086): Not granting permission
> > com.android.email.permission.ACCESS_PROVIDER to package
> > com.my.packagename (protectionLevel=3 flags=0x9e44)
>
> This is the definition:
>
> <permission android:name="com.android.email.permission.ACCESS_PROVIDER"
> *android:protectionLevel="signatureOrSystem"*
>                  android:label="@string/permission_access_provider_label"
>
> android:description="@string/permission_access_provider_desc"/>
>
> The email program's content provider can only be accessed by either the
> system, or by applications signed with the same key. This rules out
> "ordinary" 3-rd party applications.
>
> --
> Kostya Vasilyev --http://kmansoft.wordpress.com

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