I've recently figured out the (somewhat annoying) process of connecting an external bluetooth-enabled GPS (like a Trimble GeoXT) unit to an android device. In short, the key issue is that the GPS data from the external device can only be sent to location aware apps by checking the "Allow Mock Locations" in the developer settings menu, and then using an intermediary app to make the BT connection and broadcast the incoming GPS data as the mock location (I'm using the "Bluetooth GPS" app). So, I figured out all of that, and have the external GPS data being sent as the mock location, but, alas, it seems Geopap doesn't accept location information from the Mock Location stream? I'm not fully sure how it all works (i.e., internal GPS vs mock location vs A-GPS vs network provided location). Does anyone here understand how all that works, and whether or not Geopap could be made to accept this kind of "mock" location data?
I'm, as always, happy to provide any more info, undertake any suggested tests, and happy to deploy any possible solutions. I have access to a Google Nexus 4 and a Google Nexus 9, and could try solutions on both pieces of hardware.
--
You received this message because you are subscribed to the Google Groups "geopaparazzi-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to geopaparazzi-us...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Hi Isaac,
To unsubscribe from this group and stop receiving emails from it, send an email to geopaparazzi-users+unsub...@googlegroups.com.
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.
So, it might be possible to use that app to do achieve that external linkage, much in the same way the "GPS Status" app is used for the compass view. Just a suggestion!
Hi Isaac,
To unsubscribe from this group and stop receiving emails from it, send an email to geopaparazzi-users+unsub...@googlegroups.com.
On May 29, 2015 7:45 PM, "Isaac Ullah" <isaac...@gmail.com> wrote:
>
> Hi Andrea,
>
> That is, indeed, the same app I am using. I've been looking into the issue, and I think it might be that "Bluetooth GPS" sends the mock location as a replacement for the "network provided" location, and not the GPS location? I turn on location services, but Geopaparazzi always says "cannot take point if GPS is off" (or some message to that affect). Basically, Geopap seems to think the GPS is turned off, even though there is location information coming through (and which is picked up by other location-aware apps).
Have you tried turning network location off on the phone in the android settings? On some similar apps, that must be off to work spoofing the gps.
Best regards, Eli
>
> It would be really, really, really nice if Geopap gets that functionality! Just as an FYI, I had some e-mails with the developer of that Bluetooth GPS app you linked to. He's apparently happy to have his app linked into third-party apps. If you read the description for that app, you will see this:
>
> 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.
>
> So, it might be possible to use that app to do achieve that external linkage, much in the same way the "GPS Status" app is used for the compass view. Just a suggestion!
>
>
>
>
> On Thursday, May 28, 2015 at 11:23:29 PM UTC-7, moovida wrote:
>>
>> Hi Isaac,
>>
>>>
>>> I've recently figured out the (somewhat annoying) process of connecting an external bluetooth-enabled GPS (like a Trimble GeoXT) unit to an android device. In short, the key issue is that the GPS data from the external device can only be sent to location aware apps by checking the "Allow Mock Locations" in the developer settings menu, and then using an intermediary app to make the BT connection and broadcast the incoming GPS data as the mock location (I'm using the "Bluetooth GPS" app). So, I figured out all of that, and have the external GPS data being sent as the mock location, but, alas, it seems Geopap doesn't accept location information from the Mock Location stream? I'm not fully sure how it all works (i.e., internal GPS vs mock location vs A-GPS vs network provided location). Does anyone here understand how all that works, and whether or not Geopap could be made to accept this kind of "mock" location data?
>>
>>
>> I tried that in the past with some app (of which I do not remember the name), and it worked properly.
>> It should be something like:https://play.google.com/store/apps/details?id=googoo.android.btgps
>>
>> These apps substitute the gps of android and pass them data (real or not) as if they were the gps. So any app should then use that as the gps. So there is nothing to be done on the geopaparazzi side, since it should go automagic.
>>
>> On a sidenote, it is a while we are looking for fundings to add directly to geopap support for an extrenal gps (NMEA, but maybe also some other protocol), but we were not successful yet. It is on our wishlist though, so maybe sometimes...
>>
>> Cheers,
>> Andrea
>>
>>
>>>
>>>
>>> I'm, as always, happy to provide any more info, undertake any suggested tests, and happy to deploy any possible solutions. I have access to a Google Nexus 4 and a Google Nexus 9, and could try solutions on both pieces of hardware.
>>>
>>> --
>>> You received this message because you are subscribed to the Google Groups "geopaparazzi-users" group.
>>> To unsubscribe from this group and stop receiving emails from it, send an email to geopaparazzi-us...@googlegroups.com.
>>> For more options, visit https://groups.google.com/d/optout.
>>
>>
> --
> You received this message because you are subscribed to the Google Groups "geopaparazzi-users" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to geopaparazzi-us...@googlegroups.com.
>>> To unsubscribe from this group and stop receiving emails from it, send an email to geopaparazzi-users+unsub...@googlegroups.com.
>>> For more options, visit https://groups.google.com/d/optout.
>>
>>
> --
> You received this message because you are subscribed to the Google Groups "geopaparazzi-users" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to geopaparazzi-users+unsub...@googlegroups.com.
Hi Andrea and all,
Thanks and regards,Dotzo
--
You received this message because you are subscribed to the Google Groups "geopaparazzi-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to geopaparazzi-us...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/geopaparazzi-users/3d829045-515f-4ff8-9c40-d1c788b4c47en%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/geopaparazzi-users/CACck5jMLzuV%2BbFxrJdtVf3E23uQXeJKAEG0_3ThGfggK24rOWQ%40mail.gmail.com.
Thanks for looking into this. There has been some progress since I wrote my question, but I forgot to send an update. I contacted the developer of the Mock Location app "GPS Connector". So it turned out that there is a problem between the app and my phone - Samsung Note 10+. He fixed the problem and now I can use the Mock Location inside SMASH and it is stable. Since GPS Connector supports connection to external receivers by USB, Bluetooth, etc., maybe you can use even higher-end receivers.If I get a chance to test one of these I will update you here.
To view this discussion on the web visit https://groups.google.com/d/msgid/geopaparazzi-users/CAAdW5v8asdgjdEEW4bt%3DEOt%3Dzsvj1_Cn4Dwsb9ECp1B3xvUW7g%40mail.gmail.com.