Site Owners Forums - Webmaster Forums

Site Owners Forums - Webmaster Forums (http://siteownersforums.com/index.php)
-   Java (http://siteownersforums.com/forumdisplay.php?f=12)
-   -   Connecting Serial Port to java code (http://siteownersforums.com/showthread.php?t=54585)

bozzauto 02-10-2012 12:15 AM

Connecting Serial Port to java code
 
I am working on a project titled controlling your pc through a mobile for which i am required to copy dll and .jar files to access ports ,could you please help me out by giving me the code to do the same as i have been surfing on net for more than a couple of days but could not finding anything like this ..
Thanks in Advance.

seo123 05-21-2012 06:00 AM

This is the code of connecting to serial port and writing streams and reading from it :gOOd: .This project was already exists on some page . What i did new is changing the GUI to javax.swing .Here in this project you choose a file to send using JFileChooser Dialog. You can then save it at the receiver.I have to say something that sun have a package called java.comm is used for communication .but i found it only for linux and solary .I didn't find version for windows.So i used native functions that is implemented in c/c++ language. I is also can be found with the project


All times are GMT -7. The time now is 05:15 AM.


Powered by vBulletin Copyright © 2020 vBulletin Solutions, Inc.