J2ME LWUIT - 绘图电子邮件地址错误
我正在开发我的 J2ME 应用程序,试图修复一些错误。当我想显示电子邮件地址时会发生这种情况之一。
我有一个包含有效电子邮件地址的字符串(例如 [email protected] ),当我使用 LWUIT 的 drawString
时,它会绘制电子邮件地址,而无需@
(markmail.com)
我尝试绘制链 "@@@@"
并显示 ""
有什么想法吗?是否需要添加一些特殊字符来绘制@
?
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 ([email protected] 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?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
解决了!
问题是资源文件的字符集。
我将 @ 添加到字符集中,现在它可以工作了,
无论如何,谢谢
Solved!
The problem was the charset of the resource file.
I added the @ to the charset and now it works
Thanks anyway