you could simplify your code by using openOrCreateDatabase
(DATABASE_NAME, Context.MODE_PRIVATE, null); instead. :) Maybe then
the problem will resolve itself.

Cheers,
Per Sandström

On Jan 29, 5:52 pm, Josema <jose.maria.estr...@gmail.com> wrote:
> Hi,
>
> im doing debug with my mobile. My code works in the past, but now is not
> working and i dont know why i cant create or open an existing database.
>
> Here is my 
> code:http://stackoverflow.com/questions/2163100/creating-database-in-android
>
> Could you help me about how to solve this problem?
>
> I read that there is an option from the command line:
>
> emulator -wipe-data but since im not using an emulator to debug the
> application (im using my own android mobile), im lost about how to solve the
> problem.
>
> Thanks in advance.
> Best Regards.
> Josema.

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

Reply via email to