guardianproject / Orweb

We are EOL this project. Please use Lightning Browser or wait for Orfox instead
https://guardianproject.info/2015/06/30/orfox-aspiring-to-bring-tor-browser-to-android/
Other
91 stars 45 forks source link

Integrate with Download Manager #16

Closed g4jc closed 11 years ago

g4jc commented 12 years ago

Currently it is not possible to download .exe/.apk etc. in Orweb onto your device. It would be very beneficial in some cases. Also integrating it with the default Android download manager will display your downloads and their status in the status bar at the top - Dolphin Browser already does this.

MattiL commented 12 years ago

It is not possible to download PDF files either.

Tritonio commented 12 years ago

Actually it would be better to have its own download manager. Sony Ericsson for example replaces the download manager with its own app (almost identical) so it would be a mess to keep it safe across all different download managers.

CptnBrittish commented 12 years ago

As I understand it there is no capabilty to download files in Orweb as it would create privacy concers because of the permissions required to save to local storage. If it would be possible to do this without the permissions being required or to display a notice indicating that it does not collect infomation from local storage this should be easy to implement from the android browser source.

n8fr8 commented 11 years ago

We have implemented support for DownloadManager proxied through a simple localhost web server inside of Orweb, that handles the downloading via Tor or whatever the configured HTTP proxy is.

The user is prompted to allow downloading to being, and prompted after if they want to open the file.

The files are saved to the app's external storage folder /sdcard/Android/data/info.guardianproject.browser.. etc and named with a random id, with no connection to the original URL of the file.

We are planning to implement a more integrated download option, with encrypted local storage, but for now, this seems to be working well. Please try this feature out in the next release coming in the next few days.

Tritonio commented 11 years ago

Thank you n8fr8. The new version sounds like a great improvement.