Hi, We are having trouble handling our custom mime type when it is accessed from the Android browser. If we do NOT specify a ContentDisposition, with this in our AndroidManifest.xml file: <intent-filter> <action android:name="android.intent.action.VIEW" /> <category android:name="android.intent.category.DEFAULT" /> <category android:name="android.intent.category.BROWSABLE" /> <data android:mimeType="application/x-mofi" /> </intent-filter>
The browser downloads the file with our mime type and shows its name in a list. if you then click on the file in the list, it starts our mime handler - which is ok. However, we would like to have the browser start our mime handler without prompting the user with the download file list. So, we change the manifest.xml file to be: <intent-filter> <action android:name="android.intent.action.VIEW" /> <category android:name="android.intent.category.DEFAULT" /> <category android:name="android.intent.category.BROWSABLE" /> <data android:scheme="http" /> <data android:scheme="file" /> <data android:mimeType="application/x-mofi" /> </intent-filter> Now, our handler gets called automatically without prompting - which is fine. (However, it would be nice if we knew where the file was downloaded to, or if it was downloaded so that we don't have to re- pull the http request to get the data.) The problem tho, is that if we specify the ContentDisposition to be inline, then our handler does not get called - regardless of whether we have the scheme specified as above or not. How do we get our handler called when the ContentDisposition is inline? Greg Boopsie - Type Less, Find More --~--~---------~--~----~------------~-------~--~----~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~----------~----~----~----~------~----~------~--~---