Titanium Community Questions & Answer Archive

We felt that 6+ years of knowledge should not die so this is the Titanium Community Questions & Answer Archive

Accessing URLs in apps through a proxy server

I am building an app that will access some URLs. I want the app to work on Android mobiles from behind a proxy server that may use authentication - a typical corporate environment. In Froyo, you can set a universal proxy server/port in the settings and the phone's browser works fine with these proxy settings. I want my app to pick up this same universal setting and use it. Can anyone suggest code that can do this? I have tried using the methods Titanium.Network.setHTTPProxy and Titanium.Network.getHTTPProxy but the documentation is a bit scant and I can't get the proxy environment working for my app so that var load = win.open('….') will work.

— asked September 27th 2010 by Chris Griffith
  • android
  • froyo
  • mobile
  • samsung
0 Comments

0 Answers

The ownership of individual contributions to this community generated content is retained by the authors of their contributions.
All trademarks remain the property of the respective owner.