搜索资源列表
Sample_9_1
- Android.view.Menu接口代表一个菜单,android用它来管理各种菜单项,注意我们一般不自己创建menu,因为每个Activity默认都自带一个,我们要做的是为它加菜单项和响应菜单项的点击事件。Andorid.view.MenuItem代表每个菜单项,android.view.SubMenu代表子菜单,其三者的关系如下图所示,子菜单可以包裹多个菜单项,SubMenu继承了Menu的addSubMenu方法,但不能调用,因为不能嵌套调用。OnCreateOptionsMenu()和O
ActivityLifeCycle
- 描述android 中activity 生命周期的简单程序。模拟器中看不到结果,需要在LogCat中查看回调函数执行情况。-Describe the android activity life cycle in a simple procedure. Simulators do not see the results, you need to see the implementation of the callback function in LogCat.
RemoteCallbackListTest
- Remote Callback List Test extends Android Test Case.
downloadcompletedtrigger
- 测试代码: 测试Android的下载管理器; 测试Activity和service之间的通信(broadcast receiver 以及 回调接口)。-Test code: The download manager test Android Test the communication between Activity and service (broadcast receiver And the callback interface).