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

Thank you for visiting the BlackBerry Support Community Forums.

BlackBerry will be closing the BlackBerry Support Community Forums Device Forums on April 1st (Developers, see below)

BlackBerry remains committed to providing excellent customer support to our customers. We are delighted to direct you to the CrackBerry Forums, a well-established and thorough support channel, for continued BlackBerry support. Please visit http://forums.crackberry.com or http://crackberry.com/ask. You can also continue to visit BlackBerry Support or the BlackBerry Knowledge Base for official support options available for your BlackBerry Smartphone.

"When we launched CrackBerry.com 10 years ago, we set out to make it a fun and useful destination where BlackBerry Smartphone owners could share their excitement and learn to unleash the full potential of their BlackBerry. A decade later, the CrackBerry community is as active and passionate as ever and I know our knowledgeable members and volunteers will be excited to welcome and assist more BlackBerry owners with their questions."

- Kevin Michaluk, Founder, CrackBerry.com

Developers, for more information about the BlackBerry Developer Community please review Join the Conversation on the BlackBerry Developer Community Forums found on Inside BlackBerry.

New Developer
Posts: 29
Registered: ‎07-18-2011
My Device: Torch
My Carrier: Developer

How to Display events in the form of list.

Hi am developing an app using calendar application.


I want to display events of a day  in the form of list.

stime=start time(eg 8.00)

etime=end time

As i have five event objects say







So I want to display events in ascending order ,by comparing stime in all events,


so can you please tell me hw to do this or is  der any alternate solution for this.



Posts: 19,636
Registered: ‎07-14-2008
My Device: Not Specified

Re: How to Display events in the form of list.

I am not sure what you are asking.


If you have the Events in some sort of collection, then you can sort them. 


If you are looking for the usual control that people use for lists, that is ListField.  I'm not sure that is applicable here becuase I think you may want to have separately focusable parts for each Event.  So as far as displaying them is concerned, the answer it, it depends. 


Anyway, my question really is what specifically are you looking for help with?