J2ME LWUIT - Drawing email address error

流过昼夜 提交于 2019-12-11 05:39:08

问题


I'm working on my J2ME application trying to fix some bugs. One of this happens when I want to show a email address.

I have a string with a valid email address (mark@mail.com as example) and when I use drawString of LWUIT it draws the email address without the @ (markmail.com)

I try to draw the chain "@@@@" and shows ""

Any idea?. Is it necessary to add some special character to draw @'s?


回答1:


Solved!

The problem was the charset of the resource file.

I added the @ to the charset and now it works

Thanks anyway



来源:https://stackoverflow.com/questions/8475341/j2me-lwuit-drawing-email-address-error

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!