手机已经走入了千家万户,在人们的生活中占有一席之地。随着技术的发展,通信方式越来越丰富,人们对手机的理解也不再只是传统上的随处可打的电话,手机的硬件配置越来越高,与之对应的增值服务也越来越多元化。J2ME的易于开发和跨平台的特性使其成为手机增值服务开发的理想开发工具。
蓝牙技术是一种低成本、短距离的无线通信技术。蓝牙技术并非一项新的技术,但利用J2ME在MIDP平台上开发蓝牙应用程序却是一项新技术。这项新技术已经得到了移动设备制造商和服务运营商的大力支持。
因此,本文研究的课题就是“基于J2ME的蓝牙手机聊天软件”。本系统采用NetBeans作为开发环境,它利用蓝牙网络进行文字聊天,并通过记录管理系统将聊天内容保存下来,用户可以随时查看聊天记录,了解聊天的进程。本系统基于蓝牙的搜索/发现机制,并采用了客户/服务端一体,任意两台蓝牙手机能够通过本系统轻松的建立连接,实现数据通信。系统使用了线程机制,很好的协调了蓝牙通信中的接收与发送功能。
关键字:J2ME,蓝牙技术,记录管理系统,NetBeans
Mobile phone has become a part of our life and plays very important role. With the development of technology, means of communication has become increasingly diverse. The understanding of people for the cell phone is no longer limited in the traditional function of “any call”. The hardware capability of mobile phone has been improved and the corresponding value-added services are increasingly diversified. J2ME has become the ideal development tool because of its outstanding characteristic of easy development and cross-platform deployment.
Bluetooth technology is a low-cost, short-distance wireless communication technology. Bluetooth technology is not a new technology, but using J2ME to develop Bluetooth application on MIDP platform is a new technology. The new technology has been supported by many mobile devices manufacturers and services operators.
Therefore, my research topic is “Based on J2ME Bluetooth phone chat software”. It uses NetBeans as its IDE. Users can chat through Bluetooth network and use RMS (Record Management System) to store the chatting information, which makes it easy to review the chatting anytime and understand the chatting processes. This system is based on search / discovery technology of Bluetooth and integrates client / server which makes two Bluetooth mobile phones easily connect to each other. It can well coordinate the function of receiving and sending information via the thread mechanism.