All of Android's file mappings are based on MIME types. As long as your web server is returning the correct MIME type, you can implement an activity that says it knows how to VIEW that MIME type and it will be launched when the user clicks on such a file after downloading it.
On Mar 26, 3:34 am, Amos <[EMAIL PROTECTED]> wrote: > Hi, > > I would like to implement the following scenario: > > When a user browses a web page with Browser and clicks a link with a > special file extension (which is unique to my application, such as > "www.mysite.com/somefile.xxx"), that file will be downloaded and then > my application launched to view the downloaded file. > > I'd like the browser to handle the file download if possible, and when > it's done start one of my activities and provide the file to it. > > This is desktop behavior and I'm not sure it conforms to the Android > intent/content provider way of doing things - but this is what I'd > like to happen. > > Any ideas or pointers? > > Thanks in advance, > > Amos --~--~---------~--~----~------------~-------~--~----~ 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] Announcing the new M5 SDK! http://android-developers.blogspot.com/2008/02/android-sdk-m5-rc14-now-available.html For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~----------~----~----~----~------~----~------~--~---