Skip to content

Instantly share code, notes, and snippets.

@gsathya
Created September 2, 2011 15:21
Show Gist options
  • Save gsathya/1188901 to your computer and use it in GitHub Desktop.
Save gsathya/1188901 to your computer and use it in GitHub Desktop.
Routing through orbot
HttpClient httpclient = new DefaultHttpClient();
HttpPost httppost = new HttpPost("http://blip.tv/file/post");
HttpHost proxy = new HttpHost("localhost", 8118);
httpclient.getParams().setParameter(ConnRoutePNames.DEFAULT_PROXY, proxy);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment