Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,737,741 Members 46,900 Now Online
XDA Developers Android and Mobile Development Forum

[APP][1.5+][2013/03/09] Bluetooth GPS for Android : BlueGPS4Droid (version 1.2.6)

Tip us?
 
herbert1
Old
(Last edited by herbert1; 29th March 2013 at 10:08 AM.)
#1  
Senior Member - OP
Thanks Meter 65
Posts: 207
Join Date: Jul 2007
Default [APP][1.5+][2013/03/09] Bluetooth GPS for Android : BlueGPS4Droid (version 1.2.6)

I have a bluetooth GPS that I used to use some years ago with a GPS navigation application on my windows mobile phone (HTC BlueAngel, then HTC Elf).

When I switched for an Android phone (HTC Magic, then Acer Liquid), I was strangely unable to use it. It wasn't a big issue for me since both phones have an internal GPS. However, recently I bought a Samsung S galaxy, which GPS is barely usable...

I've searched something for using my bluetooth GPS, but I haven't found any open source application.

So I've developed one:
  • it' free,
  • it's open-source (you can verify what it's really doing and you can improve it!),
  • it just asks for needed permissions.

The application allows to use an external bluetooth GPS on Android devices:
The application starts a service, then connects to a Bluetooth device (NMEA GPS) and creates a mock GPS provider which can be used to replace the internal GPS.
It's also possible to log the external GPS NMEA data in a file on the device.

The app needs the following permissions:
  • bluetooth and bluetooth admin (connection to the GPS device),
  • location and mock location (replace the GPS location provider by a new one using the bluetooth GPS device),
  • write external storage (if you want to log the NMEA data into a file on the sdcard).

It should run on all android devices (2.0 and above) and NMEA bluetooth devices (there is now also a special version for Cupcake and Donuts - see below).
I have tested it with a GlobalSat BT-338 bluetooth GPS (SiRF III), a Galaxy S (I9000) and a HTC Sapphire (Froyo CM-6).
It works with Google Maps, Wikitude, GoPenS and my own personal navigation app. It should work with all applications that use Android official location API.

Note: in order to install the app:
  • enable Settings/Applications/Unknown sources,
  • enable Settings/Applications/Development/Allow mock locations,
  • download and install the apk.

Project page: Bluetooth GPS for Android on SourceForge
BlueGPS4Droid apk: BlueGps4Droid_1.2.6.apk for Eclair or newer.
BlueGPS4Cupcake apk: BlueGps4Cupcake_1.2.6.apk special version only for Cupcake and Donuts.
User guide an review (thanks to Leszek Pawlowicz): http://androgeoid.com/2010/09/androi...s-for-android/

I want to thank Globalsat U.S. which, kindly, has sent me, free of charge, a USB GPS and a replacement for my old bluetooth GPS, in order to support this work.
The Following 19 Users Say Thank You to herbert1 For This Useful Post: [ Click to Expand ]
 
herbert1
Old
(Last edited by herbert1; 29th March 2013 at 09:41 AM.) Reason: update changelog
#2  
Senior Member - OP
Thanks Meter 65
Posts: 207
Join Date: Jul 2007
Default Change log

BlueGps4Cupcake 1.2.6 (2013-03-09)BlueGps4Droid 1.2.6 (2013-03-09)
  • Bug fix : correction in SiRF options summary description (English/French/Russian/Portugese/Spanish)
  • Bug fix : correction in NMEA checksum calcul
  • Bug fix : NMEA sentences without checksum weren't correctly parsed
  • Update copyright info in source and about app message
BlueGps4Cupcake 1.2.5 (2012-05-11)BlueGps4Droid 1.2.5 (2012-05-01)
  • Add Portuguese translation (thanks to rsantospereira (XDA: rikpereira) and meiji (XDA: meiji.emperor))
BlueGps4Cupcake 1.2.4 (2012-03-27)BlueGps4Droid 1.2.4 (2012-03-26)BlueGps4Droid 1.2.3 (2011-09-08)
  • Add Russian translation (thanks to skleroz)
BlueGps4Cupcake 1.2.2 (2011-05-24)BlueGps4Droid 1.2.2 (2011-05-14)BlueGps4Droid 1.2.1 (2011-01-20)BlueGps4Droid 1.2.0 (2010-12-10)
  • Add SiRF configuration management (NMEA sentences - SBAS - Static Navigation)
  • Add verifications: if bluetooth or mock locations are not enabled, the service is not started.
  • Add alert messages to explain why the service cannot be started if bluetooth or mock locations are not enabled
  • If device doesn't have an internal GPS, the bluetooth GPS provider is enabled automatically
  • Add an about window that gives the version of application, licensing information and where the sources may be downloaded.
BlueGps4Droid 1.2 alpha (2010-10-25)
  • SiRF configuration management (NMEA sentences - SBAS - Static Navigation)
BlueGps4Droid 1.1.2 (2010-11-04)
  • Add verifications: if bluetooth or mock locations are not enabled, the service is not started.
  • Add alert messages to explain why the service cannot be started if bluetooth or mock locations are not enabled
  • If device doesn't have an internal GPS, the bluetooth GPS provider will be enabled automatically
