March 2013
Intermediate to advanced
346 pages
8h 4m
English
This recipe discusses how to schedule native threads at Android NDK.
Readers are suggested to read the Manipulating classes in JNI and Calling static and instance methods from native code recipes in Chapter 2, Java Native Interface, and Creating and terminating native threads at Android NDK recipe in this chapter.
The following steps will help us create an Android project that demonstrates threads scheduling at Android NDK:
NativeThreadsSchedule. Set the package name as cookbook.chapter6.nativethreadsschedule. Refer to the Loading native libraries and registering native methods recipe in Chapter 2, Java Native Interface for more detailed instructions. ...