Customizing Geopaparazzi with Xamarin

33 views
Skip to first unread message

pascal....@gmail.com

unread,
Dec 10, 2018, 4:13:11 AM12/10/18
to geopaparazzi-devel
Hello all,

This question may seem ackward, but still, I wonder if anyone has a clue.
I choose Gaopaparazzi as the mobile solution for one of my client due to its full functional coverage for field service.
However, there is a little bit of customization needed.
The constraint is that Xamarin and C# is the core development platform. So, does anyone know how easy it is possible to hook Gaopaparazzi libraries within a Xamarin projet ?

Thanks,

andrea antonello

unread,
Dec 10, 2018, 5:59:26 AM12/10/18
to geopaparazzi-devel
Hi Pascal,
I could be mistaken, but as far as I know it is not possible to mix
native-android code with Xamarin.

It should though be possible to develop parts in C++ and then create
small wrappers that call the C++ libraries.
This is basically what is done with the spatialite support. We have an
.so library, the wrapper code for it and then the high level
application code.

Does this make sense?

cheers,
Andrea


>
> Thanks,
>
> --
> You received this message because you are subscribed to the Google Groups "geopaparazzi-devel" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to geopaparazzi-de...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.

Brent Fraser

unread,
Dec 10, 2018, 11:09:47 AM12/10/18
to geopaparazzi-devel, pascal....@gmail.com
Pascal,

Interesting problem. If the amount of customization is small, it
might be easier (in the short term) to use the existing Android Studio and
Java environment.

If in the long term Xamarin and C# is a requirement you could look at the
integration techniques lists in

https://docs.microsoft.com/en-us/xamarin/android/platform/java-integration/



But those could involve a lot of effort. You may be better off looking at
your functional requirements and writing your own app in C#.

Similarly, I'm faced with needing an Android and iOS app so I'm looking at
using Cordova/Phonegap with Javascript. While I doubt if I'll be able to
use a MapsForge library for offline maps, local device caching of map tiles
may be a solution. There could be other problems like performance, so
prototyping is necessary...

Best Regards,
Brent Fraser

pascal....@gmail.com

unread,
Dec 11, 2018, 10:55:42 AM12/11/18
to geopaparazzi-devel
Thank you Andrea and Brent,
I arrived to the same conclusion, technically possible, but not easy.
@Brent: the link will be helpful.
Thank for your time.
Cheers,
Reply all
Reply to author
Forward
0 new messages