Miniware logo
Articles / How to Compile Remote Control project

How to Compile Remote Control project

This code describes hot to compile the bluetooth remote control project (http://mobile.liveshere.net/remote/index.php)

Make sure that you have download and install correctly netbeans (http://www.netbeans.org/) with mobily pack. Download project source code and unzip it to a folder. We are going to compile first the server. Run netbeans and press File -> Open project, locate the remote control server project folder and press "open project". A messagebox may appear warning for reference problems.Press Close to that messagebox. In the project tab exand the Remote Control Server Tree right click on libraries and select add jar/folder
add jar
Open the remote control server project folder, the the folder named lib and select all the jar files and press open
Now the libraries will appear under the Libraries subtree
libraries
In order to combile the code right click on the "Remote Control Server" and press "Clean and Build"
clean and build

If  therer is a ! sympol net to the project name warning for reference roblems right click on project's name and press Resolve reference problems->resolve... and then locate each jar (all jar's are in folder lib of the remote control server project folder).

Not it's time for the client.
In netbeans select File->Open project, locate the remote control client project folder, and press open project.
Right click on the project epxlorer and press properties.
Properties button
The following screen will appear:
properties screen
From the left tree choose platform, in emulator platform choose any installed platform,in the device profile make sure midp 2.0 is selected (No midp-2.1). In the optional packagesmake sure Java API's for bluetooth wireless technologies, is selected

To compile right click on the project name and press clean and build

The content of this page can be reproduced as long as the author and the source are mentioned. For questions please use the forum. Nikos Fotiou
Comments
(Post new comment)

2010-08-16 18:58:12 habiba wrote:
Thank you a lot since a long time and I'm looking for this program Thank you very much


2008-08-29 13:24:17 vishal wrote:
can u stick the pics of running proj because problem in running it