On Mon, Dec 27, 2010 at 11:51 AM, pramod.deore <[email protected]>wrote:

> Hi everyone,
>           In my application I have 2 buttons one for  DatePickerand
> one for Timepicker. Date piker gives me date in this format -
> 12-27-2010  and time in - 11:48. Now I want to create table to store
> these values. How to store date and time in android database?
>


Its very simple..
 create SQLITE database for this.

Use attached java file for creating database.
Change file according your requirement..
It will automatically creates database in your project..




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

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

Attachment: DBAdapter.java
Description: Binary data

Reply via email to