开发者

How can I draw myname (or any string) on the wall paper of mobile in J2ME?

How can I draw myname (or any string开发者_高级运维) on the wall paper of mobile through a J2ME program?


If use Canvas or CustomItem it is possible.Inside the paint method we should insert a command "g.drawString()". here g is an object of Graphics class.The syntax of drawString() is public void drawString(String text, int x, int y, int anchor)


It's possible to do something similar for Sony Ericsson devices using a standby MIDlet and assigning it as wallpaper on the device. Take a look at this document from SE.

How to create a standby MIDlet / Java wallpaper in Java ME

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