DPSD - Android Project 2

Step 1: Designing Screens

First convert your wireframes into activities and fragments supporting styles for a minimum of two resolutions. (Please refer to link http://developer.android.com/about/dashboards/index.html for popular screen sizes and densities.)

If you are creating your activities using the WYSIWYG editor then make sure of the following:

All Android Resources are identified by their id in Java source code.

Declarative approach on Resources

@+id/tableRow1

Means - that ID tableRow1 will create if it does not already exist.

Formal structure

@[package:]type/name type

refers to drawable, attr, id, layout, etc in R.java

Be careful not to use duplicate names in entire project as these are declared static.

Declare each referencable User Interface and Activity with its own String Declarative

For e.g.

android:text="@string/billTotal"
android:textColor="#000"
<TextView android:id="@+id/billTextView"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/billTotal"
android:textColor="#000"
android:gravity="right"
android:paddingRight="5dp"></TextView>

Use the following convention to name each activity:

PackageName_ActivityName.xml

Step 2: Designing Presentation Tier (Mainly for Input/Output)

Determine Intents for each activity based on your Navigation Flow.

Step 3: Designing Content Provider(For Storage)

Step 4: Designing Application Tier (for business logic)

Step 5: Designing Integration Tier

Package the code demonstrating your design in a single document and submit.