Welcome!

Welcome to the Official BlackBerry Support Community Forums. This is your resource to discuss support topics with your peers, and learn from each other. New to the forum? Please visit the ‘Getting Started’ link below.
inside custom component

Web and WebWorks Development

Reply
New Contributor
vortexmak
Posts: 2
Registered: ‎03-09-2012
My Carrier: AT&T

Implementing native time picker on Blackberry

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.


Please use plain text.
Administrator
astanley
Posts: 1,140
Registered: ‎07-02-2009
My Carrier: Bell

Re: Implementing native time picker on Blackberry

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/kitchenSink/html/html5/inputtypes.html

Follow me on Twitter: @n_adam_stanley
-------------------------------------------------------------------------------------------------------------------------
Your app doesn't work? Use BlackBerry remote web inspector to find out why.

Watch the BlackBerry Jam Americas Sessions.
Please use plain text.