Font Size: a A A

Design And Implement A J2ME Emulator Based On J2SE

Posted on:2010-03-26Degree:MasterType:Thesis
Country:ChinaCandidate:J J LiFull Text:PDF
GTID:2178360278958874Subject:Computer software and theory
Abstract/Summary:PDF Full Text Request
In our traditional J2ME mobile device application development, we usually use the WTK emulator released with the J2ME SDK, but the WTK emulator has many drawbacks. Along with the rapid growing of the embedded technology and the abroad popularity of the embedded devices which support J2ME, there are more and more applications written by J2ME appeared on the mobile devices. Nowadays, we already can use many J2ME emulators based on different technologies to develop our mobile device applications, but the ones which are written by J2SE and have many features aim at developer are relatively few. The J2ME emulator based on J2SE discussed in this thesis has achieved this purpose and satisfied the developers' basic requirements.This project used the Object-Oriented approach to design and implement the J2ME emulator. It divided the system into four subsystems include graphics subsystem, input subsystem, audio subsystem and MIDlet loading subsystem. In this paper, each subsystem has been designed and analysed by chapters, the system' s key classes and their primary methods have also been described. At the Object-Oriented coding phase, the method about how to implement this emulator system has been illustrated. We have also worked out how to implement each method of the system' s classes.Meanwhile, in order to provide some development functionality, the emulator research by this project have also implemented some features include the tracing of dynamic image object in memory, the tracing of clip region and etc.The graphics interface of the emulator system is developed using J2SE Swing framework, the audio subsystem is developed using standard Java Audio Library, the input and output system is developed using delegated event model. In order to gain a better control over the threads created by the J2ME application, the emulator has used the Java ByteCode Instrumentation technology to replace the thread generation bytecode of the J2ME application.The thesis has implemented a J2ME emulator system based on J2SE technology which has been widely used in our world. It has also combined with the most popular technology—mobile device application development, to help developers write J2ME applications for mobile devices.
Keywords/Search Tags:J2SE, J2ME, emulator system, Object-Oriented Design, clip region, Java Bytecode Instrumentation
PDF Full Text Request
Related items