hie there... i'm still very new to j2me technology yet... very eager to find out more on this... pls help me to rectify this error...
C:\WTK22\apps\SecuredSMS\src\EncryptedSMSMIDlet.java:160: cannot resolve symbol
symbol : method encodeMessage (java.lang.String,java.lang.String,boolean)
location: class MessageCodec
MessageCodec.encodeMessage(plainText, password,
^
C:\WTK22\apps\SecuredSMS\src\EncryptedSMSMIDlet.java:180: numberOfSegments(javax.wireless.messaging.Message) in javax.wireless.messaging.MessageConnection cannot be applied to (java.lang.String)
report.append( "took" ).append( "difference" ).append ( "ms.Overall message size is" ).append( messageContent.length ).append("and uses").append(conn.numberOfSegments("binarySMS")).append("segments");
^
C:\WTK22\apps\SecuredSMS\src\MessageCodec.java:34: cannot resolve symbol
symbol : variable plainText
location: class MessageCodec
byte content[] = plainText.getBytes();
^
C:\WTK22\apps\SecuredSMS\src\MessageCodec.java:35: cannot resolve symbol
symbol : variable password
location: class MessageCodec
byte key[] = password.getBytes();
^
C:\WTK22\apps\SecuredSMS\src\MessageCodec.java:52: cannot resolve symbol
symbol : variable addDigest
location: class MessageCodec
if (addDigest)
^
C:\WTK22\apps\SecuredSMS\src\MessageCodec.java:67: cannot resolve symbol
symbol : variable addDigest
location: class MessageCodec
int options = (addDigest) ? OPTION_DIGEST : 0;
^
C:\WTK22\apps\SecuredSMS\src\MessageCodec.java:72: cannot resolve symbol
symbol : variable addDigest
location: class MessageCodec
if (addDigest)
^
C:\WTK22\apps\SecuredSMS\src\MessageCodec.java:76: incompatible types
found : byte[]
required: boolean
return out.toByteArray();
^
C:\WTK22\apps\SecuredSMS\src\ReportScreen.java:26: hashCode() in java.lang.Object cannot be applied to (byte[])
String result = new String(Key.hashCode(content));
^
9 errors
com.sun.kvem.ktools.ExecutionException
Build failed