Connect to an external bluetooth NMEA compatible GPS device. Mock provider allows other apps to work with the device.
** FOR Android 6.0 (Marshmallow ), it changes the way it handles the mock provider permissions. Please go to the developer option, click "Select mock location app" and select this app as provider.
!!! Please read... YOU NEED AN EXTERNAL BLUETOOTH GPS HARDWARE DEVICE TO GET IT WORKS !!!
The app requires GGA, GSA, GSV and RMC (or ZDA+VTG) to works properly.
If you leave comments, whether works or not, you are welcome to state also which hardware devices combination you are using. This may help debugging and also serve as a reference for other users.
### I always receive questions about how to use this app to connect their Notebook or PC, Mac, or tethering another Android ...etc. I have to clarify that the purpose of this app is to connect the Android device with an external Bluetooth GPS device, in order to "replace" the android's internal GPS locations.
If you dont understand what the purpose of the app, please don't dl.
Please install at your own risk.
### Please understand that the app frontend is just a frontend, mainly for controlling and configuration purpose, and providing some handy info. so don't expect it has many functions, shows every details and in any desired format...etc.
**** Please first enable Allow Mock Locations in Setting ****
* can't guarantee all device+apps work, pls email me details :)
==========
Now you can start/stop the service from other apps by sending the service or broadcast Intent :
Start - googoo.android.btgps.action.SERVICE_START
Stop - googoo.android.btgps.action.SERVICE_STOP
Toggle - googoo.android.btgps.action.SERIVCE_TOGGLE
* Note: You should first make sure you setup all the preferences and you can start the service correctly through the GUI frontend.
* try the workarounds (in preference) if failed to connect (eg, service discovery fail, connection refused)
Please report error or send me logcat if you got FC or any problems, with screen cap of any error messages, nmea log.
There are thousands combinations of [android version x mobile hardware x bluetooth gps hardware ]. Sorry that it is impossible to provide support on a particular hardware model. Even a GPS-A works with Mobile-A, but GPS-A may not work with Mobile-B, but Mobile-B works with GPS-B. However, after upgraded the android version, this combination does not work anymore, but the other combination works again. I always got such reports. I don't have any those hardwares, and even for some of them, I never heard before and cannot google any information about them. Hope you understand.
some android 4.2.x may have problem with the bluetooth stack.
eg.
<a href="https://www.google.com/url?q=https://www.google.com/url?q%3Dhttps://code.google.com/p/android/issues/detail?id%253D39688%26sa%3DD%26usg%3DAFQjCNFQupaRoNmr2bxBuaWNRVrDUxyW9Q&sa=D&usg=AFQjCNGYh2DDY3PQNFecDi4CkiMiyzqcoA" target="_blank">https://code.google.com/p/android/issues/detail?id=39688</a>
<a href="https://www.google.com/url?q=https://www.google.com/url?q%3Dhttps://code.google.com/p/android/issues/detail?id%253D42520%26sa%3DD%26usg%3DAFQjCNHpp_JtOwGl227yRw2A4pczGMjxKA&sa=D&usg=AFQjCNH4GYOUzi3WeZHUUC3wrwHJolGzOw" target="_blank">https://code.google.com/p/android/issues/detail?id=42520</a>
</div> <div jsname="WJz9Hc" style="display:none">Sambung ke bluetooth NMEA peranti GPS serasi luar. Pembekal Mock membolehkan aplikasi lain untuk bekerja dengan peranti.
** UNTUK Android 6.0 (Marshmallow), ia mengubah cara ia mengendalikan keizinan pembekal olok-olok. Sila pergi ke pilihan pemaju, klik "Pilih aplikasi lokasi palsu" dan pilih aplikasi ini sebagai pembekal.
!!! Sila baca ... ANDA PERLU AN LUAR BLUETOOTH GPS HARDWARE PERANTI MENDAPAT KERJA IT !!!
Aplikasi ini memerlukan GGA, GSA, GSV dan RMC (atau ZDA + VTG) untuk kerja-kerja yang betul.
Jika anda meninggalkan komen, sama ada kerja atau tidak, anda dialu-alukan untuk menyatakan juga yang peranti perkakasan kombinasi yang anda gunakan. Ini boleh membantu debugging dan juga bertindak sebagai rujukan kepada pengguna lain.
### Saya selalu menerima soalan mengenai bagaimana untuk menggunakan aplikasi ini untuk menyambung Notebook atau PC, Mac atau tethering lain Android ... dan sebagainya. Saya perlu menjelaskan bahawa tujuan aplikasi ini adalah untuk menyambung peranti Android dengan peranti Bluetooth GPS luaran, untuk "menggantikan" Lokasi GPS dalaman android ini.
Jika anda tidak faham apa maksud aplikasi, sila jangan dl.
Sila pasang atas risiko anda sendiri.
### Sila faham bahawa frontend aplikasi ini hanya frontend, terutamanya untuk mengawal dan tujuan konfigurasi, dan menyediakan beberapa maklumat berguna. jadi jangan mengharapkan ia mempunyai banyak fungsi, menunjukkan setiap butiran dan dalam mana-mana format yang dikehendaki ... dan sebagainya.
**** Sila pertama membolehkan Benarkan Lokasi Mock dalam Menetapkan ****
* Tidak boleh menjamin semua peranti + aplikasi kerja, pls email saya butiran :)
==========
Sekarang anda boleh memulakan / menghentikan perkhidmatan daripada aplikasi lain dengan menghantar perkhidmatan atau dicetak niat:
Mula - googoo.android.btgps.action.SERVICE_START
Berhenti - googoo.android.btgps.action.SERVICE_STOP
Bertukar-tukar - googoo.android.btgps.action.SERIVCE_TOGGLE
* Nota: Anda hendaklah terlebih dahulu membuat semua persediaan pasti anda pilihan dan anda boleh memulakan perkhidmatan dengan betul melalui frontend GUI.
* Cuba workarounds (keutamaan) jika gagal untuk menyambung (contohnya, penemuan perkhidmatan gagal, sambungan enggan)
Sila laporkan ralat atau menghantar saya Logcat jika anda mendapat FC atau sebarang masalah, dengan topi skrin mesej ralat, log NMEA.
Terdapat beribu-ribu kombinasi [android versi x bimbit perkakasan x bluetooth perkakasan gps]. Maaf bahawa ia adalah mustahil untuk memberikan sokongan kepada model perkakasan tertentu. Malah GPS-A bekerja dengan Mobile-A, tetapi GPS-A tidak boleh bekerja dengan Mobile-B, tetapi Mobile-B bekerja dengan GPS-B. Walau bagaimanapun, selepas dinaik taraf versi android, gabungan ini tidak berfungsi lagi, tetapi kombinasi yang lain berfungsi lagi. Saya sentiasa mendapat laporan sedemikian. Saya tidak mempunyai apa-apa perkakasan mereka, dan walaupun sebahagian daripada mereka, saya tidak pernah mendengar sebelum ini dan tidak boleh google apa-apa maklumat tentang mereka. Harap anda faham.
beberapa 4.2.x android mungkin mempunyai masalah dengan timbunan bluetooth.
contohnya.
<a href="https://www.google.com/url?q=https://code.google.com/p/android/issues/detail?id%3D39688&sa=D&usg=AFQjCNFQupaRoNmr2bxBuaWNRVrDUxyW9Q" target="_blank">https://code.google.com/p/android/issues/detail?id=39688</a>
<a href="https://www.google.com/url?q=https://code.google.com/p/android/issues/detail?id%3D42520&sa=D&usg=AFQjCNHpp_JtOwGl227yRw2A4pczGMjxKA" target="_blank">https://code.google.com/p/android/issues/detail?id=42520</a></div> <div class="show-more-end">