How to build with Android NDK


SDK Version: 
M3
The Android NDK is a companion tool to the Android SDK that lets you build performance-critical portions of your apps in native code. If you write native code, your applications are still packaged into an .apk file and they still run inside of a virtual machine on the device. The fundamental Android application model does not change.
First thing to do:
Go to http://developer.android.com/sdk/ndk/index.html and download Android NDK.
Okay, now you unzip the downloaded NDK zip to your hard disk drive.

If you are a windows user, you also have to have Cygwin, go to http://www.cygwin.com/ and download the latest version.
Install it, and run it, you should see a "linux-like" console.

Go to your current project folder in your workspace by typing in console:
Windows users: something like: "cd /cygdrive/c/PATH_TO_WORKSPACE/PROJECT_NAME"
Linux and Mac users: "cd /PATH_TO_WORKSPACE/PROJECT_NAME"

To build project, type:
Windows users: something like: "/cygdrive/c/UNZIPPED-NDK-DIRECTORY/ndk-build"
Linux and Mac users: "/UNZIPPED-NDK-DIRECTORY/ndk-build"

Hope you found it useful,

Have a nice day!

ndk

Comments

As new mobile devices become increasingly popular, companies are under pressure to deliver the ultimate mobile experience with exceptional smartphone and tablet applications.

native mobile application development

Thank you for another informative blog. Where else could I get that kind of info written in such a perfect way? I have a project that I am just now working on, and I have been on the look out for such information. Trucking Software

I am quite sure they will learn lots of new stuff here than anybody else!....There is also a lot of visual symbolism that is sometimes subtle, sometimes not so subtle.. Jobs In Karachi

Super bonne continuation blog I think they must have to fighting hard in the last match because it's really deciding them to pass to round of last 16. Godd luck for them.parduotuvė

There are plenty of information about this topic on the net & some are definitely better than others. The Diet Solution

tory burch reva
tory burch miller
tory burch miller thong
tori burch

Great!Such useful information,

This information is very helpful and useful. I look at many sites, but the majority of them makes it confusing. Thanks for the material and the links and keep it up...Love to see more like this...!!

Regards
Salman Khan Photos

This is the first time i am reading your post and admire that you posted article which gives users lot of information regarding particular topic. Nike free run

An Excellent post on 'How to build with Android NDK'. You have put informative and valuable information here. Thanks!

website design firms | website design company | register website name

Thanks for the material and links and keep up the good work.
BenTen Oyunları - Zeka Oyunları - Komik Oyunlar - Oyunlar- Araba Yarışı Oyunları

Android is the way to go. It really helps in business.
Mike
HealthyKitchenPlusHome

Knowledge is defined by the Oxford English Dictionary as expertise, and skills acquired by a person through experience or education nor any prospect of one, and there 117-102 \\ E20-335 \\ HP0-S32 remain numerous competing theories. Knowledge acquisition involves complex cognitive processes: perception, learning, communication, association and reasoning. The term knowledge is also used to mean the confident understanding of a subject with the ability to use it for a specific purpose if appropriate. See knowledge management for additional details on that discipline.
-------------------------------------------
642-583 \\ 642-655 \\ 312-49 \\ HP0-J40 \\ HP0-S25 \\ 1z0-054 \\ 70-686 \\ 70-270 \\ 1Y0-A05

Hello, thanks a lot for making it clear. I owe you one. I hope you don't mind if I link to your site? The subscribers on my site would be highly impressed with what you've presented here. Cheers. Stephanie 70-401 dumps | SK0-003 dumps | JN0-343 dumps | PK0-003 dumps | 642-979 dumps | JN0-522 dumps | 350-001 dumps | E22-275 dumps | 70-649 dumps | 350-018 dumps |

I am often to blogging and i really appreciate your content. The article has really peaks my interest. I am going to bookmark your site and keep checking for new information.
SJR Luxuria

Good review.. I following up this blog and wait for next articles about android development.. thanks


android app development

JK0-015|HP0-S25 642-359|C-TFIN22-64 HP2-E31|1z0-527 642-357|HP2-Z16 HP0-Y30|MB2-632

This subject is a delicate one, one has to think through it before coming to a conclusion on about it,beautiful site I like the header.flv player

This information is very helpful and useful. I look at many sites, but the majority of them makes it confusing. Thanks for the material and the links and keep it up...Love to see more like this...!!

Best Wishes,
PC Support

thanks for this info. lovei t. :)

garage doors derby

The NDK allows you to implement parts of your applications using native-code languages such as C and C++.This can provide benefits to certain classes of applications, in the form of reuse of existing code and in some cases increased speed.
Advertising Agency Melbourne

I conceive you have observed some very interesting points , appreciate it for the post. Running // Sport Shoes

Try this useful tips, it's work thank's.
Android Tips

Your post is really thought provoking.You are doing a fine job.keep blogging.
School Papers

This information is very helpful and useful. I look at many sites, but the majority of them clutter everything and that makes it confusing. Thanks for the material and links and keep up the good work.
natural candida cleanse

Android rocks. Although i am not in a need to use the Android NDK but i appreciate your effort to help us in getting all the procedure you told marketing.

It is a good article. Thanks for your work.
from: The Peak