Hi Dan, I do want to use a proxy in a _real_ device, for the existing firewall and all the other built in apps. It sounds really stupid if there is no way to set a proxy even though there is a way to access it programmatically. I have to travel to a university quite frequently on work, and their network is accessible only through a proxy server!
Anybody knows if the option is hidden somewhere? Or at least an app that might help me do this? I wouldn't mind coding it myself, but unfortunately don't have the time! Thanks, Krishna. On Jan 3, 8:55 pm, DanG <dan.greenbl...@gmail.com> wrote: > Hi Krishna - > > Are you trying to set the proxy for the device as a whole, or just for > a specific app? > > If you're trying to use a proxy from within an application you're > working on, I'd recommend looking at > the API for URL.openConnection(Proxy p); one of the variants of this > call takes a proxy as an argument. > I've used it and it works quite well. > > If you're trying to get the device itself to work from behind a proxy > (i.e. browser, mail, all the built-in apps), I'm > not sure if it's possible to do this from the ui without doing some > fiddling around with adb commands. I've only > gotten this to work from an emulator, by SSH-ing into the device and > changing some tables in the settings database. > Never tried from a real device. > > Dan > > On Jan 3, 1:50 am, kpowerinfinity <kpowerinfin...@gmail.com> wrote: > > > Hi, > > > Is there a way to set the http proxy behind a wifi network? I looked > > around but couldn't find any option. Even a non-authenticated proxy > > setting will do. There's no way to do this in the settings page, and I > > could neither find any app that let's me do this. > > > Thanks, Krishna. > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~----------~----~----~----~------~----~------~--~---