Here is an answer for your 2nd question regarding that
ascii conversion
// method to handle key - down events
public boolean keyDown (Event e, int key)
{
//print out the ascii - value if a key is
pressed.
System.out.println ("Charakter: " +
(char)key + " Integer Value: " + key);
}
// DON'T FORGET (although it has no meaning
here)
return true;
}