Markus, !!! Very, very good point !!!
I had slavishly followed the example code in standard J2ME docs and not thought about it. My situation with the Siemens TC65 is that I'm sure startApp() is only called once. But I've already found anomilies in the J2ME/AMS implimentation and my assumption is no excuse for poor design. And who knows where I might move the code to one day. Hopefully someone knows about ther serial port problem. Strange that both emulators should suffer from the same problem. Could it be a security/permissions problem? Thanks again, John Markus Sinner wrote: >Hello John, > >be careful! startApp() is called every time the midlet is sent into >foreground. So, every time an NEW thread is created. >Initialize the thread with null in your constructor and check for null >in startApp(). > >With the rest... i do not know how to work with serial ports. > > ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Eclipseme-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/eclipseme-users
