android - How to cross compile a mobile SDK? -



android - How to cross compile a mobile SDK? -

i have sophisticated nlp engine wish create available on mobile sdk developers use. engine hybrid of multiple languages looking rationalise single language , codebase. reply question influence selection of language.

in particular, wish ios developers able phone call engine using objective c (or perhaps swift) , android developers able utilize engine in java.

i not want port engine , maintain 2 separate codebase core nlp algorithms.

while there many options cross compiling applications, such xamarin, apportable, or phonegap. none see create easy cross compile sdk.

what approach take core engine cross compiled unique code base of operations while still providing java , objective c bindings?

i not want port engine , maintain 2 separate codebase core nlp algorithms

then need write in c or c++ , ensure code not platform-specific.

then, can write wrappers needed, such jni wrapper utilize android ndk, android developers can utilize library via wrapper's java api.

i not ios developer, , not know might need create c/c++ library readily consumable via objective-c (let lone swift), though imagine there recipes doing that.

android ios sdk cross-compiling

Comments

Popular posts from this blog

php - Android app custom user registration and login with cookie using facebook sdk -

django - Access session in user model .save() -

php - .htaccess Multiple Rewrite Rules / Prioritizing -