the emulator detects wether the ANDROID_PRODUCT_OUT environment variable is
defined
(this variable is normally set by build/envsetup.sh)

if it is defined, the program assumes that you are building the Android
sources and will
automatically detect which files to get to launch the most recent system
image. It will also
use the data partition that is in $ANDROID_PRODUCT_OUT/userdata-qemu.img
(creating it if necessary)

on the other hand, if ANDROID_PRODUCT_OUT is *not* defined, the program
assumes that it
is launched from the SDK, and will search a few paths to auto-detect the
corresponding kernel/system images.
Also, it will in this case use $HOME/.android/userdata.img to store your
data partition.

this is done to use a single binary for both the SDK and Android build uses,
and explains why you
see the current behaviour.

2008/12/4 taosinker <[EMAIL PROTECTED]>

>
> Brian:
> Thanks for your response.
>
> After I double check the issue, I found more strange things.
>
> If I lunch the emulator in file browser, the web browser in android
> can access the outside website.
> If I lunch the emulator in console by ./emulator command, the web
> browser in android cannot access the outside website.
>
> Regards
>
>
> On 12月4日, 下午5时15分, Brian <[EMAIL PROTECTED]> wrote:
> > Probably you forgot to configure APNs.
> > Go to Settings -> Wireless controls -> Mobile networks -> Access Point
> > Names
> > Press Menu to configure a new APN.
> >
> > On 12月4日, 下午5時01分,taosinker<[EMAIL PROTECTED]> wrote:
> >
> > > Hi all:
> > > Now I build the android code on ubuntu, in the build I can launch the
> > > emulator on unbuntu. I met a problem, I cannot connect the website in
> > > the emulator. But under the same network env, the android emulator on
> > > windows xp can connect the website.
> > > I don't know the reason. Who can help me?
> >
>

--~--~---------~--~----~------------~-------~--~----~
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