03-22-2011 09:33 AM
Peter posted this in the previously linked post, but to rotate on a BB you should look into using the code here: http://supportforums.blackberry.com/t5/Java-Develo
It works very well and is most likely faster than the code provided couple posts back.
04-01-2011 01:36 AM
I have one image like Arrow.
i want to rotate it from y co-ordinate.x co-ordinate is fix.
i just want to change the value of y co-ordinates.
so how could i do it?
Thank you for reply.......
04-01-2011 04:16 AM - edited 04-01-2011 04:20 AM
Can you tell us why the code supplied here already does not work for you?
Just seen this, looks like a similar requirement.
I suspect when you say 'x', you don't mean x, you mean origin. So you have a point (not the x coordinate of a point, that is fixed and you wish to rotate around that?
If you search round you will find that the math is pretty well documented in a number of places, you just need to implement it - the code given on this Thread should help. But review my post in the other Thread.
05-08-2012 03:23 AM
plzz write full code i cant under stand how to use im new user of balckberry and also java. i have a task to make an application where pictures r circularly rotating in main screen
05-08-2012 04:00 AM
Welcome to the forums.
If I understand your requirement correctly, you are after a sample of code that is continuously rotating images.
If these images are not changing, then you can use this KB article:
You will supply the animated gif yourself.
If you wish to take a picture, for example something the BlackBerry user has photographed, and rotate that, then there is no existing sample that I am aware of that does what you want. You will have to write it. We are here to help you do this.
Since you are new to Java, I recommend that you learn the basics on a platform that is easier, such as on your PC. You can get one of those books that teach you the basics (like Object inheritance, operators, and so on) before you start trying to work around the difficulties of coding for the BlackBerry.
05-08-2012 06:32 AM
how to supply images imean there is no location for give res folder path plz its a request to write fuil program
where 4 to 5 pics moving in main screeen circularly so i can understand full program and its functionality