Advertisement

Gaming Tricks for Phones or Tablets

  • Massimo Nardone
  • Vladimir Silva
Chapter

Abstract

In this chapter, you will get your feet wet with development in Android. You’ll learn how easy it is to build a simple Android app that loads a native library and executes methods written in C within Java. You’ll also learn how to call back Java methods within C, so the communication goes both ways between the languages. Next you’ll learn how to cascade audio, video, key, and touch events from Java to C by using thin Java wrappers that simply pass event information to the native library. And finally, you’ll tackle multi-touch, which is a useful subject for advanced games such as first person shooters and others. Multi-touch can be a tricky subject, so check it out. But first, you'll learn how to add native code to your Android project.

Keywords

Graphic Processing Unit Android Application Game Engine Game Developer Event Queue 
These keywords were added by machine and not by the authors. This process is experimental and the keywords may be updated as the learning algorithm improves.

Copyright information

© Massimo Nardone 2015

Authors and Affiliations

  • Massimo Nardone
    • 1
  • Vladimir Silva
    • 1
  1. 1.HelsinkiFinland

Personalised recommendations