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.

inside custom component

Java Development

Reply
Contributor
djpinto
Posts: 41
Registered: ‎11-15-2012
My Device: Curve 9320
Accepted Solution

Set time

Hello,

 

How to show time function on click buttonfield? The show time event is equal to set time in function of smartphone.

 

Cumps

Developer
peter_strange
Posts: 19,609
Registered: ‎07-14-2008
My Device: Not Specified

Re: Set time

Your question is not clear to me.  Are you asking

a) How to change the time on the phone?

b) How to display the time on the phone?

c) How to start the Time display on the phone like you pressed the clock icon?

Contributor
djpinto
Posts: 41
Registered: ‎11-15-2012
My Device: Curve 9320

Re: Set time

I want to create an application that you click a button the time is displayed in the same way that the definitions of mobile phone.

Developer
peter_strange
Posts: 19,609
Registered: ‎07-14-2008
My Device: Not Specified

Re: Set time

Sorry I am being slow this morning, but this doesn't make sense " that the definitions of mobile phone.".  When you say the same way as the phone, do you mean it displays the same time as the phone or you want the screen to look identical to the one the phone will use.  If you want an identical screen that will be a lot of work. 

Contributor
djpinto
Posts: 41
Registered: ‎11-15-2012
My Device: Curve 9320

Re: Set time

Developer
peter_strange
Posts: 19,609
Registered: ‎07-14-2008
My Device: Not Specified

Re: Set time

This is the Alarm and not the time.  Also you can't get to this with just a single button, you have to choose the Alarm from the menu.  Is that what you did?

 

But I am still not clear what you are asking for.

 

Can you explain in simple steps what you want your user to do and what they should see.

Contributor
djpinto
Posts: 41
Registered: ‎11-15-2012
My Device: Curve 9320

Re: Set time

I want something to appear that genre, and I click the button shows the time for change and saves this value!

The image is an example!

 

Cumps

Developer
peter_strange
Posts: 19,609
Registered: ‎07-14-2008
My Device: Not Specified

Re: Set time

Try the DateTimePicker - see the API documentation for details.