[android-developers] Re: Problem with the onUpdate method of an SQLiteOpenHelper

2008-10-31 Thread Alistair.
Yasmin, Your best bet is to examine the Notepad sample application that is bundled with the SDK. This shiuld provide a basis for your DB code. Al. On Oct 31, 3:32 am, "yasmin afrose" <[EMAIL PROTECTED]> wrote: > Hi, > > I've executed some simple application in android. Now I want to connect my

[android-developers] Re: Problem with the onUpdate method of an SQLiteOpenHelper

2008-10-30 Thread yasmin afrose
Hi, I've executed some simple application in android. Now I want to connect my DB with my application. For eg, table has the fields for language & corresponding language no. Another table has language no, video no & video path(ie, net path) Here language no is PRIMARY key in First Table. In 2n

[android-developers] Re: Problem with the onUpdate method of an SQLiteOpenHelper

2008-10-30 Thread Alistair.
I am getting it as well. If I find out what the problem is I will post it up. Al. On Oct 29, 8:16 pm, Frew <[EMAIL PROTECTED]> wrote: > So I presume that no one else has seen this error? > > -fREW > > On Oct 27, 8:30 pm, Frew <[EMAIL PROTECTED]> wrote: > > > Ok, so everything that I've been doin

[android-developers] Re: Problem with the onUpdate method of an SQLiteOpenHelper

2008-10-30 Thread Alistair.
Okay I fixed it. Not sure if the solution will apply to you. In my 'onUpgrade' function the table name value was incorrect. Basically it looks like you are not dropping the table you subsequently then attempt to recreate. Check your defns. Al. On Oct 29, 8:16 pm, Frew <[EMAIL PROTECTED]> wrot

[android-developers] Re: Problem with the onUpdate method of an SQLiteOpenHelper

2008-10-29 Thread Frew
So I presume that no one else has seen this error? -fREW On Oct 27, 8:30 pm, Frew <[EMAIL PROTECTED]> wrote: > Ok, so everything that I've been doing with my db has been fine until > I changed it.  I made sure that the onUpgrade was right and I get > errors nonetheless.  Here is my method: > >