[Galaxy S I9000 Android Development] gekkekoe123:
I've implemented this feature request. It allows you to use your external BT GPS mouse as the 'internal GPS' device. It's completely transparent to the user and all GPS applications should work. You can switch between external and internal GPS (requires reboot). I've have a CM7 rom prebuilt on my website. Other devices can be built from source.

Binary builds available for:

* Galaxy S I9000

* Galaxy Vibrant

It should work with all NMEA sentence producing BT GPS receivers.

Changelog

30.09.2011 - New build available

* Synced with CM 30.09.2011 (Android 2.3.7 !)

08.09.2011 - New build available

* Synced with CM 06.09.2011

* Removed reboot requirement when switching GPS sources

06.09.2011 - New build available

* Synced with CM 06.09.2011

23.08.2011 - Updated release.

* Synced with CM 23.08.2011

* Fixed flashing sats in GPS info (this is cosmetic only)

Changelog

16.08.2011 - Updated release.

* Synced with CM 16.08.2011

* Added Auto-reconnect feature when a BT connection is dropped. It will retry for 5 times.

* Proper detection lost of GPS activity. The GPS receiver has to report at least once every time frame of 5*refreshrate. Else it will be considered as connection lost and a reconnect attempt is initiated.

* fixed sat flashing for certain gps receivers

15.08.2011 - Updated release.

* Synced with CM 15.08.2011

* Fixed issue where BT GPS was loaded as default (new install/factory reset)

* Added alert box to inform when reboots are required

* Added estimation factor to have a more realistic accuracy

* I even set the build date in the about screen

11.08.2011 - Updated release.

*Synced with CM 11.08.2011

*Don't clear old sat data before new data is received.

*fix orientation issue (new rom uploaded, check md5)

*added dynamic refresh rate adjustment (1hz-10hz)

*Using buffered reader

06.08.2011 - Updated release. synced with source tree. Added bootloader flashing instructions. Vibrant rom available!

03.08.2011 - Updated release. synced with source tree to get the GB boot loader stuff

27.07.2011 - Updated release. Now with android 2.3.5! and 2 fixes.

26.07.2011 - Updated release. Fix 2 issues and code cleanups

25.07.2011 - Updated release. Source synced and code cleanups

21.07.2011 - Updated release. minor bug fixes

20.07.2011 - Updated release. synced with 20.07 nightly. Sources available to test with other devices ! http://iloki.nl/2011/07/20/updated-release-sources/

18.07.2011 - Initial release

See it in action !

[YOUTUBE]WJBPoGQm20U[/YOUTUBE]

What devices will be supported:

- all devices that are supported in CM7 with BT

- A BT GPS Mouse

Why I made this:

- Not all phones/tablets comes equipped with a GPS unit

- More accuracy

- Better battery life

- Not all apps can work with mock providers

- Crappy samsung SGS GPS unit in my I9000

Experimental rom based on current nightly (i9000 only for now):

- I9000 rom available

- Other CM devices can be build from source

Build instructions for all CM7 devices

Download the source for your device and setup the build environment.

Apply Framework patch

Apply CMParts patch

Follow the build instructions for your device.

Flash rom and report back if it works for you. Include a logcat output if you report problems.

TODO:

- More testing

- Cleanups, cleanups cleanups!

Pref screen (i've put it under CMparts system settings for now)

Selecting bonded BT devices as GPS mouse. I've masked some parts of the address.

Sats also seem to be working

Path for world domination ;-)

- I need a few select testers that use their gps mouse often and who can use adb logcat