Open main menu

CDOT Wiki β

Changes

Teams Winter 2011/team1/BlackBerry/Use SQLite

340 bytes added, 21:42, 11 April 2011
11.3 Add id to Student Class
===11.3 Add id to Student Class===
Now in our main application project,we need to add id to this class because we are going to preserve our Student objects in database,:
So add a private field and add public getter and setters:
<source lang="java">
 
public int getId(){
return this.id;
}
public void setId(int id){
this.id = id;
}
</source>
===11.4 Check for presence of SDCard===
1
edit