Open main menu

CDOT Wiki β

Changes

Teams Winter 2011/team1/BlackBerry/Use SQLite

326 bytes added, 23:27, 11 April 2011
11.7 Modify StudentsList Class to use SQLiteManager
11.7.4 Delete Student<br/>
<source lang="java">
/** * Removes element from the list * @param element */ void deleteElement(Object element) { Student student = (Student)element; SQLManager sqlManager = new SQLManager(db, uri); sqlManager.deleteStudent(student.getId()); doRemove(element); SQLManager.closeDB(); }
</source>
===11.8 Student View Application in Action===
1
edit