Meaningless Drivel is fun!
The moose likes Java Micro Edition and the fly likes Modification of an application Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Mobile » Java Micro Edition
Bookmark "Modification of an application" Watch "Modification of an application" New topic

Modification of an application

Baris Turkkorkmaz

Joined: Feb 12, 2012
Posts: 1

I have an Java Mobile Phone English-Turkish Dictionary Application.

In the installation file of this mobile application there is a db/ph folder. In this folder there are database files having extensions a-z contain phonetic transcriptions of English words. These phonetic databe files were saved in ANSI format. But, when these phonetic database files are saved in UNICODE format, mobile application program can't run these phonetic database files.

I think that this problem arises from "paramString" string, but I can't do anything for it.

Could you modify this mobile application to run phonetic database files saved in UNICODE format, please?

Thank you.

NOTE-1: The installation file and text files which contains codes of decompiled Java Class Files of the installation file, are compressed to a zip file. But I can't attach this Zip file to my thread because of its big size, so this Zip file can be downloaded from link.

NOTE-2: Here is function, which is in codes of CepIngilizce Java Class File, shows phonetic transcriptions of English words:

private void b(String paramString)
this.jdField_a_of_type_JavaLangStringBuffer.delete(0, this.jdField_a_of_type_JavaLangStringBuffer.length());
this.jdField_a_of_type_JavaLangStringBuffer.append(paramString.substring(0, 1));
InputStream localInputStream = getClass().getResourceAsStream(this.jdField_a_of_type_JavaLangStringBuffer.toString());
int i1 = 1;
int i2 = 0;
this.jdField_a_of_type_JavaLangStringBuffer.delete(0, this.jdField_a_of_type_JavaLangStringBuffer.length());
this.jdField_l_of_type_Int = 0;
Object localObject;
while (i1 != 0)
localObject = new StringBuffer();
while (((i2 = != 44) && (i2 != -1))
if ((localObject = ((StringBuffer)localObject).toString()).compareTo(paramString) == 0)
this.jdField_a_of_type_JavaLangStringBuffer.append(" = ");
while (((i2 = != 10) && (i2 != -1))
this.jdField_l_of_type_Int = 1;
while (((i2 = != 10) && (i2 != -1));
if ((this.jdField_l_of_type_Int == 1) && (!((String)localObject).startsWith(paramString)))
i1 = 0;
if (this.jdField_a_of_type_JavaLangStringBuffer.length() != paramString.length())
i2 = 0;
i2 = -1;
if (i2 == -1)
i1 = 0;
this.jdField_a_of_type_JavaLangStringBuffer.append(" It can not be found in phonetic database. ");
(localObject = new Alert("Phonetic transcription")).setString(this.jdField_a_of_type_JavaLangStringBuffer.toString());
Display.getDisplay(this).setCurrent((Alert)localObject, this.jdField_c_of_type_JavaxMicroeditionLcduiForm);
catch (Exception localException)
a("It can not be found or there is a error occured.");
I agree. Here's the link:
subject: Modification of an application
It's not a secret anymore!