goToMain / libosdp

Implementation of IEC 60839-11-5 OSDP (Open Supervised Device Protocol); provides a C library with support for C++, Rust and Python3
https://libosdp.sidcha.dev
Apache License 2.0
130 stars 69 forks source link

How to build libosdp for Android platform #128

Closed HiLittlePiper closed 11 months ago

HiLittlePiper commented 11 months ago

Hello,

I want to compile this library for Android App, but I did not find any introduction out in the documentation, do you have any introduction to guide how to build Android library?

Thanks

sidcha commented 11 months ago

I haven't done this but I don't think it should be a problem. It should be fairly straightforward to compile with Android's NDK build. Please follow the plain make build (./configure.sh && make) and adapt it to your Android.mk file.

sidcha commented 10 months ago

@HiLittlePiper, have you had any luck with this? You can still use this issue page to ask help or post findings. Thought I am no expert on android NDK builds, I will try my best to help you with any libosdp specific issues you may have.