VERY URGENT : The app not working fine on 1.5G emulator (target name: Google APIs) which is working fine on 1.0 emulator

by manoj » Sat, 23 May 2009 13:12:33 GMT


Sponsored Links
 Hi I have written a location based app.

The app finds a route between two coordinates. Its working fine on 1.0
emulator as well as on 1.0 supported devices.

Now I tried to run the same app on 1.5G (Google APIs ) emulator. Its
not working. It is not showing the route. and got the following log
messages:

D/GpsLocationProvider(  568): setMinTime 0
I/Maps.MyLocationOverlay(  655): Request updates from gps
E/LocationManagerService(  568): isProviderEnabled got exception:
E/LocationManagerService(  568): java.lang.IllegalArgumentException:
provider=network
E/LocationManagerService(  568):        at
com.android.server.LocationManagerService._isProviderEnabledLocked
(LocationManagerService.java:1514)
E/LocationManagerService(  568):        at
com.android.server.LocationManagerService.isProviderEnabled
(LocationManagerService.java:1499)
E/LocationManagerService(  568):        at android.location.ILocationManager
$Stub.onTransact(ILocationManager.java:245)
E/LocationManagerService(  568):        at android.os.Binder.execTransact
(Binder.java:287)
E/LocationManagerService(  568):        at dalvik.system.NativeStart.run
(Native Method)


and I tested the maps app on 1.5G emulator. When I tried to get my
current location,
I got the alert "Your location cannot be determined. We will keep
trying, but you can also try moving your position".

and the log says:
D/GpsLocationProvider(  568): setMinTime 0
I/Maps.MyLocationOverlay(  655): Request updates from gps
E/LocationManagerService(  568): isProviderEnabled got exception:
E/LocationManagerService(  568): java.lang.IllegalArgumentException:
provider=network
E/LocationManagerService(  568):        at
com.android.server.LocationManagerService._isProviderEnabledLocked
(LocationManagerService.java:1514)
E/LocationManagerService(  568):        at
com.android.server.LocationManagerService.isProviderEnabled
(LocationManagerService.java:1499)
E/LocationManagerService(  568):        at android.location.ILocationManager
$Stub.onTransact(ILocationManager.java:245)
E/LocationManagerService(  568):        at android.os.Binder.execTransact
(Binder.java:287)
E/LocationManagerService(  568):        at
com.android.server.SystemServer.init1(Native Method)
E/LocationManagerService(  568):        at
com.android.server.SystemServer.main(SystemServer.java:412)
E/LocationManagerService(  568):        at
java.lang.reflect.Method.invokeNative(Native Method)
E/LocationManagerService(  568):        at java.lang.reflect.Method.invoke
(Method.java:521)
E/LocationManagerService(  568):        at com.android.internal.os.ZygoteInit
$MethodAndArgsCaller.run(ZygoteInit.java:782)
E/LocationManagerService(  568):        at
com.android.internal.os.ZygoteInit.main(ZygoteInit.java:540)
E/LocationManagerService(  568):        at dalvik.system.NativeStart.main
(Native Method)
W/I


I am not understanding why I am not getting the current location.

Can any one please help me to solve this problem?

Thanks,
Manoj.
--~--~---------~--~----~------------~-------~--~----~



Other Threads

1. Internet Connectivity

When I am giving proxy settings (Settings->Wireless & Networks->Mobile
Networks->Access Point Names->TelKila) in my Android Emulator, I can
access internet through browser in older version of android emulator
(1.6), but same method is not working in new version of emulator
(2.1). How can I access internet in android emulator 2.1.

-- 

2. how to use touch screen on the emulator

Hi all,
my friend is trying to develop locale application that recognizes text
entry using a touch screen input method. unfortunately, he was unable
to figure out how to change the input method to touch screen.
can anyone give us some suggestion on how to start the touch screen
input method on the android emulator? we are currently using the 1.5
version
thanks

-- 

3. Recovering Activity Stack?

4. Unable to Zoom Camera in Android 2.1

5. Android Emulator Internet Connectivity*

6. Need help with PlatformLibrary sample

7. Animating a ViewGroup without Clipping