below piece of code will be crash in android version.
CCabelTTF label;
label.setString("\n\n\n");
So
private static String[] splitString(String content, int maxHeight, int maxWidth,
Paint paint){
String[] lines = content.split("\\n");
String[] ret = null;
FontMetricsInt fm = paint.getFontMetricsInt();
int heightPerLine = (int)Math.ceil(fm.descent - fm.ascent);
int maxLines = maxHeight / heightPerLine;
if(lines==null || lines.length == 0)
{
lines = new String[1];
lines[0] = new String(" ");
return lines;
}
...
}