[android-developers] Re: problem of creating SQLite database on SDCard

2010-07-12 Thread Kenneth WON
Kosyta The error is fixed. Thank you for your help! Kenneth On Jul 12, 5:39 pm, Kostya Vasilyev kmans...@gmail.com wrote: Kenneth, Does your app have WRITE_EXTERNAL_STORAGE permission? -- Kosyta 12.07.2010 13:21, Kenneth WON пишет: Dear all, I want to create a database storing

[android-developers] Re: Problem with the sqlite database

2008-12-17 Thread filbert
If you close your connection in onPause, wouldn't you need to open it again in onResume? On Dec 13, 6:08 pm, Paul paul_rash...@yahoo.com wrote: In order to play nicely with the resources you share with other applications I think you might want to consider creating your connection in onCreate,

[android-developers] Re: Problem with the sqlite database

2008-12-17 Thread Paul
yep, I miss-spoke. onResume is what I use. On Dec 17, 4:46 pm, filbert filbert...@gmail.com wrote: If you close your connection in onPause, wouldn't you need to open it again in onResume? On Dec 13, 6:08 pm, Paul paul_rash...@yahoo.com wrote: In order to play nicely with the resources

[android-developers] Re: Problem with the sqlite database

2008-12-13 Thread thisnameagain
Wondering if you ever solved this? I am getting a similar problem and I have not found anything that works, or others solutions. On Nov 26, 10:30 pm, bharath kumar bhrthkum...@gmail.com wrote: Hi AndroidDev, 11-24 19:27:38.287: ERROR/Database(5891): Leak found 11-24 19:27:38.287:

[android-developers] Re: Problem with the sqlite database

2008-12-13 Thread thisnameagain
I cleared up my problem with the SQL not closing and creating a leak by make sure to close the connection in onDestroy. I had tried to close the connection earlier, but that caused a different problem. When I close it in onDestroy everything works well. Hope that might help someone. On Dec 13,

[android-developers] Re: Problem with the sqlite database

2008-12-13 Thread Paul
In order to play nicely with the resources you share with other applications I think you might want to consider creating your connection in onCreate, and cleaning it up in onPause. You mentioned an issue when you tried that earlier but it might be worth resolving within your app. This will keep