how to: download (via an http connection) and open or save a pdf file programmatically.
Say I have a button on my screen and the url to the pdf, when the button is clicked I want to download the pdf from the url and have the user presented with the choice to open or save the file. There must be a standard way to do something so commonplace, should I open the browser to the url or can I do this from my app?