BuildmLearn-Toolkit-Android
2.0.0
The Android version of the BuildmLearn Toolkit. BuildmLearn Toolkit is an easy-to-use program that helps the users make mobile apps without any knowledge of application development.
|
Contains database util functions for spell template's simulator. More...
Public Member Functions | |
SpellDb (Context context) | |
void | open () throws SQLException |
void | close () |
void | markAnswered (int id, String answer) |
void | resetCount () |
int[] | getStatistics () |
Cursor | getSpellingCursorById (int id) |
long | getCountSpellings () |
void | deleteAll () |
int | bulkInsertSpellings (@NonNull ContentValues[] values) |
Private Member Functions | |
void | markUnAnswered (int id) |
Private Attributes | |
final SpellDBHelper | dbHelper |
SQLiteDatabase | db |
Static Private Attributes | |
static final String | EQUAL = " == " |
Contains database util functions for spell template's simulator.
Created by Anupam (opticod) on 1/6/16.
org.buildmlearn.toolkit.learnspelling.data.SpellDb.SpellDb | ( | Context | context | ) |
int org.buildmlearn.toolkit.learnspelling.data.SpellDb.bulkInsertSpellings | ( | @NonNull ContentValues[] | values | ) |
void org.buildmlearn.toolkit.learnspelling.data.SpellDb.close | ( | ) |
void org.buildmlearn.toolkit.learnspelling.data.SpellDb.deleteAll | ( | ) |
long org.buildmlearn.toolkit.learnspelling.data.SpellDb.getCountSpellings | ( | ) |
Cursor org.buildmlearn.toolkit.learnspelling.data.SpellDb.getSpellingCursorById | ( | int | id | ) |
int [] org.buildmlearn.toolkit.learnspelling.data.SpellDb.getStatistics | ( | ) |
void org.buildmlearn.toolkit.learnspelling.data.SpellDb.markAnswered | ( | int | id, |
String | answer | ||
) |
|
private |
void org.buildmlearn.toolkit.learnspelling.data.SpellDb.open | ( | ) | throws SQLException |
void org.buildmlearn.toolkit.learnspelling.data.SpellDb.resetCount | ( | ) |
|
private |
|
private |
|
staticprivate |