On Dec 29, 9:38 am, kris <[email protected]> wrote:
> You cannot set a global proxy as you noticed that it is denied with
> permission. Only apps that are signed with the same certificate of the
> firmware can set the proxy(permission level 3).
>
> One thing that you can do is to set a per connection based proxy. You
> can set proxy separately for WIFI and APN also. Under advanced setting
> in WIFI you set WIFI proxy and for APN you already know as you did in
> emulator.
>
> Hope this helps.
>
> Thanks
> Krishna
>

Thanks Krishna for your help.Now can I set the http proxy from code ?
I mean what I do from APN settings is it possible to do from a piece
of code ? I tried inserting http_proxy row in system table,I tried
with System.puutString and Secure.putString all failed.

Let me explain the requirement thoroughly.One service will be there
which will be periodically monitoring the MCCMNC.When user is in local
network the first 5 digit of IMSI will be same as the MCCMNC.When
first 5 digit of IMSI is different from MCCMNC the proxy configuration
for APN will be done.

Thanks & Regards,
Arka

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to