Research Log of Web Science Students

Computer Science is not simply programming

ListActivity

leave a comment »

In order to display the list of babies, milestones and pictures, we need a ListActivity. However, implementing it isn’t that easy. I couldn’t find any tutorial. It took me one night to find the error (which was really caused by my stupidity). My application kept quitting, and the error shown in Logcat said – column _id does not exist. When I searched for a solution in Google, I found this thread about the same error. No one could say what was wrong. Fortunately, one guy suggested that we make a “_id” column in the database. Not “.id”. Not “_ID”.

Advertisements

Written by janinaj

September 7, 2009 at 12:51 am

Posted in BabyBook

Tagged with , ,

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: