proxy settings for emulator

by Chihau Chau » Tue, 28 Oct 2008 01:26:55 GMT

Sponsored Links
 I want to set a proxy server for my android emulator but the setting
doesn't work.

I have tried with "./emulator -http-proxy" but I
don't have access to internet

Chihau Chau


proxy settings for emulator

by David Turner » Thu, 30 Oct 2008 19:17:39 GMT

 should be fixed in the next SDK release. Sorry for the annoyance


Sponsored Links

proxy settings for emulator

by David Turner » Mon, 03 Nov 2008 15:30:39 GMT

 CC-ing android-beginners (please do not write to me directly)

I believe that proxy support in the web browser was left out due to
release/timing pressure,
and this may not work properly in the current SDK. The next SDK release will

- the same browser implementation
- a re-implemented -http-proxy option that should work by transparently
rewriting HTTP requests.

Regarding the DNS issue, the emulated system uses by default the DNS servers
by the emulator at startup on your system. You can however provide your own
list of DNS
server with the -dns-server option. Please read "emulator -help-dns-server"
for more details.

on the other hand, we don't plan to restrict which sites the proxy is used
for. You should use
a intermediate proxy to do the filtering, and connect the emulator to it
through -http-proxy.


Other Threads

1. Strange NullPointerException in WebView.onTouchEvent in Android 2.1 Update 1

For some reason, since upgrading to Android 2.1 Update 1 (stock Nexus
One), I occasionally get NullPointerException in WebView.onTouchEvent
method. It does not happen all the time and that makes it difficult to
track down.  Here is the stack trace:

        at android.webkit.WebView.onTouchEvent(
        at android.view.View.dispatchTouchEvent(
        at android.view.ViewGroup.dispatchTouchEvent(
        at android.view.ViewGroup.dispatchTouchEvent(
        at android.view.ViewGroup.dispatchTouchEvent(
        at android.view.ViewGroup.dispatchTouchEvent(
        at android.view.ViewGroup.dispatchTouchEvent(
        at android.view.ViewRoot.handleMessage(
        at android.os.Handler.dispatchMessage(
        at android.os.Looper.loop(
        at java.lang.reflect.Method.invokeNative(Native Method)
        at java.lang.reflect.Method.invoke(
        at dalvik.system.NativeStart.main(Native Method)

It appears to happen after the device resumes from sleep. I also tried
looking at the latest repo source, but the line number (3977) while it
is in the correct function is on line that does not make much sense to
cause the exception.

Has anyonhe seen a similar issue or knows where to get the correct
source of that matches the released 2.1 Update 1?



2. Eclipse Emulator

I set up Eclipse as directed on the android development site, and ran
the emulator after building one of the sample apps. The emulator comes
up and just displays some text and doesn't function after that. The
program doesn't even seem to run.

I am following the steps on the site exactly (or at least I think I
am), but no matter what program I try to run on the Emulator it never
seems to function (just displaying that same message).

Has anyone come across this before/know of the easy fix?


3. ALSA mixers

4. Search @ Market

5. Launcher activity

6. i want to control speed "ellipsize=marquee"

7. Problem in switching views