Hi everyone.
I found lots of samples on internet about DB, but most of all contain
two String variables.
like this :

public static final String KEY_TITLE="title";
public static final String KEY_BODY="body";

"create table notes (_id integer primary key autoincrement, "
            + "title text not null, body text not null);";

I need to add some other variables to DB, like DATE,TIME.
I added date&time to DB like title&body, it was no problem.
But they are String, not int. I need int type to use,
how to create table include date and time? can anyone help?


--~--~---------~--~----~------------~-------~--~----~
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