[android-developers] Re: creating and opening sqlitedb on sdcard for api7

2010-06-21 Thread kamiseq
is there anyone there who tried creating a database on an SD card? I ve found how to create and start emulator with sdcard image but how to manage the sdcard on emulator without eclipse plugin? which tool should I use to browse and copy data from and to sd card?? -- You received this message

Re: [android-developers] Re: creating and opening sqlitedb on sdcard for api7

2010-06-21 Thread Mark Murphy
On Mon, Jun 21, 2010 at 8:07 AM, kamiseq kami...@gmail.com wrote: which tool should I use to browse and copy data from and to sd card?? DDMS's File Manager, or the adb pull command. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy

[android-developers] Re: creating and opening sqlitedb on sdcard for api7

2010-06-21 Thread kamiseq
you are my man :D thanks On 21 June, 14:12, Mark Murphy mmur...@commonsware.com wrote: On Mon, Jun 21, 2010 at 8:07 AM, kamiseq kami...@gmail.com wrote: which tool should I use to browse and copy data from and to sd card?? DDMS's File Manager, or the adb pull command. -- Mark Murphy (a

[android-developers] Re: creating and opening sqlitedb on sdcard for api7

2010-06-21 Thread brucko
kamiseq, Only just saw your posts. I have to regularly create db's on sdCard due to my requirements. The code I use is below. The main thing that stands out in your code to me is File.pathSeparator, from memory this returns : when you need File.separator which is / - on my system anyhow.

[android-developers] Re: creating and opening sqlitedb on sdcard for api7

2010-06-20 Thread kamiseq
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

Re: [android-developers] Re: creating and opening sqlitedb on sdcard for api7

2010-06-20 Thread Mark Murphy
On Sun, Jun 20, 2010 at 11:20 AM, kamiseq kami...@gmail.com wrote: E/Database(  434): sqlite3_open_v2(/sdcard:my_external_db.db, handle, 2, NULL) failed This looks like you are trying to open /sdcard:my_external_db.db instead of /sdcard/my_external_db.db. -- Mark Murphy (a Commons Guy)

[android-developers] Re: creating and opening sqlitedb on sdcard for api7

2010-06-20 Thread kamiseq
I tried manually replacing File.pathSeparator with / but the result was the same, i will try that again .. so you say that the code is ok? On 20 Cze, 17:27, Mark Murphy mmur...@commonsware.com wrote: On Sun, Jun 20, 2010 at 11:20 AM, kamiseq kami...@gmail.com wrote: E/Database(  434):

Re: [android-developers] Re: creating and opening sqlitedb on sdcard for api7

2010-06-20 Thread Mark Murphy
On Sun, Jun 20, 2010 at 12:11 PM, kamiseq kami...@gmail.com wrote: I tried manually replacing File.pathSeparator with / but the result was the same, i will try that again .. so you say that the code is ok? I have not tried creating a database on an SD card. I am simply trying to provide you

[android-developers] Re: creating and opening sqlitedb on sdcard for api7

2010-06-20 Thread kamiseq
:-) heh ok, I appreciate that :) On 20 Cze, 18:30, Mark Murphy mmur...@commonsware.com wrote: On Sun, Jun 20, 2010 at 12:11 PM, kamiseq kami...@gmail.com wrote: I tried manually replacing File.pathSeparator with / but the result was the same, i will try that again .. so you say that the