It seems that the code attempts
to run (with calling native) without the sand box;
if run from :
public static void main(
String[] args){
//the j2me code
}
it will throw the java.lang.UnsatisfiedLinkError:*****
but run from:
public class YourMIDlet extends MIDlet{
protected void startApp() throws MIDletStateChangeException {
//from here:
String msg = "你好!!";
SMSSendThreadHTTPImpl httpImpl = new SMSSendThreadHTTPImpl(msg);
Thread httpSend = new Thread(httpImpl);
httpSend.start();
}
}
it will OK!!!
[ January 10, 2006: Message edited by: sun gong ]
[ January 10, 2006: Message edited by: sun gong ]