473,326 Members | 2,168 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,326 software developers and data experts.

Programming hardware devices using java

126 64KB
I am a starter to hardware coding using java, Can somebody help to start with this, By letting me know with java platform to use(Java SE, Java EE, Java ME) and which libraries to use.
Jun 25 '13 #1
4 10391
Nepomuk
3,112 Expert 2GB
Hardware programming and Java are two worlds that don't go together very often. This is because Java is designed to be platform independent; hardware however is by definition different on every platform.
There are some things you can do in this area though. They are limited but they exist. So here are some questions you'll have to answer before we can recommend anything specific:
  • Which OS are you using?
  • What kind of hardware are you trying to access?
  • Do you want to only read from the hardware or send it data too?
Generally speaking, Java ME is mostly just a reduced set of Java SE. It might give you some (very limited) control over the device you're using it on, I don't know. Java EE is a set of additional libraries for Java (though nothing hardware related as far as I know). So unless you want to program for mobile devices which support ME (which doesn't include most smartphones btw) you'll be using Java SE and maybe EE.
Jun 25 '13 #2
PreethiGowri
126 64KB
1. OS - Windows 7
2. Hardware - I will be using fingerprint module with UART interface
3. I need to do a 2 way communication

I heard some API's like JavaComm and RxTx are they of any use to my question?
Jun 25 '13 #3
Nepomuk
3,112 Expert 2GB
Yes, those are the APIs I found too and from what I understand, they should be suited for a project like yours. JavaComm is from Oracle and should be well supported and cross platform. RxTx has been around for quite a while and is supposed to be pretty good. Which of the two is better suited for your project however I do not know.
Jun 26 '13 #4
PreethiGowri
126 64KB
Thanks for your reply Nepomuk:) i have successfully coded for the UART using JavaComm.
Jul 8 '13 #5

Sign in to post your reply or Sign up for a free account.

Similar topics

2
by: webstar | last post by:
How do you play wave files using java.applet.Applet?
1
by: ochulus | last post by:
Hi! I'm new to Java and I would like to know how to manage files (e.g. rm, mv, mkdir, etc.) using Java for a simple text-based application on Unix. It's just an extension of a tutorial question at...
2
by: Kent Lewandowski | last post by:
hi all, Recently I wrote some stored procedures using java jdbc code (admittedly my first stab) and then tried to implement the same within java packages (for code reuse). I encountered...
8
by: dbaplusplus | last post by:
I worked on web development using java script many many years, so I am now a newbie to javascript. I have a single html page, which is generated dynamically using some programming language. Web...
5
by: Mazharrana | last post by:
hi I want to access registry using java, I want to find list of hardware or software installed in my PC using java programe. How can i do this? If any one know ? Please help me. Regards Mazhar
41
by: x01001x | last post by:
When programming in C (not C++) how does one send information to a hardware device such as a video card or modem? How is this done in Linux C programming versus Microsoft C programming?
2
by: mannavavp | last post by:
hi friends, please let me know how i can store audio files in database table using java programming?
1
by: sharmila1 | last post by:
i want to know how to get list of hardwares connected to the computer using java. i want to access this from remote computer... we can use nio for files n folders but what for hardwares?
0
by: Saurabhh | last post by:
I want to connect two devices using ad hoc network. Plus i want use java for network initialisation and further communication. I need help on whether it is possible to do so & if yes, then what are...
1
by: Shun | last post by:
Hello, I am trying to extract the data from my Oracle 10g database using Java. First, I tried to connect Oracle to Java using this code and it works. import java.util.*; import java.sql.*;...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.