Downloading files in an Android 3.0 browser from my ASP.NET site
<p>I'm having an issue downloading a PDF file from my custom asp.net site in the out of the box browser on an Android tablet (a Motorola Xoom).</p>

<p>I'm using Response.OutputStream.Write to send the file because it's having to read the file from a UNC path. This method works on IE, Firefox, Safari, and on iPad, but doesn't work on the browser on the Xoom. However, when I downloaded Firefox on the Xoom I was able to download the file just fine. </p>

<p>I've found a couple of spots suggesting I use the following headers:
Content-Type: application/octet-stream
Content-Disposition: attachment; filename="MyFileName.PDF"</p>

<p>I've tried this with no luck. I also tried using Content-Types of application/pdf and application/force-download and every combination of filename capitalized, extension capitalized, extension lowercase, double quotes, single quotes, no quotes, etc... for Content-Disposition and have yet to find anything that works.</p>

<p>I have also found that if I execute the code to download the file on Page_Load it is able to download, but if I do a postback and then execute the code (clicking on a link button to download the file) it doesn't work</p>

<p>Has anyone been able to download a file using custom C# code on the OOTB Android 3.0 browser?</p>
