Creating the Application’s Screens
The Task Reminder application needs two different screens to perform all its basic functions: create, read, update, and delete (CRUD) tasks:
One view lists all current tasks in the application. This view also allows the user to delete a task by long-pressing the item.
A view to allow the user to view (read), add (create), or edit (update) a task.
Each screen eventually interacts with a database for changes to be persisted over the long-term use of the application.
Each screen consists of a single code fragment that contains most of the user interface for the screen, and that fragment is contained in an activity.
Starting the new project
To get started, open Eclipse and create a new Android project with a valid name, package, and activity. Table 9-1 shows the Eclipse settings for the Task Reminder app. (If you’re unfamiliar with how to create an Android project, see Chapter 3.)
If you download the source code from this book’s website, you can also open the Chapter 9 Android project example.
Table 9-1 New Project Settings
Property ... |
Get Android Application Development For Dummies, 2nd Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.