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
Trusted Contributor
Posts: 144
Registered: ‎05-04-2011
My Device: blackberry mobiles
My Carrier: app development

Retreive data from database

Hello Friends,

 

 

I am using web service to get data and stored it in sqlite database..... Now i want to show them as a list  in blackberry app..... Is there  any possible to use  other fields except Listfield to show them as a list.......

 

 

Regards,

Lakshmanan

Developer
Posts: 408
Registered: ‎06-03-2010
My Device: Z10 Red
My Carrier: Free

Re: Retreive data from database

If I did understand the problem, the title of your post should be: "What are the ways to display a list" ?

If so, You may use:
- a VerticalFieldManager, and for each row a HorizontalFieldManager
- A ObjectListField, and override onDrawLine to display your rows
- A classic ListField