I am using the ndk along with Eclipse ADT to build apps for Android and it works fine. However I am wondering why the building process involves compiling both for arm and for thumb, ie every time I do a modification in a source file it re-compiles both for arm and thumb. Is it necessary ? If not how can I tell the builder to only compile and link with armabi-V7a ? That would divide by 2 my build process time...
You probably mean, for arm v6 and arm v7a? Both can be compiled as ARM or THUMB. This is controlled by LOCAL_ARM_MODE in Android.mk. To disable armeabi, set
APP_ABI=armeabi-v7a
in Application.mk. This will not only reduce your build time, but also the size of your APK.