5). BlackBerry生命周期- BlackBerry Application Life-Cycle and Phasesby
2012-01-30 14:24
591 查看
BlackBerry Application Life-Cycle and Phasesby
The runtime lifecycle defines a common runtime architecture that is the same for all apps. This makes mobile apps much easier to design, and means that you don't have to worry about complex interactions with the system; critical system interactions are already built into the lifecycle.
Following are the events which used in order while your application will move through.
The BlackBerry Tablet OS is a multithreaded, multitasking platform so it can run multiple applications at the same time. While your application is running in the foreground, it is active. However, it can be interrupted when another application opens and replaces yours as the active application
These events can be fire into three main phases in a BlackBerry application runtime life-cycle:
Startup : startup is generally done by one of the following three ways
- User clicks the application's icon on the home screen.
- Application is automatically started when device is turn on.
- The application is run by another application.
Running
Exiting
转自: http://www.mindcracker.com/Story/392/blackberry-application-life-cycle-and-phases
The runtime lifecycle defines a common runtime architecture that is the same for all apps. This makes mobile apps much easier to design, and means that you don't have to worry about complex interactions with the system; critical system interactions are already built into the lifecycle.
Following are the events which used in order while your application will move through.
Event | Object | Method |
Application launched. | UiApplication | main( String[] args ) |
OS tells application to start. | MainScreen | activate() |
Screen is pushed onto stack. | MainScreen | onDisplay() |
Screen about to be drawn. | MainScreen | onUiEngineAttached() |
Menu or dialog is removed. | MainScreen | onExposed() |
Screen is closed. | MainScreen | close() |
OS puts application in background. | UiApplication | deactivate() |
These events can be fire into three main phases in a BlackBerry application runtime life-cycle:
Startup : startup is generally done by one of the following three ways
- User clicks the application's icon on the home screen.
- Application is automatically started when device is turn on.
- The application is run by another application.
Running
Exiting
转自: http://www.mindcracker.com/Story/392/blackberry-application-life-cycle-and-phases
相关文章推荐
- BlackBerry application life cycle
- 应用程序生命周期管理ALM(application lifecycle management)
- ASP.NET Application and Page Life Cycle
- Processes and Application Life Cycle
- Android应用程序生命周期 - Lifecycle of an Android Application
- ASP.NET 应用程序生命周期(ASP.NET Application Life Cycle)
- iOS Application Life Cycle 应用程序生命周期
- ASP.NET Application and Page Life Cycle
- Activity生命周期监测接口-Application的ActivityLifecycleCallbacks接口
- 应用程序生命周期管理(ALM:application lifecycle management)
- Application Development and Integration life cycle
- 3.NativeScript Application Life cycle And Store Data
- Android应用程序生命周期 - Lifecycle of an Android Application
- Business analysis and SOA part 4 of 6: SOA delivery lifecycle and the top-down approach [by Thomas Erl]
- ASP.NET application and page life cycle
- ALM(application lifecycle management)应用程序生命周期管理
- iOS Application Life Cycle 应用程序生命周期
- ASP.NET application and page life cycle -2
- 自学Swift-斯坦福笔记整理(十三) Application Lifecycle and Core Motion
- 应用程序生命周期管理(application lifecycle management;ALM)