Java API to access a dongle?

450 Views Asked by At

I'm planning to implement a desktop application which stores all the SMSs and senders' numbers received to the dongle in a MySQL database. So, is there any method I can use to access the dongle in order to reach the above mentioned targeted function?

1

There are 1 best solutions below

1
On BEST ANSWER

If your dongle allocates some serial port you should be able to access this and use AT commands.

Look at the "Java communications API", a code sample here:

http://www.java-samples.com/showtutorial.php?tutorialid=22