Merge commit '2b136832be7326caed0c79bae418c2dd54372bea' into gingerbread-plus-aosp * commit '2b136832be7326caed0c79bae418c2dd54372bea': fix code snippet error
This commit is contained in:
@@ -115,7 +115,7 @@ public class Calc extends Activity {
|
|||||||
public static final String PREFS_NAME = "MyPrefsFile";
|
public static final String PREFS_NAME = "MyPrefsFile";
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
protected void onCreate(Bundle state){
|
protected void onCreate(Bundle state){
|
||||||
super.onCreate(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>
|
can execute a SQLite command to create tables in the database. For example:</p>
|
||||||
|
|
||||||
<pre>
|
<pre>
|
||||||
public class MyDbOpenHelper extends SQLiteOpenHelper {
|
public class DictionaryOpenHelper extends SQLiteOpenHelper {
|
||||||
|
|
||||||
private static final int DATABASE_VERSION = 2;
|
private static final int DATABASE_VERSION = 2;
|
||||||
private static final String DICTIONARY_TABLE_NAME = "dictionary";
|
private static final String DICTIONARY_TABLE_NAME = "dictionary";
|
||||||
|
|||||||
Reference in New Issue
Block a user