Sorry, native code is not supported at this point for third party applications. If you are doing this for a platform build that will be bundled in a system image, please see android-platform where there has been discussion about this topic.
On Tue, Mar 3, 2009 at 2:58 AM, mmdnazar <mmohamed.na...@gmail.com> wrote: > > I would need to port my limo application into Android. > My limo application is created using C and C++ on linux environment.I > have compiled all the C/C++ files using arm toolchain GNU/Linux > compiler and made .so (shared object file), pushed into system/lib and > then loading from Android applicaiton (Working successfully).Now My > queries are, > 1) Is there any way to put the shared object (.so) file inside the > single package (.apk) along with the UI(Java) to deploy on Android > device? > 2) what is the version of JNI in Android SDK1.1 r1? > 3) Do we need to link the reference if we are using multiple C file in > the shared object? > 4) Is the Android 1.1 supports C++? > 5) Which is the better apporach to run my limo application on Android > from following approaches? > a) Pushing .so(C/C++) file into kernal and calling this > library from Android Java > b) Putting c/c++ together with Android Java in application > layer as a single package (.apk) - (No Idea how to do it) > c) During installtion pushing the library file (.so) into > Kernal, installing Java Android and then loading the library - (No > Idea how to do it) > > Please help me to understand in this? > > > > -- Dianne Hackborn Android framework engineer hack...@android.com Note: please don't send private questions to me, as I don't have time to provide private support. All such questions should be posted on public forums, where I and others can see and answer them. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~----------~----~----~----~------~----~------~--~---