dji-sdk / FlightRecordParsingLib

DJI Flight Record Parsing Lib
Other
39 stars 12 forks source link

Compile for android #20

Closed utya closed 9 months ago

utya commented 9 months ago

Hi. Can I compile DJI parser for android arm64-v8a?

dji-dev commented 9 months ago

Agent comment from yating.liao in Zendesk ticket #91803:

We have not attempted to use it on Android. I would like to verify this with our engineers.

°°°

dji-lyt commented 9 months ago

Hi @utya . I t is possible to convert FlightRecordParsingLib and its dependent libraries into a shared object (so) library. By doing so, you will be able to use the library in an Android project and achieve your goal of using FlightRecordParsingLib in an Android environment. You need to compile for the ndk you are using at compile time.

utya commented 9 months ago

To build the project, need these source files and Android NDK, or are there any specific libraries required?

dji-dev commented 9 months ago

Agent comment from yating.liao in Zendesk ticket #91803:

You need to cross-compile FlightRecordParsingLib for the NDK you are using, including the libraries that FlightRecordParsingLib depends on. You can find this information in FlightRecordParsingLib, and its parsing library is open source.

°°°