It is necessary
1) the programmer (average knowledge j2me)
2) the graphic editor
3) who is able to create norms tracks
I can is engaged by programming but is necessary the help
For example support of Russian letters in track names
We write in f class (in any place)
private String RusString(String expression){
String ns="";
for (int i = 0; i < expression.length(); i ++) {
char a=expression.charAt(i);
if (a>=0xc0 && a<=0xff)
{ns+=(char)(a+0x350);}
else if(a==0xa8){ns+=(char)(0x401);}
else if(a==0xb8){ns+=(char)(0x451);}
else {ns+=(char)a;}
}
return ns;
}
public String toUpperCase(){
String ns="";
String s = null;
for (int i = 0; i < s.length(); i ++) {
char a=s.charAt(i);
if ((a>0x060 && a<0x07B) || (a>0x42F && a<0x450))
{ns+=(char)(a-0x020);}
else if(a==0x451){ns+=(char)0x401;}
else{ns+=(char)a;}
}
return ns;
}
Further we search medical odes
private void _dvV()
{
try
{
InputStream inputstream = _aStringInputStream("levels.mrg");
DataInputStream datainputstream = new DataInputStream(inputstream);
byte abyte0[] = new byte[40];
int ai[] = new int[3];
for(int j = 0; j < 3; j++)
{
ai[j] = datainputstream.readInt();
m_caaI[j] = new int[ai[j]];
m_newaaString[j] = new String[ai[j]];
label0:
for(int k = 0; k < ai[j]; k++)
{
int i1 = datainputstream.readInt();
m_caaI[j][k] = i1;
int j1 = 0;
do
{
if(j1 >= 40)
continue label0;
abyte0[j1] = datainputstream.readByte();
if(abyte0[j1] == 0)
{
m_newaaString[j][k] = (new String(abyte0, 0, j1)).replace('_', ' ');
continue label0;
}
j1++;
} while(true);
} }
}
catch (Exception ex)
{
ex.printStackTrace ();
}
}
Also we add after red (it is allocated green)
P.S Has simply written a code those who o not trust that a couple I can and so on
Who wants will learn to program on j2me come on http://annimon.com and http://www.j2meforums.com/forum/ and http://j2me-codes.blogspot.com and http://jexp.ru/index.php/Java/J2ME And further look http://www.google.ru/search?....s_rfai=