博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
5). BlackBerry生命周期- BlackBerry Application Life-Cycle and Phasesby
阅读量:4691 次
发布时间:2019-06-09

本文共 1527 字,大约阅读时间需要 5 分钟。

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.

BlackBerry Application Life-Cycle
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()

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:

  1. 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.
  2. Running
  3. Exiting

转自:                                                           

转载于:https://www.cnblogs.com/Jessy/archive/2012/01/30/2331891.html

你可能感兴趣的文章
解决在vue中,自用mask模态框出来后,下层的元素依旧可以滑动的问题
查看>>
修改node节点名称
查看>>
PAT(B) 1014 福尔摩斯的约会(Java)
查看>>
PAT甲级题解-1123. Is It a Complete AVL Tree (30)-AVL树+满二叉树
查看>>
项目开发总结报告(GB8567——88)
查看>>
SSH加固
查看>>
端口扫描base
查看>>
iOS IM开发的一些开源、框架和教程等资料
查看>>
FansUnion:共同写博客计划终究还是“流产”了
查看>>
python 二维字典
查看>>
pip 警告!The default format will switch to columns in the future
查看>>
Arrays类学习笔记
查看>>
实验吧之【天下武功唯快不破】
查看>>
2019-3-25多线程的同步与互斥(互斥锁、条件变量、读写锁、自旋锁、信号量)...
查看>>
win7-64 mysql的安装
查看>>
dcm4chee 修改默认(0002,0013) ImplementationVersionName
查看>>
maven3在eclipse3.4.2中创建java web项目
查看>>
发布时间 sql语句
查看>>
黑马程序员 ExecuteReader执行查询
查看>>
记一些从数学和程序设计中体会到的思想
查看>>