2012-03-14 18 views
1

我正在試圖將我的短信保存到一個mysql數據庫,我添加了conebeam mysql jar到netbeans,並且我添加了smsserver.java和conf文件,還創建了一個名爲sms的mysql數據庫,但是當我運行smsserver.java只是打印這個:如何使用smslib的smsserver.java?我已閱讀文檔

SMSLib: A Java API library for sending and receiving SMS via a GSM modem or other supported gateways. 
This software is distributed under the terms of the Apache v2.0 License. 
Web Site: http://smslib.org 

SMSLib API version: 3.5.1 
SMSServer version: 3.5.1 

怎樣才能使這個文件工作?我不明白,我已閱讀文檔,但我仍然沒有得到它,有人可以幫助我?事實上,我發送郵件,我可以閱讀郵件,但這個我有麻煩

我的文件的結構是這樣的:

enter image description here

幫助非常apreciated

回答

1

問:你有沒有試過送或接收任何短信?

問:你看過SMSLib Wiki嗎?

http://code.google.com/p/smslib/wiki/Documentation_Index?tm=6

+0

1 - 有了這個LIB我有發送短信,我可以讀短信和2-維基說,幾乎一樣的官方頁面,但我將不得不讀取另一個時間,因爲我可以得到它運行smsserver.java文件 – 2012-03-14 16:09:13