Development of Bluetooth from mobile phone to PC "1"--Introduction to development environment

Source: Internet
Author: User
Tags range versions

In fact, we know that Bluetooth technology is not a new technology, even for some people who are standing in the forefront of it trends, and then talk about this thing a bit outdated. Oh, digress, the next thing I want to introduce is the use of Bluetooth technology to do mobile phone and mobile applications between the development and use of Bluetooth technology to do mobile phone and PC application development. Considering that there are a lot of things to write, so divided into several articles to write. As the opening words, here are only a few Bluetooth technology and my next application development of the Environment configuration related introduction bar.

Bluetooth Technology related knowledge: Bluetooth technology is a wireless technology to support short-range communication, the short range here is the radius of 10m range (I found in the actual application of their mobile phone Bluetooth can not support such a long range of data transmission). Bluetooth technology using the communication standard is IEEE802.15, working band between the 2.402~2.480hz electromagnetic waves (this band in the world in addition to a few countries, is not authorized to universal frequency band), transmission bandwidth of around 1M, can support wireless data and sound transmission. Bluetooth communication technology is characterized by high data transmission rate, low power consumption (not recognized, open Bluetooth in the case of the author's mobile phone standby time is significantly shortened), good communication security (but there is a Bluetooth hijacked small software exists, embarrassed), in the effective range through obstacles to connect, no special communication perspective and direction requirements (unlike infra-red, Also have to aim for half a day) and networking convenience advantages. When it comes to networking, we may know that a Bluetooth device connects with seven other Bluetooth devices at the same time, in this form, a pico-net can be formed, that is, to create a network dynamically with a master device and a maximum of seven devices, and to expand the network's range and number of devices using the bridging between the Pico networks.

Through the above, we should have a general understanding of Bluetooth Technology! Next, you need to introduce the development environment and build the development environment. Development language is Java (in fact, J2ME development, C + + later have time to write ~), the development of the IDE selected by the Eclipse 3.5 (Galileo version of the Java EE Developer version, download link to http:// Www.eclipse.org/downloads/, the first 189M is) and JavaME3.0 (download link is http://java.sun.com/javame/downloads/sdk30.jsp) and elipseMe1.7.9 plug-in (the plug-in appears to be 1.7.9 version of the website will stop updating, download link for http://sourceforge.net/projects/eclipseme/files/). With the top three, you can develop a general J2ME application. In the following article to introduce the mobile phone through Bluetooth and PC interaction application, we may also need an open source component Bluecove on the PC server side, this component realizes the JSR-82 Java Bluetooth specification, has shielded to the low-level operating system level the native Bluetooth protocol stack various function encapsulation. The reason why this component is needed is that J2SE has not implemented the JSR-82 specification protocol (a bit superfluous, hehe ~).

Well, in order to let some beginners have a full picture of the understanding, I think it is necessary for the above several software to do a brief introduction (Master skipped):

1, eclipse I would like to say that, IBM donated to the open source community is a very good development tool, but because of its open source of the variety of the various for beginners is a heavy burden. Different versions may install Plug-ins the way is not the same, but it should be the same, the author of the previous J2ME environmental configuration is the use of eclipse3.3+wtk2.5.2+eclipseme1.7.9.

2, and JavaME3.0 is to provide a mobile phone simulator, a series of mobile development libraries and a separate development environment, which integrates the previous Java Wireless Toolkit for CLDC and Java Toolkit for CDC functions.

3, EclipseMe1.7.9 is the J2ME development environment integrated into the eclipseide of a development plug-in, said more intuitive some, only installed this plugin after you can find the new J2ME project in Eclipse options, hehe, Note that this plugin is a zip file, so how to install it will be said next.

On the basis of having a certain understanding of each software we use, it is time to start the development environment configuration.

1, first (I said first of course you will be the JDK configuration OK ~), will you download the Eclipse solution to a fixed location, I personally placed in the SYS disk \program File\eclipse file below, because Eclipse is the hard disk version, So the eclipse configuration is done.

2, then, install Java ME 3.0, this is an EXE file, so click to run the installation is OK, but in the installation process will involve the JDK installation directory selection and installation location selection, the two attention, one is to ensure that the JDK selected is correct (some people on the machine version of a lot of versions, such as I, but the installation path is required after the. This is finished, in fact, we can play off the eclipse in the case of this SDK, its own development environment can also develop some simple application, concrete how to use their own, I do not long-winded.

3, followed by the installation of Eclipseme Plug-ins, you start the Eclipse, in the menu bar in turn Help->install New Software, and then pop up the top of the window has a work with the label + Long text box +add button. The following figure:

Here we click the Add button, and a small window will pop up, as shown below:

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.