This week's book giveaway is in the Design forum.
We're giving away four copies of Design for the Mind and have Victor S. Yocco on-line!
See this thread for details.
Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Android Recipes NDK?

 
Ted North
Ranch Hand
Posts: 200
1
Java Python Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 67
5
Android Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic