Difference between revisions of "Teams Winter 2011/team1/BlackBerry/Use SQLite"
Ladanzahir (talk | contribs) (Created page with '==Use Database and SQLite to Store Data==') |
Ladanzahir (talk | contribs) (→Use Database and SQLite to Store Data) |
||
Line 1: | Line 1: | ||
− | ==Use Database and SQLite to Store Data== | + | ==11. Use Database and SQLite to Store Data== |
+ | |||
+ | ===11.1 Create Database File=== | ||
+ | |||
+ | ===11.2 Add id to Student Class=== | ||
+ | |||
+ | ===11.3 Check for presence of SDCard=== | ||
+ | |||
+ | ===11.4 Copy Database File into SDCard=== | ||
+ | |||
+ | ===11.3 Create SQLiteManager Class=== | ||
+ | 11.3.1 Open Database<br/> | ||
+ | 11.3.2 Close Database<br/> | ||
+ | 11.3.3 Select All Students<br/> | ||
+ | 11.3.4 Insert New Student<br/> | ||
+ | 11.3.5 Delete Student<br/> | ||
+ | 11.3.6 Update Student<br/> | ||
+ | |||
+ | ===11.4 Modify StudentsList Class to use SQLiteManager=== | ||
+ | 11.4.1 Load list<br/> | ||
+ | 11.4.2 Add Student<br/> | ||
+ | 11.4.3 Edit Student<br/> | ||
+ | 11.4.4 Delete Student<br/> |
Revision as of 15:19, 8 April 2011
Contents
11. Use Database and SQLite to Store Data
11.1 Create Database File
11.2 Add id to Student Class
11.3 Check for presence of SDCard
11.4 Copy Database File into SDCard
11.3 Create SQLiteManager Class
11.3.1 Open Database
11.3.2 Close Database
11.3.3 Select All Students
11.3.4 Insert New Student
11.3.5 Delete Student
11.3.6 Update Student
11.4 Modify StudentsList Class to use SQLiteManager
11.4.1 Load list
11.4.2 Add Student
11.4.3 Edit Student
11.4.4 Delete Student