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

Posts: 696
Registered: ‎12-02-2008
My Device: Not Specified

Sliding bitmap



I want to create a sample application, in which i have to change the bitmap on sliding my finger on the image, any input on how to do it.

Rajat Gupta.
If your problem was get solved then please mark the thread as "Accepted solution" and kudos - your wish
Posts: 1,807
Registered: ‎04-28-2009
My Device: Z10 (STL100-4)-, Z10 (STL100-3)-, Z30 (STA100-5)-, Passport (SQW100-1)-, PlayBook (16GB)-
My Carrier: Verizon

Re: Sliding bitmap

Are we talking graphics or interaction?


If graphics then you will need to do almost a game-like drawing so that the image can be slid back and forth.


If interaction then you can use TouchGesture.SWIPE to find how mush to slide the image and which direction it should go in.

---Spends time in #blackberrydev on freenode (IRC)----
Three simple rules:
1. Please use the search bar before making new posts.
2. "Like" 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.
New Contributor
Posts: 2
Registered: ‎12-27-2010
My Device: 9550
My Carrier: developer

Re: Sliding bitmap

I want the slide effect in the Bitmap field when i click a button next image should come with slide effect..


Kindly help me out for this..