3

I want to build some libraries into executables that I need to use with my application. For example I need to build the C library slocate, so that I can use it in my application. Another example, I have to build sqlite-3.1 db to be usable with Python from ASE.

How can I go about achieving that?

Thanks a lot.

asked Apr 22, 2010 at 17:38

1 Answer 1

2

You need to build them using the Android NDK. After you build them into *.so files you can use them in your native code and access that through JNI. It's not as hard as it sounds but it takes a good bit of setup.

answered Apr 22, 2010 at 18:17
Sign up to request clarification or add additional context in comments.

2 Comments

I have a follow-up question about this. I want to build my own python as I am writing a python application which will run under ASE. Any insight if this will work?
I was able to embed Lua into an app that I was working on, so it should! You just need to build the native code and create a JNI wrapper to give you access to all of the native functions from Java.

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.