- Java Development Kit
- Eclipse
- Sun Java Wireless Toolkit for CLDC
- EclipseME
- Bluecove (java bluetooth library)
- Java Runtime Environment for your mobile phone
- RXTX (serial port library)
Java Development Kit (JDK)
The application is coded in Java, and so are MIDlets. You can get a JDK from Sun or openJDK. Mac OS already has a JDK installed by default. At the time of writing, I'm using openJDK 6 on Ubuntu.
Eclipse
You should have heard about Eclipse before, if you haven't, try a quick Google search to find out more about it. In short: it's an open source IDE, we'll be doing all of the coding with this program. Go to their download page and download Eclipse IDE for Java EE Developers (~160 MB). Always download the latest version, but FYI I used Eclipse 3.4 a.k.a. Ganymede.
Sun Java Wireless Toolkit for CLDC
We are going to use this toolkit to run our MIDlets in an emulated device, get it here. Update: there is no official support for Mac OS, but this guy seems to have got it working.
EclipseME
EclipseME is an Eclipse plugin to help develop J2ME MIDlets. On their site there is a very detailed installation guide. In short:
Make sure you downloaded and installed Eclipse and the Sun Java Wireless Toolkit for CLDC first. Use the update manager in Eclipse to install EclipseME (it's all covered in the installation guide).
Bluecove
BlueCove is a Java library for Bluetooth (JSR-82 implementation), without such a library we are unable to use Bluetooth in our applications. Here's the download link. You need only one or two files depending on your operating system. Windows/Mac users only need bluecove-x.x.x.jar, Linux users also need the bluecove-gpl-x.x.x.jar file. (Latest stable version at time of writing: 2.1.0.)
Java Runtime Environment (JRE) for your mobile phone
A lot of devices come with a JRE nowadays, however, not all those devices support the Bluetooth specification, also known as JSR-82. That means that even if your device has Bluetooth, you would not be able to use it with your Java application. Check your device manual or see this (incomplete afaik) list of devices which support JSR-82 natively, if your device has a JSR-82 implementation, you're in luck.
If your device does not have a JRE, you have to install one yourself if possible. If it's not possible, you will have to look for another device to test it on. Note that you do not need to have a JRE on your device to begin writing and testing the application, but I recommend you install it, without it, you won't be able to fully test your application (I'll disclose why in another post). phoneME is a very promising JRE for Windows Mobile. Precompiled binaries are available here, make sure you download the phoneME Advanced Dual Stack version, the other versions are not capable of supporting Bluetooth and MIDlets. You need to copy a few files from Bluecove into the phoneME installation to enable the Bluetooth library on your Windows Mobile device, see this description.
If you're interested in more information about phoneME, you can also visit the official phoneME project website. As an alternative to phoneME, you can also download Mysaifu JVM (currently version 0.4.1). This JRE cannot run MIDlets, though, but it can run Bluetooth enabled applications in combination with Bluecove. I do not have any experience with other mobile device operating systems, so if you do not have Windows Mobile and do not have a JSR-82 capable device, you'll have to do a little research of your own.
RXTX (serial port library)
We are going to address the serial port directly with Java. (Yes, you can send data to the serial port from command line, but who'd use such a crude programming method? :) ) We need the RXTX library for this, get it here. If you're on Ubuntu, you can install the package 'librxtx-java', the library will be available at /usr/share/java/RXTXcomm.jar.
When you downloaded and installed all the software, you're ready to start your first project (e.g. Bluetooth application). I will cover this another time.
As the author of EclipseME, I would like to suggest that instead of using the last release of EclipseME you look to the Eclipse Mobile Tools for Java (MTJ) instead. MTJ started with the last release of EclipseME and has added many new features and fixed a lot of bugs.
ReplyDeleteThanks for the suggestion csetera, I'll certainly check it out.
ReplyDeleteCan you please elaborate on what rxtx will do and what are we supposed to do once we download it.
ReplyDeleteThanks
Hi silk,
ReplyDeleteRXTX is a serial port communication library. Serial ports are also implemented over BlueTooth, e.g. if you'd want to connect to your BlueTooth GPS dongle, you will probably have to make a serial connection to the device. Once you're connected, you can talk to the device as if it were a local device using serial communication.
I dug up an example for you on how to use rxtx on a local port:
http://www.captain.at/howto-java-serial-port-javax-comm-rxtx.php
coach outlet clearance
ReplyDeleteair jordans
adidas yeezy 350
longchamp bags
gucci belts
jordan 3
christian louboutin shoes
lebron 13 shoes
oakley outlet
adidas superstars
louis vuitton outlet
coach outlet
mont blanc pens
louis vuitton handbags uk
polp ralph lauren
coach outlet store online clearances
oakley sunglasses
toms shoes
coach outlet
toms outlet
kevin durant shoes 7
christian louboutin shoes
fitflops shoes
ralph lauren outlet
abercrombie outlet
jordans for sale
burberry outlet
juicy couture
instyler max
chenyingying20160809
ugg sale
ReplyDeletemichael kors handbags
pandora
ugg outlet
timberland boots
christian louboutin outlet
fitflops sale clearance
ralph lauren outlet
coach outlet
coach outlet store online clearances
20161224caiyan
Tory Burch Outlet
ReplyDeleteRay Ban Outlet Online
Oakley Outlet Store
North Face Outlet
Burberry Outlet Store
Michael Kors Handbags
Polo Ralph Lauren Outlet
Longchamp
Swarovski Crystal
Oakley Sunglasses Outlet
Coach Outlet Store Online Kate Spade Outlet Cheap Jordans Coach Purses Coach Outlet Kate Spade Outlet Nike Air Max Shoes Red Bottom Shoes Adidas Yeezy Boost 350 Adidas Original
ReplyDeleteYour work is very good and I appreciate you and hopping for some more informative posts. Thank you for sharing great information to us.
ReplyDeleteCheap Budget beaches in India
Daughters of 7 Top Bollywood Villains
south indian actress name list with photo
coach factory outlet
ReplyDeleteugg outlet
ugg australia
hermes outlet
canada goose jackets
ugg outlet
ugg boots canada
adidas superstar
polo ralph lauren outlet online
moncler jackets
clb1204
OSCARS 2018 - 90th Academy Awards 2018 Nominations, Date, Host, Presenters, Winners, Predictions. OSCARS 2018 Winners, OSCAR Nominations 2018, OSCAR 2018 Predictions, OSCAR Winners 2018, Jimmy Kimmel Host OSCAR Awards 2018, Best Picture Nominees, Winner, Best Actor, Actress, Director.
ReplyDeletehow to watch oscar 2018
Coach Outlet Store Online Kate Spade Outlet Cheap Jordans Coach Purses Coach Outlet Kate Spade Outlet Nike Air Max Shoes Red Bottom Shoes Adidas Yeezy Boost 350 Adidas Original
ReplyDeleteReally appreciated the information and please keep sharing, I would like to share some information regarding online training.Maxmunus Solutions is providing the best quality of this JBOSS Technology And this online training will be very convenient for the learner.And the training will be online and very convenient for the learner.
ReplyDeleteFor Joining online training batches please feel free to call or email us.
Email : minati@maxmunus.com
Contact No.-+91-9066638196/91-9738075708
website:-http://www.maxmunus.com/page/JBoss-Administration-Training
Essay Writing Essay Writing
ReplyDelete2018410 leilei3915
ReplyDeletegucci outlet
oakley sunglasses wholesale
giuseppe zanotti sneakers
christian louboutin shoes
mcm bags
pandora
mulberry sale
mlb jerseys wholesale
pandora
pandora outlet
Very nice the article
ReplyDeletePENGOBATAN PENYAKIT AMANDEL
Pengobatan Alami Darah Tinggi
Mengobati Stroke Secara Alami
Obat Sakit Diare
Cara Menghilangkan Jerawat
Mengobati Penyakit Herpes
Cara Mengatasi Gusi Bengkak
yeezy boost
ReplyDeletekyrie 3 basketball shoes
mbt
valentino shoes
vans
michael kors outlet
adidas outlet
rihanna puma
kd shoes
louboutin
2018-0612y
Thank you very helpful article
ReplyDeleteCara Mengobati Benjolan di leher
Cara Mengobati Penyakit Typus
Cara Mengobati bisul
Obat Benjolan Dimata
penyebab kulit tangan mengelupas
Obat Herbal untuk Biang Keringat
Obat Atasi Penyakit Gondongan
By reading the article material very very well and this is very useful.
ReplyDeletecara menggugurkan hamil
aktivitas penyebab keguguran
penyebab telat haid dan solusinya
tanda tanda kehamilan
kalkulator masa subur wanita
masa subur wanita
yeezys
ReplyDeleteoff white
kd 12 shoes
yeezy boost 350
golden goose outlet
kyrie spongebob
coach outlet
nike kd 11
kyrie irving shoes
yeezy boost 350
adanaescort01.com - adiyamanescortxx.com - afyonarackiralama.net - aksarayescort.net - antalyaoyunpark.com - aydinescortkiz.com - balikesirescortlar.com - batmanescortlar.com - bitlisescortlar.com - burdurescortlar.com - bursamalaysias.com - diyarbakirambar.com - edirnedespor.com - erzurumyolkosusu.com - eskisehirescortlari.com - gaziantepekspres.org - gebzeescortkiz.com - giresunmaraton.com - hataykoleji.com - ispartakpss.com - karabukteknik.com - kastamonuajans.net - kayserivalisi.com - kilisescort.com - kocaeliescortlar.com - konyaescortlar.com - kutahyaizemlak.com - malatyadataksi.com - manisaescortlar.com - marasatasoyemlak.com - mardinfanatik.com - mersinmoda.com - muglaapart.net - nigdeyapi.com - orduescortt.com - osmaniyeyorum.com - sakaryanur.com - samsunescortlar.com - siirteyatirim.com - sincanoto.com - tekirdagescortlar.com - tokatforum.com - usakbasin.com - vanescortilan.com - yalovadaemlak.com - yozgattanal.com - sanliurfadayim.com - zonguldakescort.com
ReplyDeletehttp://passexamdumpspdf.wikidot.com/
ReplyDeletehttp://passexamdumpspdf.wikidot.com/about
http://passexamdumpspdf.wikidot.com/contact
http://passexamdumpspdf.wikidot.com/favourites
https://www.escortsmate.com - adana escort - adıyaman escort - afyon escort - ağrı escort - aksaray escort - amasya escort - ankara escort - antalya escort - ardahan escort - artvin escort - aydın escort - balıkesir escort - bartın escort - batman escort - bayburt escort - bilecik escort - bingöl escort - bitlis escort - bolu escort - burdur escort - bursa escort - çanakkale escort - çankırı escort - çorum escort - denizli escort - diyarbakır escort - düzce escort - edirne escort - elazığ escort - erzincan escort - erzurum escort - eskişehir escort - gaziantep escort - gebze escort - giresun escort - gümüşhane escort - hakkari escort - hatay escort - ığdır escort - ısparta escort - izmir escort - istanbul escort - karabük escort - karaman escort - kars escort
ReplyDeletemarsbahis
ReplyDeletebetboo
sultanbet
marsbahis
betboo
sultanbet
instagram beğeni satın al
ReplyDeleteyurtdışı kargo
seo fiyatları
saç ekimi
dedektör
fantazi iç giyim
sosyal medya yönetimi
farmasi üyelik
mobil ödeme bozdurma
perde modelleri
ReplyDeletesms onay
mobil ödeme bozdurma
nftnasilalinir
Ankara evden eve nakliyat
Trafik Sigortasi
Dedektör
Websitesi Kurma
aşk kitapları
patent sorgula
ReplyDeleteyorumbudur.com
yorumlar
tiktok jeton hilesi
mobil ödeme bozdurma
mobil ödeme bozdurma
mobil ödeme bozdurma
pubg uc satın al
pubg uc satın al