六月

10

额外

额外的练习(Extra Credit) In this exercise, you will use the debugger to look at the work you did in Exercise 3. This exercise demonstrates: How to set breakpoints to observe execution How to run your application in debug mode [Exercise 1] [Exercise 2] [Exercise 3] [Extra Credit] 在本练习中,你将使用调试器观察在记事本练习3中所完成的程序。 本练习示范了如下内容: 如何设置断点来观察程序执行过程 如何在调试模式下运行你的程序 [Exercise 1] [Exercise 2] [Exercise [...]

六月

10

记事本3

记事本练习 3 在本练习中,你将使用生命周期事件回调方法保存和恢复应用程序状态数据。本练习示范了如下内容: 什么是生命周期事件及如何使用它们 维护应用程序状态的技术

六月

10

记事本2

记事本练习 2 在这一练习中,你将添加第二个活动到你的notepad应用中,从而允许用户创建、编辑和删除便签。新的活动将用户的输入打包到一个由相应的intent提供的Bundle的方式来创建新的便签。这一节将演示: 创建一个新的活动并且将它添加到Android的manifest 文件中 通过使用startSubActivity() 方法来异步调用另一个活动. 通过Bundle在活动之间传递数据 如何使用更多的屏幕布局高级特性

六月

10

记事本1

记事本练习 1 In this exercise, you will construct a simple notes list that lets the user add new notes but not edit them. The exercise demonstrates: 在这个练习中,你将要创建一个简单的记事本列表,用户可以添加新的记事但是不能编辑他们。这个练习示范了如下内容: The basics of ListActivities and creating and handling menu options. How to access/store the notes in an SQLite database to store the notes. How to bind data into [...]

六月

10

入门指引:记事本应用

入门指引:记事本应用 The tutorial in this section gives you a “hands-on” introduction to the Android framework and the tools you use to build applications on it. Starting from a preconfigured project file, it guides you through the process of developing a simple notepad application and provides concrete examples of how to set up the project, develop [...]