Skip to content

Android NDK

July 8, 2012

What is Android NDK?

Android NDK is a set of tools that allows Android developers to implement parts of their apps in native-code languages like C/C++.

Android NDK can be useful for some apps, where developer wants to reuse existing code written in languages such as C and C++. Another advantage will be the increased performance in some cases.

Benefits:

1. Helpful to use in tasks that are self contained, and CPU intensive
that don’t allocate much memory, such as signal processing, physics simulation etc.
2. If used in appropriate situations, it results in increased performance.
3. You can reuse code written in C/C++ resulting in less app development time.
4. Java Native Interface (JNI) can also be used to access native code, but it is hard process. In that case, you have to compile everything on your development machine for target architecture.

Disadvantages:

1. It increases app complexity.
2. It is really difficult to write proper and effective NDK code unless you are very strong at C/C++

So it is suggested to use Android NDK only in situations where Android Framework APIs have limitations.

Thanks

Advertisements

From → Android

9 Comments
  1. tariq permalink

    Android NDK is discussed briefly but concisely! Hope to read more on this topic.

  2. is a good post, very interesting I think I loved going to recommend to my friends.
    Move on.

  3. Thanks Pedro for your nice comments.

  4. On http://www.phone-tablet.tk you can find good detailed info about this

  5. cool, no one will dislike this fantastic blog.http://www.kitsucesso.com

  6. Hello Web Admin, I noticed that your On-Page SEO is is missing a few factors, for one you do not use all three H tags in your post, also I notice that you are not using bold or italics properly in your SEO optimization. On-Page SEO means more now than ever since the new Google update: Panda. No longer are backlinks and simply pinging or sending out a RSS feed the key to getting Google PageRank or Alexa Rankings, You now NEED On-Page SEO. So what is good On-Page SEO?First your keyword must appear in the title.Then it must appear in the URL.You have to optimize your keyword and make sure that it has a nice keyword density of 3-5% in your article with relevant LSI (Latent Semantic Indexing). Then you should spread all H1,H2,H3 tags in your article.Your Keyword should appear in your first paragraph and in the last sentence of the page. You should have relevant usage of Bold and italics of your keyword.There should be one internal link to a page on your blog and you should have one image with an alt tag that has your keyword….wait there’s even more Now what if i told you there was a simple WordPress plugin that does all the On-Page SEO, and automatically for you? That’s right AUTOMATICALLY, just watch this 4minute video for more information at. WordPress Seo Plugin

  7. If you’re serious about getting tons of free targeted traffic to your site, watch this 1 minute video for free at http://doneforyoutrafficz.com

  8. I simply want to say I am just all new to blogs and honestly liked you’re web-site. Likely I’m want to bookmark your blog post . You surely have excellent posts. Thanks a lot for sharing your blog site.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: