im running this app on emulator, I added permission with no success.

I dont have any caused by this is all I have from my logcat (with no
filters)

D/SqliteExternalHelper(  434): getting readwrite database
D/SqliteExternalHelper(  434): opening writable database at /
sdcard:my_external_db.db
E/Database(  434): sqlite3_open_v2("/sdcard:my_external_db.db",
&handle, 2, NULL) failed
D/AndroidRuntime(  434): Shutting down VM
W/dalvikvm(  434): threadid=3: thread exiting with uncaught exception
(group=0x4001b188)
E/AndroidRuntime(  434): Uncaught handler: thread main exiting due to
uncaught exception
E/AndroidRuntime(  434): android.database.sqlite.SQLiteException:
unable to open database file
E/AndroidRuntime(  434):        at
android.database.sqlite.SQLiteDatabase.dbopen(Native Method)
E/AndroidRuntime(  434):        at
android.database.sqlite.SQLiteDatabase.<init>(SQLiteDatabase.java:
1697)
E/AndroidRuntime(  434):        at
android.database.sqlite.SQLiteDatabase.openDatabase(SQLiteDatabase.java:
738)
E/AndroidRuntime(  434):        at
info.kamiseq.db.SqliteExternalHelper.getWritable(SqliteExternalHelper.java:
130)
E/AndroidRuntime(  434):        at
info.kamiseq.db.SqliteExternalHelper.getWritable(SqliteExternalHelper.java:
98)
E/AndroidRuntime(  434):        at
info.kamiseq.wayreplay.dao.GpsLog.put(GpsLog.java:36)
E/AndroidRuntime(  434):        at
info.kamiseq.wayreplay.listener.GpsListener.onLocationChanged(GpsListener.java:
41)
E/AndroidRuntime(  434):        at android.location.LocationManager
$ListenerTransport._handleMessage(LocationManager.java:179)
E/AndroidRuntime(  434):        at android.location.LocationManager
$ListenerTransport.access$000(LocationManager.java:112)
E/AndroidRuntime(  434):        at android.location.LocationManager
$ListenerTransport$1.handleMessage(LocationManager.java:128)
E/AndroidRuntime(  434):        at
android.os.Handler.dispatchMessage(Handler.java:99)
E/AndroidRuntime(  434):        at android.os.Looper.loop(Looper.java:
123)
E/AndroidRuntime(  434):        at
android.app.ActivityThread.main(ActivityThread.java:4363)
E/AndroidRuntime(  434):        at
java.lang.reflect.Method.invokeNative(Native Method)
E/AndroidRuntime(  434):        at
java.lang.reflect.Method.invoke(Method.java:521)
E/AndroidRuntime(  434):        at com.android.internal.os.ZygoteInit
$MethodAndArgsCaller.run(ZygoteInit.java:860)
E/AndroidRuntime(  434):        at
com.android.internal.os.ZygoteInit.main(ZygoteInit.java:618)
E/AndroidRuntime(  434):        at
dalvik.system.NativeStart.main(Native Method)
I/Process (   52): Sending signal. PID: 434 SIG: 3
I/dalvikvm(  434): threadid=7: reacting to signal 3
I/dalvikvm(  434): Wrote stack trace to '/data/anr/traces.txt'

I havent tried that, but maybe I need to create directory and file by
myself. I tried to look at SQLiteDatabase source code what actually
openDatabase is doing but it is quickly calling native method so I
have no idea what it going on under the hood.

thanks for helping

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to