This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
The moose likes Android and the fly likes Android Recipes NDK? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

JavaRanch » Java Forums » Mobile » Android
Bookmark "Android Recipes NDK?" Watch "Android Recipes NDK?" New topic

Android Recipes NDK?

Ted North
Ranch Hand

Joined: Jan 02, 2012
Posts: 200

Hello JavaNuts!

In this new Android book by Dave Smith & Jeff Friesen, Android Recipes, how will the discussion of the Native Development Kit (NDK) material take place? Will part of the book be dedicated to the old, tried and true, and high-performance C programming language or am I just a dummy?

tldr:From my understanding NDK deals with C and the rest of Android is Java and XML, how will NDK be discussed in light of this?

Thank-you for reading this, post not sponsored by any corporation.


Jeffrey Friesen
Ranch Hand

Joined: Dec 29, 2012
Posts: 67

Hi Ted,

I wrote Chapter 8: "Working with Android NDK and Renderscript." My first example, NDKGreetings, consists of an NDKGreetings Java class that extends Activity and also consists of an NDKGreetings library whose NDKGreetings source code is written in the C language. In my subsequent discussion on native activities, I present low-level and high-level examples in the C language. For each example, I show how to build and run it in command-line and Eclipse IDE contexts.

I've tried to take a balanced approach, presenting Java code where it makes sense to do so and similarly with C code.

I hope this answers your questions.

All the best.

Jeff Friesen
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link:
subject: Android Recipes NDK?
It's not a secret anymore!