new to droid programming. im having a small problem that im sure is simply fixed but ive done some searching and a bunch of tutorials but cant seem to find just what i need so i figured id ask. My app has 2 activites, the first activity is just a simple form where a user enters course information(class title, professor..etc.)
the first activity passes the data which is supposed to be stored in a list in the second activity. problem is that only the first course gets stored in the list, after the first time nothing new gets added to the second activity. Can someone point me in the right direction please? thanks in advance

First Activity

```
public class CourseDetail extends Activity {

//Course c = new Course();

@Override
public void onCreate(Bundle savedInstanceState) {
    super.onCreate(savedInstanceState);
    setContentView(R.layout.main);
    Button save=(Button)findViewById(R.id.save);
    save.setOnClickListener(onSave);
}

private View.OnClickListener onSave=new View.OnClickListener() {

    public void onClick(View v) {
        EditText course=(EditText)findViewById(R.id.course);
        EditText professor=(EditText)findViewById(R.id.professor);
        EditText location=(EditText)findViewById(R.id.location);
        EditText officehrs=(EditText)findViewById(R.id.officehrs);

        Intent i=new Intent(CourseDetail.this, CourseList.class);
        i.putExtra("myCourse", course.getText().toString());
        i.putExtra("myProfessor", professor.getText().toString());
        i.putExtra("myLocation", location.getText().toString());
        i.putExtra("myOfficehrs", officehrs.getText().toString());
        startActivity(i);
    }
};
}

```

Second Activity

```
public class CourseList extends Activity {
Button btnCourse; 
List<Course> model = new ArrayList<Course>();
CourseAdapter adapter=null;
private String dCourse="";
private String dProfessor="";
private String dLocation="";
private String dOfficehrs="";

@Override
public void onCreate(Bundle savedInstanceState) {
    super.onCreate(savedInstanceState);
    setContentView(R.layout.clist);
    ListView list =(ListView)findViewById(R.id.courses);
    adapter=new CourseAdapter();
    list.setAdapter(adapter);

    Course c = new Course();        
    Bundle extras = getIntent().getExtras();
    dCourse = extras !=null ? extras.getString("myCourse") :"no value entered";
    dProfessor = extras !=null ? extras.getString("myProfessor") :"no value entered";
    dLocation = extras !=null ? extras.getString("myLocation") :"no value entered";
    dOfficehrs = extras !=null ? extras.getString("myOfficehrs") :"no value entered";

    c.setCourse(dCourse);
    c.setProfessor(dProfessor);
    c.setLocation(dLocation);
    c.setOfficeHrs(dOfficehrs);

    btnCourse =(Button)findViewById(R.id.btnCourse);
    btnCourse.setOnClickListener(new View.OnClickListener() {

        public void onClick(View v) {
            finish();
        }
    });

}

```