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.

 http://www.rbgrn.net/content/348-get-your-eclipse-integrated-ndk-on 

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
2009.12.16




--



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
 http://cdtdoug.blogspot.com/2009/09/using-cdt-for-android-native.html 

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






--



Other Threads

1. 3rd party Eclipse plugins you use for Android

My deep dive into java debugging has me looking for Eclipse plugins
that could help.  Are there any open projects for Eclipse plugins for
Android?

An wysiwyg layout xml editor seems like a good job for us regular
developers.

My dream plugin would be paired with an APK that let you compile, and
view the logcat and console logs, from a handset :-)

Does anyone on this group have eclipse plugin experience?

--

2. Could Google Sync perform merge on duplicated contacts / calendars?

Hi,

I found if I use google sync on my android phone to sync SIM contacts
to gmail, it could generate duplicate on both android & gmail. Here
are steps to reproduce it:
1. Set android "Factory default" to clear all data.
2. Import contact from SIM card.
3. sign in Google account to sync to Google Contact
4. Set android "Factory default" again to clear all data.
5. Import contact from SIM card.
6. sign in Google account to sync to Google Contact

What this matters is I am developing an app that could import contacts
from social network services. This could be a useful feature if user
can import contact from facebook or something like that. But problem
comes in, each time when user upgrade android OS and re-install my
apk, then import their social network contacts, it would generate
duplicates when they sync to gmail.

So I am wondering if Google Sync on android could support merge
duplicates to ease contact management. Actually Google Calendar has
similar issue too. So I think it's Google Sync's job to implement
merge duplicates.

What do you think?

--

3. Monetizing Android Apps

4. Quick search box not avaliable after updated to 1.6 on HTC Dream

5. A few Android gripes/suggestions

6. How does Dolphin browser works?

7. second calendar sync limits?