December 2013
Beginner
416 pages
12h 45m
English
When you’re first programming for Android, you need to be aware of several gotchas that may trip you up. For example, it’s common to accidentally block the user interface thread and cause your application to perform badly or, even worse, to become unresponsive. Strict mode was added to the Android SDK to identify issues like this. It’s a good idea, especially when you’re starting out, to always turn on Strict mode.
Strict mode is flexible in that you can filter issues so that it reports only the ones you’re interested in and, when those issues occur, what sort of action should be taken.
You can take the following actions:
Logging the issue to LogCat
Flashing the device’s screen
Stopping the application
Opening a ...
Read now
Unlock full access