BlueGps4Droid 1.1.1 (2010-09-29)
  • Bug fix (Ticket #4: Connection service is not properly closed https://sourceforge.net/p/bluegps4droid/tickets/4/).
  • Add notifications when the connection with the GPS fails and when the connection service is closed because of two many connection retry.
  • Add settings to choose the number of connection retries before exiting.

BlueGps4Droid 1.1 (2010-09-26) - does not work properly because of bug #4. Use either version 1.0 or 1.1.1 !
  • Reconnect automatically when the connection with the GPS is lost (5 attempts in 5 minutes)
  • Replace Android default internal GPS or use a new location provider
  • Send status notifications when GPS loses fix or is disconnected.
BlueGps4Droid 1.0.1 (2010-10-25)
  • Add verifications: if bluetooth or mock locations are not enabled, the service is not started.
  • Add alert messages to explain why the service cannot be started if bluetooth or mock locations are not enabled
  • If device doesn't have an internal GPS, the bluetooth GPS provider will be enabled automatically
BlueGps4Droid 1.0 (2010-09-12)
  • Connect to bluetooth GPS (NMEA) and replace the internal GPS of an Android device.
  • Record GPS tracks in NMEA files
  • Compatible with Android version 2.0 and above
  • English and French translations
The Following User Says Thank You to herbert1 For This Useful Post: [ Click to Expand ]
 
herbert1
Old
(Last edited by herbert1; 11th May 2012 at 08:25 PM.)
#3  
Senior Member - OP
Thanks Meter 65
Posts: 207
Join Date: Jul 2007
Default Localizing BlueGPS4Droid for other languages...

BlueGPS4Droid has been downloaded more than 25,000 times from more than 100 countries.

However, actually BlueGPS4Droid is only available in the following languages:

If you find it useful, help us to improve the translations and support new languages !
The Following User Says Thank You to herbert1 For This Useful Post: [ Click to Expand ]
 
Alte.78
Old
#4  
Junior Member
Thanks Meter 2
Posts: 13
Join Date: Aug 2010
Default Thank you!

Man, you rock! I thought this is never going to happen!

You made my SGS with half-broken gps useable as I have spare Nokia gps unit that I bought back in E70 days.

Keep up your great job!
 
khaytsus
Old
#5  
Senior Member
Thanks Meter 1059
Posts: 6,829
Join Date: Apr 2008
Location: Central Kentucky
I'll give this one a try.. I've tried two others in the market, one I paid for (and is still pay-for) which technically works but doesn't reconnect well or at all. The other was pay-for and now is free, and it works FLAWLESS.

Doesn't hurt to try one more for fun. Plus, maybe this one will behave on tablets, as I understand the other two don't. I don't have a tablet yet to try though..
AT&T LG G2 - 4.4.4, AOKP
Nexus 7 Wifi 2012 - 4.4.4, AOKP (m-kernel)
Samsung Note i717 - 4.2.2, Unofficial AOKP
Try my Alternative XDA CSS Themes (including 2010!)

--
http://theblackmoor.net
http://unlimitedphoto.com
 
jaebird
Old
#6  
Junior Member
Thanks Meter 4
Posts: 5
Join Date: Jun 2010
I'm interested in having my Android send GPS NMEA as a BT GPS unit. Seems like all the pieces are there in this project. Has the author considered this use-case?

Thanks,
Jae
 
herbert1
Old
#7  
Senior Member - OP
Thanks Meter 65
Posts: 207
Join Date: Jul 2007
Quote:
Originally Posted by jaebird View Post
I'm interested in having my Android send GPS NMEA as a BT GPS unit. Seems like all the pieces are there in this project. Has the author considered this use-case?

Thanks,
Jae
You're right, it's even simpler since you don't have to analyze the NMEA sentences.

However,
  1. It' wasn't what I needed (sharing Galaxy S GPS is not really the best idea you can have... )
  2. there is already several free (and open source) applications available for that purpose...

For an open source app see, for example, BlueNMEA here:
http://forum.xda-developers.com/showthread.php?t=553053
http://max.kellermann.name/projects/blue-nmea/

There is also GPS 2 Bluetooth which is free (but not open source) :
http://www.androidpit.com/en/android...-Bluetooth-v-2
http://www.android-software.fr/gps-2-bluetooth (review in french)
 
herbert1
Old
#8  
Senior Member - OP
Thanks Meter 65
Posts: 207
Join Date: Jul 2007
Default New version 1.2.0 is out

BlueGps4Droid 1.2.0
  • Add SiRF configuration management (NMEA sentences - SBAS - Static Navigation)
  • Add verifications: if bluetooth or mock locations are not enabled, the service is not started.
  • Add alert messages to explain why the service cannot be started if bluetooth or mock locations are not enabled
  • If device doesn't have an internal GPS, the bluetooth GPS provider is enabled automatically
  • Add an about window that gives the version of application, licensing information and where the sources may be downloaded.
 
Saphroxx
Old
#9  
Senior Member
Thanks Meter 1
Posts: 108
Join Date: Jan 2010
Location: Leuven
Some real nice work, your package is very complete. It seems like not too many people have discovered your incredible asset to our Androids. Keep up the good work.
Nexus One: Unlocked Bootloader:

-[ROM] CM7.2
-[Recovery] Amon_RA-nexus-v2.2.1
-[Radio] 5.12.00.08
-[Kernel] 2.6.38.8-cyanogenmod+root@pershoot_ubuntu #1
-[HBOOT] S-OFF Hboot 7.35.5117 with custom partitions
-[Touch Screen] SYNT0103 Microp(0b15) - AMOLED
-[Storage] SanDisk Mobile Ultra 16Gb microSDHC Class 4 with 768MB EXT4 partition.
-[Mod] 2-Way-Call-Recording
-[Keyboard] HTC_IME & Swype (Dutch)
 
h46it
Old
#10  
h46it's Avatar
Senior Member
Thanks Meter 16
Posts: 230
Join Date: Oct 2009
Location: Toronto
Wonderful! Keep up the good work! I'll be testing this all day tmr! Thanks!
Nexus 7
Nexus 5
Mahdi-Rom
TWRP

Tags
android, bluetooth, gps
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes