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">外接一个蓝牙NMEA兼容GPS设备。模拟提供商允许其他应用程序与设备正常工作。
**对于安卓6.0(棉花糖),它改变它处理模拟供应商权限的方式。请到开发者选项,单击“选择模拟位置信息的应用程序”,然后选择这个应用程序的提供者。
!请仔细阅读...你需要一个外置蓝牙GPS硬件设备以获取工作原理!
该应用程序需要GGA,GSA,GSV和RMC(或ZDA + VTG),以正常工作。
如果保留意见,是否工作,欢迎您也是其中硬件设备组合,你正在使用的状态。这可能有助于调试和也作为其他用户一个参考。
###我总是收到有关如何使用这个应用程序来连接他们的笔记本电脑或PC,Mac或圈养另一个机器人...等问题。我要澄清的是,这个应用程序的目的是与外部的蓝牙GPS设备连接Android设备,以“取代”了Android的内置GPS的位置。
如果你不理解应用程序的目的,请不要消旋什么。
请安装需要您自担风险。
###请理解应用程序前端只是一个前端,主要用于控制和配置的目的,并提供一些方便的信息。所以不要指望它有很多功能,显示每一个细节,并在任何需要的格式...等。
****请首先启用允许在设定模拟地点****
*不能保证所有的设备+应用程序的工作,请给我发电子邮件的详细信息:)
==========
现在你可以开始/发送服务或广播意图阻止其他应用程序的服务:
开始 - googoo.android.btgps.action.SERVICE_START
停止 - googoo.android.btgps.action.SERVICE_STOP
切换 - googoo.android.btgps.action.SERIVCE_TOGGLE
*注:应该首先确保你安装所有的喜好,你可以通过GUI前端正确地启动该服务。
*尝试的解决方法(优先),如果无法连接(例如,服务发现失败,连接被拒绝)
请报告错误,或者给我的logcat如果你有FC或任何问题,任何错误消息的屏幕截图,NMEA日志。
也有[android版X Mobile的硬件x蓝牙GPS硬件]成千上万的组合。遗憾的是,它无法提供在特定硬件模型的支持。即使是GPS-A使用移动-A,而GPS-A可能无法与移动-B工作,但移动-B可以与GPS-B。然而,升级后的Android版本,这种组合不工作了,但其他的组合再工作。我总是有这样的报道。我没有任何的硬件,甚至他们中的一些,我从来没有听说过,不能google一下他们的任何信息。希望你能理解。
一些Android的4.2.x版可能有问题的蓝牙堆栈。
例如。
<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">