J2ME ProgressBar
I want to make progressbar开发者_如何学Go as seen in Gmail J2ME app
what should be done to make this??
Have you looked at Gauge
? , here is an example of it
I haven't seen the Gmail J2ME app, but I bet it doesn't use a Gauge
. J2ME apps usually used canvas-based UIs rather than form-based, because they're prettier. A progress bar can be drawn using images (if you have a full progress bar image, you can paint as much of it as you need by using the Graphics.setClip()
function). Or you can use graphics primitives.
To combine the previous two answers, you could use the J2ME Polish library. This allows you to code as if you were using MIDP elements (such as Gauge), but allows you to customise how it looks.
http://www.j2mepolish.org/
精彩评论