This week's book giveaway is in the Programmer Certification forum.
We're giving away four copies of OCP Oracle Certified Professional Java SE 21 Developer Study Guide: Exam 1Z0-830 and have Jeanne Boyarsky & Scott Selikoff on-line!
See this thread for details.

sun gong

Greenhorn
+ Follow
since Jan 10, 2006
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
In last 30 days
0
Forums and Threads

Recent posts by sun gong

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 ]
18 years ago