• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Jeanne Boyarsky
  • Liutauras Vilda
Sheriffs:
  • Rob Spoor
  • Bear Bibeault
  • Tim Cooke
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Piet Souris
Bartenders:
  • Frits Walraven
  • Himai Minh

Configuring the proxy from code

 
Ranch Hand
Posts: 103
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,
I have a requirement like as following

Now I am able to browse the web from the emulator after I configure the proxy from "settings -> wireless network -> Mobile network -> Access Point name -> Telkila -> proxy".Now I came to know that proxy configuration can also be done by inserting (99,'http_proxy','<proxy_host>:<proxy_port>') in /data/data/com.android.providers.settings/settings.db.system table.So I inserted the following row (99,'http_proxy','10.203.227.227:80').But after inserting this I am unable to browse the web through the emulator.My strategy was like inserting this row from my code.But this doesn't seem to be working.Is there any other way that I can configure proxy settings from code.Please help me on this as I am struggling a lot on this.And sorry for repeating the same post.But it is very urgent need.
Regards,
Arka
 
Rancher
Posts: 1369
1
Android Eclipse IDE Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Search this forum for similar discussions, you should be able to find answer. I assure you this has been asked many a times before.
 
You showed up just in time for the waffles! And this tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
reply
    Bookmark Topic Watch Topic
  • New Topic