After Configuring and placing the required libraries in folders as instruction there are two ways to use this application
Either run by command java -jar "SMS_Sender.jar"
or double click on jar if your system is configured to run jar files it will run "GUI" version of application, You need to choose your port where you have attached SMS device/USB/GSM Modem, the right sidebar is where you will see history of your sent or sms in your database (if configured); double clicking the sidebar item will popup the sent sms body;
you can run java -jar "SMS_Sender.jar port number message"
passing these three parameters it won't load GUI component and will trigger the component responsible for sending SMS and logging it to database(if configured); you can however not check history of sent sms in CLI.
- You need to change SMS center in the Sender.java, you can leave it blank if your modem auto-configure or you might need to provide SMS center number there with country code
- You can remove/comment the ODJBC (Database) functions if you don't need it, or you can provide TSN string;
-
Comm.jar
-
Win32com.dll
-
javax.comm.properties
-
%JAVA_HOME%/lib; In my case C:\Program Files\ Java\jdk1.7.0_03\lib
-
%JAVA_HOME%/jre/lib/ext; In my case C:\Program Files\ Java\jdk1.7.0_03\jre\lib\ext
-
%JAVA_HOME%/bin; In my case C:\Program Files\ Java\jdk1.7.0_03\bin
-
%JAVA_HOME%/jre/bin; In my case C:\Program Files\ Java\jdk1.7.0_03\jre\bin
-
%windir%System32; In my case C:\Windows\System32
-
%JAVA_HOME%/lib; In my case C:\Program Files\ Java\jdk1.7.0_03\lib
-
%JAVA_HOME%/jre/lib; In my case C:\Program Files\Java\jdk1.7.0_03\jre\lib JAVA_HOME is path where jdk is installed
Please feel free to improve it/Contact me.