O'Reilly logo

Android NDK Beginner's Guide by Sylvain Ratabouil

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Handling activity events

In the first part, we have run a native event loop which flushes events without really processing them. In this second part, we are going to discover more about these events occurring during activity lifecycle. Let's extend the previous example to log all events that a native activity is confronted to.

Handling activity events

Note

Project DroidBlaster_Part5-1 can be used as a starting point for this part. The resulting project is provided with this book under the name DroidBlaster_Part5-2.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required