Strict Standards: Non-static method utf_normalizer::nfc() should not be called statically in /www/htdocs/w006661d/anddev/includes/utf/utf_tools.php on line 1781
[phpBB Debug] PHP Notice: in file /includes/session.php on line 1007: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/session.php on line 1007: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/session.php on line 1007: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)

Strict Standards: Non-static method utf_normalizer::nfc() should not be called statically in /www/htdocs/w006661d/anddev/includes/utf/utf_tools.php on line 1781
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4362: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4364: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4365: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4366: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
anddev.org • View topic - Difference between Browser.apk and WebView using Proxy

Difference between Browser.apk and WebView using Proxy

Problems with WiFi, SQLite ,Bluetooth, WiMax, Proxies, etc...

Difference between Browser.apk and WebView using Proxy

Postby Keisuke » Wed Apr 16, 2008 9:05 am

Hi anddev community :D

I have a question about WebView class regarding HTTP PROXY.
I have setup HTTP Proxy in Android Emulator as follows.

select * from system;
1|music_volume|3
2|voice_volume|3
3|ringer_volume|3
4|dim_screen|0
5|stay_on_while_plugged_in|1
6|screen_off_timeout|30000
7|font_scale|1.0
30|http_proxy|10.18.100.11:3128 <===

When using Browser.apk(com.google.android.browser). Android Emulator access to web page via HTTP proxy as follows.

netstat
Proto Recv-Q Send-Q Local Address Foreign Address State
tcp 0 0 127.0.0.1:5900 0.0.0.0:* LISTEN
tcp 0 0 127.0.0.1:5037 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:5555 0.0.0.0:* LISTEN
tcp 0 0 10.0.2.15:5555 10.0.2.2:4127 ESTABLISHED
tcp 0 1 10.0.2.15:60284 10.18.33.206:8080 CLOSE_WAIT
tcp 0 0 10.0.2.15:39690 10.18.100.11:3128 ESTABLISHED <==

However, when using simple webview code, Android Emulator access to web page directly as follws.

netstat
Proto Recv-Q Send-Q Local Address Foreign Address State
tcp 0 0 127.0.0.1:5900 0.0.0.0:* LISTEN
tcp 0 0 127.0.0.1:5037 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:5555 0.0.0.0:* LISTEN
tcp 0 0 10.0.2.15:5555 10.0.2.2:2564 ESTABLISHED
tcp 0 0 10.0.2.15:49999 10.18.33.206:8080 ESTABLISHED <==
udp 0 0 10.0.2.15:32768 10.0.2.3:53


Do anyone know How WebView can use HTTP Proxy?

Thank you
Keisuke
Freshman
Freshman
 
Posts: 3
Joined: Fri Mar 14, 2008 3:10 am

Top

Return to Networking & Database Problems

Who is online

Users browsing this forum: No registered users and 5 guests