Skip to main content

J2ME LWUIT - Drawing email address error

1 reply [Last post]
mark_comix
Offline
Joined: 2011-12-12
Points: 0

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 draw the email address without the @ (markmail.com)

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

Any idea?. Is necesary to add some special character to draw @s?

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
mark_comix
Offline
Joined: 2011-12-12
Points: 0

Solved!

The problem was the charset of the resource file.

I added the @ to the charset and now it works