• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Android Recipes NDK?

 
Ranch Hand
Posts: 201
1
Python Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Author
Posts: 86
5
Android Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
If I'd had more time, I would have written a shorter letter. -T.S. Eliot such a short, tiny ad:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic