Skip to content

Commit 6227891

Browse files
committed
moved db tests into a function and created an async task to insert lines of a text file into the db. fixes #1
1 parent c6cbc3c commit 6227891

File tree

2 files changed

+408
-270
lines changed

2 files changed

+408
-270
lines changed

NotePadSample/AndroidManifest.xml

+9-7
Original file line numberDiff line numberDiff line change
@@ -23,20 +23,23 @@
2323
to come from a domain that you own or have control over.
2424
-->
2525
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
26-
package="com.example.android.notepad" >
26+
package="com.example.android.notepad"
27+
android:installLocation="preferExternal" >
2728

2829
<application
2930
android:icon="@drawable/app_notes"
3031
android:label="@string/app_name" >
31-
32-
<!-- <provider
32+
33+
<!--
34+
<provider
3335
android:name="com.google.code.p.leveldb.provider.NotePadLevelDBProvider"
34-
android:authorities="com.google.provider.NotePad" />-->
36+
android:authorities="com.google.provider.NotePad" />
37+
-->
3538

36-
<provider
39+
<provider
3740
android:name="com.google.code.p.leveldb.provider.LevelDBProvider"
3841
android:authorities="com.google.code.p.leveldb.provider.UnstructuredData" />
39-
42+
4043
<!--
4144
<provider android:name="com.google.code.p.leveldb.provider.NotePadSQLiteProvider"
4245
android:authorities="com.google.provider.NotePad"
@@ -54,7 +57,6 @@
5457
<activity
5558
android:name="NotesList"
5659
android:label="@string/title_notes_list" >
57-
5860
<intent-filter>
5961
<action android:name="android.intent.action.VIEW" />
6062
<action android:name="android.intent.action.EDIT" />

0 commit comments

Comments
 (0)