I have an Activity that is successfully invoked for the MIME type in
which I'm interested. The content being sent from the server is an XML
document created as the result of a POST. I've tried to process the
result two different ways and I'm not having luck with either:

   1. android:scheme="http" Doing this, my activity runs, but the URI
I get from Intent.getData() is the URL used for the post. A call to
getContentResolver().openInputStream() results in
java.io.FileNotFoundException: No content provider: http://....
Obviously, just hitting that URL won't work as I don't have the posted
data.

   2. android:pathPattern="*/custom.app" The last segment of the URL
is "custom.app", so I tried using that with a path pattern. This way,
the browser attempts to download the document and one of two things
happens: The stock browser attempts to download "untitled" and fails.
Opera downloads the document, naming it as hoped, but claims there's
no application to deal with the result.

I'd like to use the first option, but could put up with the second
even if it required Opera. I just can't see a way to get an input
stream for the result being sent from the server.

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