fix code snippet error
Change-Id: Ida2f5ac2bc0bfb9b13b142f6422dd4b815603ab5
This commit is contained in:
@@ -115,7 +115,7 @@ public class Calc extends Activity {
|
||||
public static final String PREFS_NAME = "MyPrefsFile";
|
||||
|
||||
@Override
|
||||
protected void onCreate(Bundle state){
|
||||
protected void onCreate(Bundle state){
|
||||
super.onCreate(state);
|
||||
. . .
|
||||
|
||||
@@ -374,7 +374,7 @@ android.database.sqlite.SQLiteOpenHelper#onCreate(SQLiteDatabase) onCreate()} me
|
||||
can execute a SQLite command to create tables in the database. For example:</p>
|
||||
|
||||
<pre>
|
||||
public class MyDbOpenHelper extends SQLiteOpenHelper {
|
||||
public class DictionaryOpenHelper extends SQLiteOpenHelper {
|
||||
|
||||
private static final int DATABASE_VERSION = 2;
|
||||
private static final String DICTIONARY_TABLE_NAME = "dictionary";
|
||||
|
||||
Reference in New Issue
Block a user