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

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

Dear all,
I am looking for an open source app or code snippet to measure the speed (in
both directions) and quality of service (delay, jitter and packet loss;
probably via ping) of a connection for academic purposes.
Is anybody aware of such apps, open source projects or code snippets ?
Thanks in advance,
Cheers,
Emre
--

I have a Configure Activity for a simple widget.
Everything works fine with the de{*filter*} attached, but when I run the
app on a standalone device it ANRs when loading the Configure Activity
view.
It is proving difficult to debug, as with the de{*filter*} attached, it
always works fine. The LogCat from the device shows the ANR, but
nothing else of use. I have put log messages throughout the app, and
the OnCreate method appears to be completing, but the layout does not
display.
Any ideas? I am pulling my hair out over this one.
Alex.
--