This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan 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


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
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: 192
    
    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: 37
    
    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
 
Don't get me started about those stupid light bulbs.
 
subject: Android Recipes NDK?
 
Similar Threads
Android In Practice and NDK
Android Recipes, Second Edition
Java on Android - Widgets
NDK book?
Well, what is the best way to learn NDK i know Android/Java only