FAQ

On Jul 11, 11:57 am, mic _ wrote:
I am making native library(.so) file. I have .h and .cpp files in jni
folder.
Please tell me, what should I write in LOCAL_SRC_FILES for my files?
xyz.cpp
Yes, but in the .cpp files you will need to declare the functions
extern "C" as jni cannot handle C++ name mangling.

--
You received this message because you are subscribed to the Google Groups "android-ndk" group.
To post to this group, send email to android-ndk@googlegroups.com.
To unsubscribe from this group, send email to android-ndk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/android-ndk?hl=en.

Search Discussions

Discussion Posts

Previous

Follow ups

Related Discussions

Discussion Navigation
viewthread | post
posts ‹ prev | 3 of 5 | next ›
Discussion Overview
groupandroid-ndk @
categoriesandroid
postedJul 11, '12 at 3:41p
activeJul 12, '12 at 9:13a
posts5
users3
websitedeveloper.android.com...

3 users in discussion

MMM: 3 posts Chris Stratton: 1 post Mic _: 1 post

People

Translate

site design / logo © 2019 Grokbase