These errors aren't coming from the Earthquake app, but rather from the runtime.
The problem with the Earthquake project is that until Chapter 9 Earthquake 2 (pp303) it runs on the GUI thread -- meaning it can block user input for an unacceptable length of time. This can cause problems with other parts of the system and can cause Earthquake to Force Close.
Try this later example that moves everything to a background thread and things should improve dramatically!
|