In recent years the multi-media function is getting more and more important on mobile platform, for at present the most important function for mobile terminal is entertainment, and a powerful enterainment platform mainly depends on multi-media functions, which includes sound, vedio, streaming and so on. With the improvement of the hardware capability the functions such as camera, media playing and streaming, which is specific to high-level handsets at earlier time, now is becoming the standard functions for popular phones. Therefore multi-media function is now a very important module for J2ME.The theme of this paper comes from the Java VM integration project of ZRRT company for Eastcom. The main work of this project is to integrate the embedded Java VM product on Eastcom's 3G handset platform, which includes the MMAPI functions(JSR 135). This paper starts from the analyzation of the present status of the mobile terminal platform, and raises the idea for realization of multi-media playing based on user's requirement. Then this paper researches and analyzes the critical technology points, and gives out an overall design architecture and the detailed design and flow for each module. Finally based on a handset platform of Eastcom the whole system is realized.The key point of this paper is under asynchronized mode how to integrate the MMAPI software with the decoding module and make them work together properly. At present, because the decoding module is separately provided by some other professional vendors or even realized by separate DSP hardware. we adopt the event mechanism to resolve the desynchronized control function for multi-media play, and propose an algorithm of rectangle computation to resolve the asynchronized graphic display problem.The work of this paper is a beneficial attempt under the situation that there is no standard and fixed model for the multi-media playing function under embedded platform. The multi-media module based on this paper's design is adopted on Eastcom's platform, and it can be used on any Java VM platform. The testing result proves that it reaches the commercial level. With the incoming of 3G era we believe it has wide appliance prospectivity. |