How to enable focusing and editing the DatePicker widget on Android device
without touch events
I am developing an app for android device without touch screen, controlled
with the mouse, keyboard or remote.
I have a dialog with a DatePicker widget and can not focus or edit it with
remote or keyboard, only with the mouse.
The problem is that the mouse will not always be plugged in, so i have to
find a way to edit it with the remote/keyboard. The android i'm running is
JellyBean.
I have tried various different solutions, using an Activity with a
DatePicker widget, using the DatePickerDialog class, creating a custom
Dialog with a DatePicker widget. The only other solution that i thought of
i creating a subclass of DatePicker and overriding the keyboard handling
methods, but it's my last option, there surely is another way.
Thanks for your help in advance
No comments:
Post a Comment