0

I have configured a proxy on my Android device. I'm developing an aplication in which I need to make a HTTP get throught the proxy. I can make the HTTP get but I MUST set again the user and password into the httpclient, so, how I can get the proxy credentials stored in the android device?

thanks.

Chris
  • 327
  • 2
  • 6
  • 22

2 Answers2

0

I think that this could help you: https://stackoverflow.com/a/1626616/355465

Community
  • 1
  • 1
lechuckcaptain
  • 1,032
  • 1
  • 9
  • 25
0

cntlm is free local proxy (http://cntlm.sourceforge.net/) and can be used as a middle-ware between your device and the proxy with user name , it has option with cntlm -H to store your password , so you do not need to change your code, just configure the device to use cntlm proxy