I have a ContentProvider class that I want to securely expose to 3rd
party apps using Android's read/write permissions in the <provider>
tag of the manifest.

I prefer to have two content providers though: my main provider and an
externally accessible provider would access the main provider for
content.

This isn't working though because I get this error when a 3rd party
app calls my external provider:
UnsupportedOperationException: Only CrossProcessCursor cursors are
supported across process for now.

The programming logic for this error is that ContentResolver's wrap
cursors within a CursorWrapperInner class that doesn't extend
CrossProcessCursor.

Curiously the 3rd party app doesn't throw an exception if calling my
main provider directly.  The exception only occurs when one provider
calls another.

I hope somebody can make sense of this and offer a suggestion.

Thanks

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to