aspose file tools*
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
Author

Android Recipes NDK?

Ted North
Ranch Hand

Joined: Jan 02, 2012
Posts: 193
    
    1

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.

Virtually,

Ted
Jeffrey Friesen
Author
Ranch Hand

Joined: Dec 29, 2012
Posts: 67
    
    5

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
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: Android Recipes NDK?