[android-developers] date and time

2011-11-01 Thread leigh8347
hello im making an app that writes to a .txt file and at the end of each "save" i want to put the date and time. this is my code that turns the time/date into a string. which works fine. SimpleDateFormat dateFormat = new SimpleDateFormat("dd/MM/ hh:mm:ss"); java.util.Date date = new java.uti

[android-developers] Date AND Time Picker

2009-07-31 Thread Brad Gies
I think I asked this a few months ago, but didn't receive an answer. Has anyone done a combination Date AND Time Picker that fits on one screen? What I'm looking for is something that looks like the built in Android Date picker with the Time Picker below it and the Set/Cancel buttons below

[android-developers] Date and time pickers in an XML layout file - how to get to work?

2008-04-08 Thread NTR
I've tried including date and time pickers in the XML file, like the following: http://schemas.android.com/apk/res/android"; android:layout_width="wrap_content" android:layout_height="wrap_content" /> But I get: ERROR/AndroidRuntime(2930): Caused by: java.lang.RuntimeE