Changes

Jump to: navigation, search

Teams Winter 2011/team1/Android/Edit Contact

19 bytes added, 11:57, 7 April 2011
8.4 Implement the EditContact in the main activity class
protected void onActivityResult(int requestCode, int resultCode, Intent intent) {// modified to implement Edit
switch (requestCode){
case CREATE_CONTACT:// Add new Contact
if (resultCode == Activity.RESULT_OK) {
studentList.addElement(new Student(intent.getExtras().getString("firstName"),
1
edit

Navigation menu