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

Java Development

Reply
Developer
Rajat_10Sep
Posts: 684
Registered: 12-02-2008

picture viewer application

Hi,

 

I want to implement something like picture viewer application as in native device.

 

I have tried to build an application, but my scrolling is not as smooth as scrolling in native picture viewer. For example if i want to show 12 images on one page, i have kept 36 image in memory 12 for previous page, 12 for current and 12 for next.But scrolling is not as good as scrolling in native picture viewer.

 

Can anyone please let me know what will be the better approach to achieve smoth scrolling.

Regards,
Rajat Gupta.
--------------------------------------------------------------------------------
If your problem was get solved then please mark the thread as "Accepted solution" and kudos - your wish
Please use plain text.
Developer
rcmaniac25
Posts: 1,713
Registered: 04-28-2009
My Carrier: Verizon

Re: picture viewer application

Better scrolling? I don't know off the top of my head but the native picture viewer stores thumbnails of the images, maybe because you have 36 images in memory it is slowing the app down. Try smaller images to see if that works better.

------------------------------------------------------------
Three simple rules:
1. Please use the search bar before making new posts.
2. Kudo posts that you find helpful.
3. If a solution has been found for your post, mark it as solved.
--I code too much. Well, too bad.

Projects:
Bing 4 BlackBerry: http://bbing.codeplex.com/
PDF Renderer 4 BlackBerry: http://pdfrend4bb.codeplex.com/
Please use plain text.