Emulator is not able to connect to network

by Esther » Fri, 19 Dec 2008 14:25:42 GMT


Sponsored Links
 My emulator can't connect to network by Browser or Email application
but the PC does connect to internet properly with no proxy. The "3G"
icon on the emulator status bar never appears like the emulator
running on other PC. Could someone help me on this issue? (I'm using
the emulator in android-sdk-windows-1.0_r1)

--~--~---------~--~----~------------~-------~--~----~



Emulator is not able to connect to network

by David Turner » Fri, 19 Dec 2008 15:21:12 GMT


 first, use "emulator -wipe-data" to rest your /data partition.If this still
doesn't solve the problem, try updating to 1.0_r2 and let us know





--~--~---------~--~----~------------~-------~--~----~


Sponsored Links


Other Threads

1. Can we set the Nexus S Tag Id?

I am experimenting with an NFC tag reader, and I've found that when I have 
NFC turned on on my Nexus S, the tag reader is able to read my phone. The 
problem is that when the reader reads my phone it is detecting a 4 byte Id 
that changes on each read. 
I'm investigating the possibility of an application for my organization that 
requires that the Id be static. What exactly is going on here with the Id 
that's being read from my phone, and is it possible to make that Id static, 
or even set it to a specified value?

-- 

2. Help with Location Updates -- Resolved!

>>>>> "Jake" == Jake Colman <col...@ppllc.com> writes:

   Jake> My user tells me that the phone is in good working order, that
   Jake> he uses it to make phone calls, and that his GPS is functioning
   Jake> and on.  So here is what I need to understand:

   Jake> 1) Why would getBestProvider return null?  Shouldn't it always
   Jake>    be able to tell me something?

   Jake> 2) Why would a network provider be disabled?  Shouldn't that
   Jake>    always be available - assuming that you are not in airplane
   Jake>    mode and can make phone calls?

   Jake> 3) If the GPS is on, shouldn't my code pick up the GPS if
   Jake>    network is disabled?

I ran some tests.

I configured my app with ACCURACY_FINE_LOCATION permission and with a
criteria of FINE_LOCATION.  In that situation:

1) If the GPS and Network are both enabled it will return GPS as best
   provider.

2) If only Network is enabled it will return Network as best provider.

The above makes sense and is logical.  But it doesn't solve the problem
of preferring to use Network in lieu of GPS when both are available.

If, however, you have ACCURACY_FINE_LOCATION permission but use a
criteria of COARSE_LOCATION, then the following will be true:

1) If the GPS and Network are both enabled it will return Network as
   best provider.

2) If only Network is enabled it will return Network as best provider.

3) If only GPS is enabled it will return GPS as best provider.

The conclusion: in order to use GPS -- even just as a fallback for when
Network is not enabled -- you need ACCURACY_FINE_LOCATION.  In that
case, if your criteria is COARSE_LOCATION you will pick up Network if
available instead of GPS but it still use GPS if it has no other choice.

-- 
Jake Colman -- Android Tinkerer

-- 

3. Detecting an Uninitialized Location

4. Spinner Retrievation

5. Can you use <include /> with @layout-land?

6. Compiling Android Kernel

7. TouchEvent - ACTION_UP after ~30 seconds