| Author |
Image zoom in and zoom out functionality
|
Dushyant Chhetri
Ranch Hand
Joined: Oct 28, 2009
Posts: 75
|
|
Hi Guys,
I am back again with another problem.
I want to implement zoom functionality onto an image that I display on a form but have no idea as how to go about it.
Please help.
Thanks in advance..
|
 |
Aleksandar Babic
Ranch Hand
Joined: May 30, 2007
Posts: 68
|
|
I've never done it but maybe this will be useful
http://forums.sun.com/thread.jspa?threadID=5331352
or
http://snippets.dzone.com/posts/show/3257
|
 |
Syam Sathyan George
Ranch Hand
Joined: Apr 26, 2006
Posts: 64
|
|
He is right,
What you need is a Image Scale function.
Change the image scale ration based on command or user interaction in Form/Item.
|
Syam.Sathyan.George
(My boss is a Jewish carpenter)
|
 |
Dushyant Chhetri
Ranch Hand
Joined: Oct 28, 2009
Posts: 75
|
|
Thank You Guys,
I implemented it and now it is working fine..
However the problem of Image not being scrolled horizontally is still an issue..
Please let me know if any workaround is there.
|
 |
Syam Sathyan George
Ranch Hand
Joined: Apr 26, 2006
Posts: 64
|
|
If you are using LCDUI Form, then options of scrolling is limited.
Use some other UI kit or use Canvas and implement your own Map/Image navigation screen
|
 |
Dushyant Chhetri
Ranch Hand
Joined: Oct 28, 2009
Posts: 75
|
|
yipee, I have the solution now, refer tis link
Horizantal image scroll in J2ME form
|
 |
Syam Sathyan George
Ranch Hand
Joined: Apr 26, 2006
Posts: 64
|
|
Great, but was it so tough to figure out ..
Any was you have found the right solution
|
 |
 |
|
|
subject: Image zoom in and zoom out functionality
|
|
|