summaryrefslogtreecommitdiffstats
path: root/docs/html
diff options
context:
space:
mode:
authorScott Main <smain@google.com>2010-09-03 11:03:42 -0700
committerScott Main <smain@google.com>2010-09-03 11:03:42 -0700
commitc4367e54e41f4e7a6c79b60dd80e66c9e6fdcfc3 (patch)
tree9c78cedb115a1de9f4dd6d6da9968221ff9de4c9 /docs/html
parentc5083cdfff55a8fdcc82198273afd7dbe6379879 (diff)
downloadframeworks_base-c4367e54e41f4e7a6c79b60dd80e66c9e6fdcfc3.zip
frameworks_base-c4367e54e41f4e7a6c79b60dd80e66c9e6fdcfc3.tar.gz
frameworks_base-c4367e54e41f4e7a6c79b60dd80e66c9e6fdcfc3.tar.bz2
fix code snippet error
Change-Id: Ida2f5ac2bc0bfb9b13b142f6422dd4b815603ab5
Diffstat (limited to 'docs/html')
-rw-r--r--docs/html/guide/topics/data/data-storage.jd4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/html/guide/topics/data/data-storage.jd b/docs/html/guide/topics/data/data-storage.jd
index 293a057..e20d1ed 100644
--- a/docs/html/guide/topics/data/data-storage.jd
+++ b/docs/html/guide/topics/data/data-storage.jd
@@ -115,7 +115,7 @@ public class Calc extends Activity {
public static final String PREFS_NAME = "MyPrefsFile";
&#64;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";