The 'libgps_mouse.so' (my library) is built correctly. But I am almost sure that it is not loaded.
=== BoardConfig.mk === [...] USE_QEMU_GPS_HARDWARE := false BOARD_HAVE_GPS_MOUSE := true BOARD_GPS_LIBRARIES := libgps_mouse [...] === system.prop === [...] # gps mouse ro.kernel.android.gps ttyUSB0 [...] I can't see any message when activating GPS in settings. Only the previous errors launching applications involving GPS. I tried And2Nav too. It asks the user to enable GPS in settings. On 24 Apr, 12:48, Luca Belluccini <[email protected]> wrote: > I compiled the kernel with built-in support for a GPS USB Serial > device. > I set the proper permissions to dev node. > > My EeePc starts, recognizes the device and adds the node under dev (/ > dev/ttyUSB0). > I used koolu libgps_freerunner to manage it. > Now I want to test if it is working. > > I am trying to use a free app (Gps Stats). When enabling it, it asks > to enable GPS. > In logcat, I am getting: > > D/LocationManager( 2215): Constructor: service = > android.location.ilocationmanager$stub$pr...@984c8240 > E/LocationManagerService( 2042): isProviderEnabled got exception: > E/LocationManagerService( 2042): java.lang.IllegalArgumentException: > provider=gps > E/LocationManagerService( 2042): at > com.android.server.LocationManagerService._isProviderEnabledLocked > (LocationManagerService.java:1514) > E/LocationManagerService( 2042): at > com.android.server.LocationManagerService.isProviderEnabled > (LocationManagerService.java:1499) > E/LocationManagerService( 2042): at android.location.ILocationManager > $Stub.onTransact(ILocationManager.java:235) > E/LocationManagerService( 2042): at android.os.Binder.execTransact > (Binder.java:287) > E/LocationManagerService( 2042): at dalvik.system.NativeStart.run > (Native Method) > > Should I set some property? > How to enable GPS ("activate it")? --~--~---------~--~----~------------~-------~--~----~ unsubscribe: [email protected] website: http://groups.google.com/group/android-porting -~----------~----~----~----~------~----~------~--~---
