Step One - Create the initial layout
Step Two - Create an array resource
Note these instructions are for the standalone DroidDraw executable.
arrays.xml in the res/values directory in your project.
Step Three - Link the array and your list
main.xml in the
res/layouts directory in your project.
Step Four - Code
Step Five - Done!
Use the following code for your main .java file:
/** Called when the activity is first created. */
@Override
public void onCreate(Bundle icicle) {
super.onCreate(icicle);
this.setTitle("DroidDraw");
setContentView(R.layout.main);
}
Run your code in the Android emulator.