Trackmaster Forums
Combination View Flat View Tree View
Threads [ Previous | Next ]
Has anyone tried Trackmaster Bluetooth GPS on an AOSP 2.1 based device?
Has anyone tried Trackmaster Bluetooth GPS on an AOSP 2.1 based device?
7/26/10 12:35 AM
I have a Sprint HTC Hero and a Qstarz BT890 GPS unit. At first, the GPS unit would not properly pair with my phone which seemed like a limitation of the software that the phone was running. So I rooted my phone and installed a platform that was based on a vanilla Android 2.1 build instead of HTC's Sense based software. The bluetooth GPS unit is now able to pair properly. However, I can't get trackmaster bluetooth service to stay running. It will properly connect to my external gps, find my location, and start tracking but I will always get a force close within a minute or two. If I try using a different app, Bluetooth GPS, it runs without problem. By the way, the main Trackmaster app(without bluetooth service) runs fine. I just wanted the extra accuracy.

I understand that my phone is not a currently supported set up, so I'm not expecting any guarantees that Trackmaster will work properly. I'm just curious if anyone has successfully been using the app with bluetooth gps service on a vanilla android based device successfully.
RE: Has anyone tried Trackmaster Bluetooth GPS on an AOSP 2.1 based device?
7/26/10 2:53 PM as a reply to w m.
If you can capture the stacktrace from the Force Close, I might be able to workaround the issue. In general, Custom ROMS are "use at your own risk". But if it's a simple fix and doesn't impact standard ROMs, I'll add it.

Jeff
RE: Has anyone tried Trackmaster Bluetooth GPS on an AOSP 2.1 based device?
7/26/10 5:37 PM as a reply to Jeff Trackaroo.
I totally understand the "use at your own risk", so thanks for taking a look at this. As for the stacktrace, the best thing I have is an output of adb logcat. Is that good enough? I stopped the capture, not long after the force close, so the useful stuff is probably closer to the bottom.
Attachments: adblogcat.txt (8.0k)
RE: Has anyone tried Trackmaster Bluetooth GPS on an AOSP 2.1 based device?
7/26/10 6:00 PM as a reply to w m.
Yep, that's the stacktrace I need. Unfortunately, it looks like there is something wrong with the Google Map library that is included with that custom ROM. The good news is that it isn't actually problem with the bluetooth, but a problem with the library. You might be able to log with Trackmaster just fine using bluetooth. But when you analyze the data later in Maps, you might see the same FC. You'd also see it when you edit split markers. The stacktrace shows a class that did not implement an expected interface. The custom ROM was built with incompatible libraries.

E/AndroidRuntime( 7210): Uncaught handler: thread main exiting due to uncaught exception
E/AndroidRuntime( 7210): java.lang.IncompatibleClassChangeError: interface not implemented
E/AndroidRuntime( 7210): at com.google.googlenav.map.Map.checkPaintTimeExceeded(Unknown

Jeff