Skip to Content
Pro Android C++ with the NDK
book

Pro Android C++ with the NDK

by Onur Cinar
December 2012
Intermediate to advanced content levelIntermediate to advanced
416 pages
15h
English
Apress
Content preview from Pro Android C++ with the NDK

Chapter    14

Keeping Your Interface Responsive

As we’ve mentioned a few times in this book, if you try to do too much at one time in an action or delegate method, or in a method called from one of those methods, your application’s interface can skip or even freeze while the long-running method does its job. As a general rule, you do not want your application’s user interface to ever become unresponsive. Your user will expect to be able to interact with your application at all times, or at the very least will expect to be kept updated by your user interface when they aren’t allowed to interact with it.

In computer programming, the ability to have multiple sets of operations happening at the same time is referred to, generally, as concurrency ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Android NDK Beginner`s Guide - Second Edition

Android NDK Beginner`s Guide - Second Edition

Sylvain Ratabouil
Learning Embedded Android N Programming

Learning Embedded Android N Programming

Ivan Morgillo, Stefano Viola
Learning Android

Learning Android

Marko Gargenta

Publisher Resources

ISBN: 9781430248279Purchase book