O'Reilly logo

Android™ Tablet Application Development For Dummies® by Donn Felker

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Creating the Application's Screens

The first part of the process of developing the Task Reminder application is to create the screens. The Task Reminder app will have two different screens that perform all the basic CRUD (Create, Read, Update, and Delete) functions, as follows:

  • A task list screen: A list view that lists all the current tasks in the application by name. This view also allows users to delete a task by long-pressing an item.
  • An add/edit screen: A view that allows users 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.

Starting the new project

To get started, open Eclipse and create a new Android project with a Build Target of Android 3.0 and a MinSDKVersion of 11. Provide it with a valid name, package, and activity. The settings I have chosen are shown in Table 11-1. If you prefer, you can open the example Android project for Chapter 11 from this book's companion website. This provides you with a starting point that has the same settings as my project.

Table 11-1 New Project Settings

Property Value
Project Name Task Reminder
Build Target Android 3.0 (API Level 11) or greater
Application Name Task Reminder
Package Name com.dummies.android.taskreminder
Create Activity ReminderListActivity
Min SDK Version 11

Note the Create Activity property value — ReminderListActivity. (I chose this name over ListActivity because this is ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required