BlackBerry Forums Support Community

Closed Thread
LinkBack Thread Tools
Old 09-24-2009, 06:37 AM   #1 (permalink)
Knows Where the Search Button Is
Join Date: Sep 2009
Model: 9530
Carrier: soft
Posts: 26
Post Thanks: 0
Thanked 0 Times in 0 Posts
Question images in a listfield

Please Login to Remove!

Hi all,

Am trying to do an application like it displays some images and user selects an image for editing.

what i need is how to display images like thumbnails and how to track the selected image in that images.

i am thinking of one idea is display using a listfield. is it works. if give me some sample code.. please ....

give me how to add image in a list field

Thanks for replay
Old 10-26-2009, 08:36 AM   #2 (permalink)
Thumbs Must Hurt
Join Date: Mar 2007
Location: India
Model: 8100
Carrier: Airtel
Posts: 64
Post Thanks: 0
Thanked 0 Times in 0 Posts

When you read one image you will get the path.. you can store this path in the rms or persistant storage if you want to ue them agian... or you can keep them in vector ...

if you are storing in storage then before displaying images read the storage and keep data in vector

And display them one by one .. if user clicks any of image you can retrive path from the vector

you can use optionfield for you are giving option of edit...
Crazy for BlackBerry

Copyright 2004-2016
The names RIM and BlackBerry are registered Trademarks of BlackBerry Inc.