[tor-talk] Fwd: [guardian-dev] NPTor News - an OnionKit Sample App

Nathan Freitas nathan at freitas.net
Thu Nov 15 16:38:01 UTC 2012


Proof that streaming media, well at least radio, can work well over
mobile Tor.

This uses TCP-based progressive download of audio, and not true UDP/RTP
streaming.

-------- Original Message --------
Subject: [guardian-dev] NPTor News - an OnionKit Sample App
Date: Tue, 13 Nov 2012 04:09:32 +0530
From: Nathan of Guardian <nathan at guardianproject.info>
Organization: The Guardian Project
To: guardian-dev <guardian-dev at lists.mayfirst.org>


As a test, I just made this "NPToR News" based on the NPR open source
news/podcasting app... NPR = the U.S.-based National Public Radio
service. They offer their app and API as open-source/open-protocol code
here:
https://code.google.com/p/npr-android-app

I am happy to report that listening to the radio over Tor is a pretty
decent experience, even over 3G.

I've modified the app to:

1) use HTTPS connections with the OnionKit's StrongHTTPClient and
StrongTrustManager. You will see a "Secure Connection Active" notify in
the notification bar, for example, when it connects.

2) use HTTP Proxying to Orbot's Privoxy/Tor localhost 8118 proxy

3) use the OrbotHelper to check if Orbot is installed/running and prompt
the user appropriately to resolve any issues

4) removed all Google tracking, advert display in the app

You can find the project here:
https://github.com/guardianproject/nptornews/

Changes here (removed their google tracking code as well):
https://github.com/guardianproject/nptornews/commit/e0b37b8de2cff73684189a461c2f53fe36e376b6

StreamProxy changes here (live audiostream over proxy):
https://github.com/guardianproject/nptornews/commit/e0b37b8de2cff73684189a461c2f53fe36e376b6#L28L161

APK test download here:
https://github.com/guardianproject/nptornews/NPToRNews-2.4.apk/qr_code

More on OnionKit for Android here:
https://github.com/guardianproject/OnionKit

+n

+n
_______________________________________________
Guardian-dev mailing list

Post: Guardian-dev at lists.mayfirst.org
List info: https://lists.mayfirst.org/mailman/listinfo/guardian-dev

To Unsubscribe
        Send email to:  Guardian-dev-unsubscribe at lists.mayfirst.org
        Or visit:
https://lists.mayfirst.org/mailman/options/guardian-dev/nathan%40guardianproject.info

You are subscribed as: nathan at guardianproject.info




More information about the tor-talk mailing list