Книга: Beginning Android
Schroedinger’s Activity
Schroedinger’s Activity
An activity, generally speaking, is in one of four states at any point in time:
• Active: The activity was started by the user, is running, and is in the foreground. This is what you’re used to thinking of in terms of your activity’s operation.
• Paused: The activity was started by the user, is running, and is visible, but a notification or something is overlaying part of the screen. During this time, the user can see your activity but may not be able to interact with it. For example, if a call comes in, the user will get the opportunity to take the call or ignore it.
• Stopped: The activity was started by the user, is running, but it is hidden by other activities that have been launched or switched to. Your application will not be able to present anything meaningful to the user directly, only by way of a Notification
.
• Dead: Either the activity was never started (e.g., just after a phone reset) or the activity was terminated, perhaps due to lack of available memory.
- 15.6.1 Synchronous Activity Synchronization
- Monitoring User Activity on the System
- Checking the status, speed, and activity for network connections
- Using debug logging to track DNS activity
- 15.2.2 Activity Synchronization
- 1.10. Предоставление возможностей совместного использования информации с применением UIActivityViewController
- 1.11. Предоставление специальных возможностей совместного использования данных с применением UIActivityViewController
- 1.2.2. Работы (Activity)
- 4.9. Упражнение 9. Стоимостный анализ (Activity Based Costing)
- Activity Timers
- CHAPTER 16 Handling Activity Lifecycle Events
- The Activity