NDK all from within Eclipse

by Robert Green » Wed, 16 Dec 2009 07:02:13 GMT

Sponsored Links
 I was going to post this to the group but figured I'd write up a how-
to on my website instead.  Basically, here's how you configure Eclipse
to do nice C/C++ editing and automatically build your native code for
you on-save.  It also automatically refreshes your lib directory and
consequently ADT puts it straight into your APK.


I'll post this to the NDK dev group as well.  I can't believe I didn't
set that up sooner.  It cut my native development time in half.  Let
me know if you have problems/questions with it.


NDK all from within Eclipse

by HeHe » Wed, 16 Dec 2009 10:56:57 GMT

 thanks! thanks! thanks!


Sponsored Links

NDK all from within Eclipse

by Paul Turchenko » Wed, 16 Dec 2009 16:11:33 GMT

 Really cool! Thanks a lot!


NDK all from within Eclipse

by datoudatou » Thu, 17 Dec 2009 02:18:24 GMT

 hi Robert Green,

great thanks.

i have tried your method, it really worked for me
(slackware 12.1, android sdk-2.1 + ndk1.6 + eclipse galileo + cdt 6.0.1).

now, i can declare that the method workes under win32 and linux dev env.

yours waynechen


NDK all from within Eclipse

by Nightwolf » Fri, 18 Dec 2009 01:45:35 GMT

 There is also useful video

Using CDT for Android Native

It would be great to know how to debug native code.


Other Threads

1. Logcat Filter for two or tags in Eclipse?

Clicked on create filter could not figure out from docs how to create
a filter for say two or more tags. If I have two tags
com.test.TestClassA and com.test.TestClassB how do I create a filter
that shows log for both of these classes? I saw how you can start ADB
for only certain tags, but how can this be done in eclipse? Please
provide details thanks. What exactly do I need to enter on the tag
line when creating a new filter in eclipse?


2. Problem Activity

I have problem with activity. . my activity is playing sound..
when i start activity, sound is played. but , when i changed to be a
landscape mode . the sound is playing again..
why it happen??
can you give me a solution for my problem??thx..

Mobile Developer
mobile :
email :
blog :


3. answering machine in android

4. Camera preview demo

5. How do I Crop an picture after taking it?

6. Usage of Zoom Controls

7. published app not found by android market search