Discover the native side of Android together with inject the ability of C/C++ inward your applications
About This Book
- Create high functioning mobile applications alongside C/C++ together with integrate alongside Java
- Exploit advanced Android features such equally graphics, sound, input, together with sensing
- Port together with reuse your ain or third-party libraries from the prolific C/C++ ecosystem
Who This Book Is For
Are you lot an Android Java programmer who needs to a greater extent than performance? Are you lot a C/C++ developer who doesn’t desire to bother alongside the complexity of Java together with its out-of-control garbage collector? Do you lot desire to practice fast intensive multimedia applications or games? If you’ve answered aye to whatever of these questions together with hence this majority is for you. With closed to full general cognition of C/C++ development, you lot volition endure able to dive headfirst into native Android development.
What You Will Learn
- Build your kickoff Android native projection from scratch
- Communicate alongside Java through Java Native Interfaces
- Learn the primal pattern intricacies of creating a native OpenGL ES 2.0 graphics application
- Initialize, play, together with tape audio together with music alongside OpenSL ES
- Handle input events together with sensors to practice dissimilar interaction types
- Port an existing library on Android yesteryear compiling most mutual C++ frameworks on Android
- Interface together with optimize the existing code alongside RenderScript
- Combine graphics, sound, input, sensors, together with physics inward your application
Android NDK is all almost injecting high-performance together with portable code into your mobile apps yesteryear exploiting the maximum speed of the device they run on.
This majority volition present you lot how to practice C/C++-enabled mobile applications together with integrate them alongside Java. The books starts alongside education you lot how to access native API together with port libraries used inward closed to of the most successful Android applications. Next, you lot volition motion on to practice a existent native application projection through the consummate implementation of a native API together with porting existing third-party libraries. Moving forward, you lot volition larn how to access the keyboard together with input peripherals together with read accelerometer or orientation sensors. Finally, you lot volition dive into to a greater extent than advanced topics such equally RenderScript.