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. WebView Problem

Hi Guys,

Having a bit of trouble preventing keeping links in the loaded view to
not open up the browser. Can someone please help.

Regards,

Mike

//

import android.app.Activity;
import android.os.Bundle;
import android.webkit.WebView;


public class MyWeb extends Activity {
    /** Called when the activity is first created. */
        WebView mWebView;

        @Override
        public void onCreate(Bundle savedInstanceState) {
            super.onCreate(savedInstanceState);
            setContentView(R.layout.main);

            mWebView = (WebView) findViewById(R.id.webview);
            mWebView.getSettings().setJavaScriptEnabled(true);
            mWebView.loadUrl("http://example.com");
        }


}

-- 

2. FYI EVO/Incredible ADB How-To

You need the r3 ADB driver and then you need to add this to the
android_winusb.inf to support these two devices:

;
;HTC Incredible
%SingleAdbInterface%        = USB_Install, USB\VID_0BB4&PID_0C9E
%CompositeAdbInterface%     = USB_Install, USB\VID_0BB4&PID_0C9E&MI_01
;
;HTC EVO
%SingleAdbInterface%        = USB_Install, USB\VID_0BB4&PID_0C8D
%CompositeAdbInterface%     = USB_Install, USB\VID_0BB4&PID_0C8D&MI_01


Add those lines at the end of both [Google.NTx86] and [Google.NTamd64]
and your ADB Composite Device driver should install for both phones.

-- 

3. Error Message on missing permissions

4. LiveWallpapers: Delayed posting of Runnable vs full-fledged paint thread

5. Reg. Screen Orientation - Screen Rebuilding Issue

6. Composite Views and View Controllers

7. HTC Incredible: How can you store/retrieve images?