Rick wrote:
> I am using a only moderately altered version of the database code from
> the Notepad examples, but it doesn't appear that the db.execSQL
> (CREATE_DATABASE); is ever being called, and then upon attempting to
> do a create to add to the table, I get a "no such table" error.
> 
> Code to add to the table
> public void addToGames(){
>       GamesDataAdapter dbHelper = new GamesDataAdapter(this);
>         dbHelper.open();
>         dbHelper.createAsset(title, madeBy);
> }
> 
> Then all of the adapter is unchanged except for the names changed to
> be more relevant to my code, and I am fairly certain that I have
> changed them in every position that they would need to be changed so I
> don't believe that is my problem.

Where are you calling getWritableDatabase()?

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com | http://twitter.com/commonsguy

Looking for Android opportunties? http://wiki.andmob.org/hado

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Beginners" 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-beginners?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to