04-24-2012 02:10 AM
Hi,
I have a web application which has a text box for entering time in hh:mm:tt format. A time picker has been integrated using mobiscroll
I am having issues while trying to enter time using the Blackberry browser. I have tried the following:
1. Tried to use the clickpick option in mobiscroll but the buttons do not get clicked using the mouse pointer in BB non touch devices.
2. Tried to implement the native HTML time control. It seemed to work fine on most devices but it does not work on BB Bold 9700
3. Tried datebox plugin but could not get it to work, plus it is very slow.
I am running out of options, could anyone please answer the following questions:
a. Is it possible to call the BB native time picker control in a webapp ?
b. Can a BB webworks component be used in a webapp ?
c. Is there any way to make the HTML time input control work on BB Bold 9700
Appreciate your help with this.
Thanks.
04-25-2012 08:54 AM
It sounds like mobiscroll was designed for touch-screen devices only. Your item #1 suggests that the clickpick option is only handling touch events, but not mouseclick events.
Suggest confirming and if this is truly the case, modify the that library to support the mouseclick event as well - will allow trackpad devices to use that capability.
For BB6 or higher, or the Tablet OS, you can use the "time" HTML5 input types instead Load the following page for a demo:
http://blackberry.github.com/WebWorks-Samples/kitc