Titanium JIRA Archive
Appcelerator Community (AC)

[AC-5014] Android: Date Picker Non Functional

GitHub Issuen/a
TypeBug
Priorityn/a
StatusClosed
ResolutionNeeds more info
Resolution Date2017-06-23T14:25:52.000+0000
Affected Version/sn/a
Fix Version/sn/a
Componentsn/a
Labelsn/a
ReporterBryant T.
AssigneeShak Hossain
Created2017-06-07T17:42:34.000+0000
Updated2017-06-26T19:50:38.000+0000

Description

<Picker id="addDate" selectionIndication="true" type="Ti.UI.PICKER_TYPE_DATE" height="100"></Picker>
When using a date picker: * All versions of iOS work * Previous versions of Android work * Latest version of Android doesn't allow for date selection. Tapping and/or swiping on picker don't do anything. Tested on Samsung Galaxy J3.

Attachments

FileDateSize
datepicker.gif2017-06-07T17:39:13.000+000019790

Comments

  1. Gary Mathews 2017-06-12

    [~webtys] Could you test this on 6.1.0.GA, I'm unable to reproduce this:
       var win = Ti.UI.createWindow({backgroundColor: 'gray'}),
           dp = Ti.UI.createPicker({
               selectionIndication: true,
               type: Ti.UI.PICKER_TYPE_DATE,
               height: 100
           });
       
       win.add(dp);
       win.open();
       
    What version of Android are you running?
  2. Bryant T. 2017-06-12

    Same effect on 6.1.0 GA. The current NDK is r11c. I don't see a place to specify the Android version used for compile. Log says: [INFO] : Targeting Android SDK API: 25 [INFO] : Building for the following architectures: armeabi-v7a, x86 The phone is running Android 6.0.1. Earlier versions of Android work fine.
  3. Sharif AbuDarda 2017-06-21

    Hello, I can not reproduce the issue in SDK 6.1.0.GA. Can you share more log or screenshot of what you see?
  4. Bryant T. 2017-06-26

    It's the height variable. When set to 100, it has a nice size profile, but doesn't allow for editing as in my earlier screenshot. When the height is removed, it works as expected at default height. Huge and ugly, but as it works. The emulator isn't a reliable testing source here. It's not letting me attach images currently. http://imgur.com/a/zeT6g

JSON Source