sdk icon indicating copy to clipboard operation
sdk copied to clipboard

Import from a proprietary library in Java bindings for Android

Open gilbsgilbs opened this issue 6 years ago • 0 comments

Hi,

I'm trying to use the java bindings in an Android App. To make it work, I have to patch AndroidGfxProcessor.java manually because it imports a utility function from the MEGA Android app. This Android app is proprietary software that I am not allowed to include in my bundles.

I can see many solutions:

  • Include this utility function into the SDK itself
  • Use Log.d function from Android framework directly
  • Make the Android App free software (which is a bad solution IMO, but would be a good thing to do in any case because I'm working on stuff that I could definitely contribute directly to the Android App)

Some other issues I came across while building JNIs:

Let me know if you want me to open new issues for this.

gilbsgilbs avatar May 27 '19 10:05 gilbsgilbs