Total members 11895 |It is currently Wed Dec 18, 2024 1:51 pm Login / Join Codemiles

Java

C/C++

PHP

C#

HTML

CSS

ASP

Javascript

JQuery

AJAX

XSD

Python

Matlab

R Scripts

Weka





There is no way to access hardware specific data from Java itself
because Java is designed as an abstraction over multiple hardware
configurations. However by using the Java Native Interface (JNI), one
may call an application in a different language that does have access
to hardware specific details. This may be an application written in
C++ or C#, or whatever has the facility to get that data.

Here is a decent C++ tutorial on how to get access to such data:

http://www.codetoad.com/java_simpleJNI.asp

You may want to query some forums in the .NET community as to what
libraries may be available to gather such data in Windows. Then with
JNI the appropriate DLLs (or something you wrote) may be accessed.

This is a vast topic and you see it a lot in the robotics /
hardware / firmware groups. It's fun but it is probably beyond the
scope of what anyone here may be able to provide through a forum
discussion.

Author :Paul



_________________
M. S. Rakha, Ph.D.
Queen's University
Canada


Author:
Mastermind
User avatar Posts: 2715
Have thanks: 74 time
Post new topic Reply to topic  [ 1 post ] 

  Related Posts  to : Get BIOS Serial Number in java
 How to connect to serial port using java     -  
 How to get hard disk serial no in java ??     -  
 Problem on BlueSoleil Serial Port Profile     -  
 Generating Random Number in java     -  
 convert integer number to octal,hexadecimal number systems     -  
 convert octal number to decimal number     -  
 convert decimal number to octal number     -  
 Number with dot in php     -  
 Cube number     -  
 Number Conversion     -  









Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
All copyrights reserved to codemiles.com 2007-2011
mileX v1.0 designed by codemiles team
Codemiles.com is a participant in the Amazon Services LLC Associates Program, an affiliate advertising program designed to provide a means for sites to earn advertising fees by advertising and linking to Amazon.com