you can use graphics to draw whatever you want. not as easy as using paint, though
i don't think there is api support for rotating bitmaps, at least i don't know of any. you could add more then one image, though.
I couldn't find a method to draw an arrow , I was thinking of loading a bitmap of an arrow , but will I be able to rotate the bitmap ?
Thanks.
I think the straight forward way is to draw a bitmap for the arrow. I did it once when I had to draw right and left arrows. There is no API to rotate a bitmap, but you can add code to do that. It is not hard. The simplest algorithm is to go over the bitmap, byte by byte and change their positions depending on the rotation. The algorithm uses the sin and cos functions if the rotation is any arbitrary angle. What I have noticed is that the algorithm is slow if you have big bitmaps, but it is acceptable for small bitmaps.
Thanks for your replies. Actually , my program that requires the arrow is simple , and I don't want to over complicate things. I was thinking of implementing it with a line and arc or a rectangle and a triangle composite. I'm a newbie , can you please guide me to drawing composite figures given the fact that there are other field on the main screen.