Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-2836] Android: Feature request Date Time Picker

GitHub Issuen/a
TypeNew Feature
PriorityLow
StatusClosed
ResolutionWon't Do
Resolution Date2020-02-13T11:10:23.000+0000
Affected Version/sRelease 2.0.2
Fix Version/sn/a
ComponentsAndroid
Labelsapi, parity
ReporterAlan Leard
AssigneeEric Merriman
Created2011-04-15T03:30:42.000+0000
Updated2020-02-13T11:10:23.000+0000

Description

Android feature similar to iOS Ti.UI.PICKER_TYPE_DATE_AND_TIME

User would like to be able to a Date/Time Picker combination on android.

Reference: http://developer.appcelerator.com/helpdesk/view/66381">http://developer.appcelerator.com/helpdesk/view/66381

Comments

  1. Stephen Tramer 2011-04-15

    Assigning to Don for triage.

  2. Neeraj Gupta 2012-06-27

    Keep in mind that we may be able to have an abstract implementation even if the native platform does not support it.
  3. Junaid Younus 2012-06-28

    Tested with 2.0.2GA on a Samsung Galaxy S2 and it crashes the app. If I run the same code in the iOS simulator, it works fine. Here is the code:
       var win = Ti.UI.createWindow({ backgroundColor: 'white' });
        
       var picker = Ti.UI.createPicker({
           type: Ti.UI.PICKER_TYPE_DATE_AND_TIME,
           minDate: new Date(2012,0,1),
           maxDate: new Date(2013,11,31),
           value: new Date(2012,4,12),
           top:50
       });
        
       win.add(picker);
       win.open();
       
  4. Alan Hutton 2018-08-07

    iOS only.
  5. Rene Pot 2020-02-13

    Closing as this is not native behavior

JSON Source