CPT236 TEST 2 Flashcards
6 items on the Req Doc
Application Name, Purpose, Program Procedures, Algorithm, Notes, Comments
What goes at the top of the Req Doc? (4 items)
David Smith, IST 236, Requirements Document, Assignment and Problem Numbers
Application Name
Self Explanatory
Purpose
Tell me about the program and sell me on why I need it
Program Procedures
Basic Description of what the program does
Algorithm
Step by step instructions of what it does
Notes
that would be valid to the reader
Comments
Information pertinent to the application
What is the setListAdapter statement?
setListAdapter(new ArrayAdapter(this, android.R.layout.simple_list_item_1, nameOfStringArray));
statement for startActivity for a web address
startActivity(new Intent(Intent.ACTION_VIEW, Uri.parse(“web address”)));
create instance of the Button.OnClickListener
Button.OnClickListener variable = new Button.OnClickListener() {}
variable for date dialog
static final int DATE_DIALOG_ID = 0;
statement for onCreateDialog
protected Dialog onCreateDialog(int id) {}
for a calendar, what goes inside the onCreateDialog method?
return new DatePickerDialog(this, variable, currentYear, currentMonth, currentDay);
the statement for a listener for when the user selects a date
private DatePickerDialog.OnDateSetListener variable = new DatePickerDialog.OnDateSetListener() {}