亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來(lái)到蟲(chóng)蟲(chóng)下載站! | ?? 資源下載 ?? 資源專輯 ?? 關(guān)于我們
? 蟲(chóng)蟲(chóng)下載站

?? sms.java

?? Java短信手發(fā)代碼.這是個(gè)很不錯(cuò)的
?? JAVA
?? 第 1 頁(yè) / 共 2 頁(yè)
字號(hào):
// SMS Transceiver// SMS Transceiver is a tool for sending and receiving SMS via a//   serial connection between PC and a mobile phone. It establish//   on the basis of a serial line (or IrDA) connection a AT command based//   communication for sending and receiving SMS and SMS-based e-Mails.//// file: SMS.java// uses: SMSTools.java, Msg.java, Port.java//// This program uses the javax.comm Service from Sun to transfer data via the// serial PC port. Tested with JBuilder 6, JDK 1.3.1 on Windows 2000 and// with Nokia 6210 on port COM 1 in German D1 GSM net. Tested also via IrDA// connection with IrCOMM2k and Siemens SL55 (some of the features are not// available on the SL55).//// Third party tested with Siemens ME45 and Siemens S45, Windows XP and Unix.//// The AT commands for mobile telephone are specified in the ETSI standards://   TS 27.005 Data Circuit terminating Equipment (DTE - DCE) interface for//             Short Message Service (SMS) and Cell Broadcast Service (CBS)//   TS 07.07  AT command set for GSM Mobile Equipment (ME)//   TS 27.007 AT command set for 3G User Equipment (UE)//   TS 23.040 coding of PDUs//// Remarks: * Before starting this programm you have to adopt SMSDIALNO, EMAILDIALNO,//            EMAILADR to your personal values.//          * On some GSM networks you have to switch on the SMS to email option first.//            This could be (on some networks) done with a SMS including the command OPEN to the SMSC.//          * It is a good practice to test all AT command to a mobile first with a terminal programm.//          * This tool works only with data coding scheme = 00 (=standard GSM Alphabet).//          * Some SMSC uses non ETSI conform codings or unusual coding parameters,//            this could cause problems with the decoding of the PDUs.//          * SMS Transceifer work in PDU mode of the mobile phone not in text mode. By//            the way text mode is quite simple, but there are many phone which don't//            support it, because its an optional feature.//          * Useful tool for PDU analysing : pduspy.exe (use e.g. Google for retrieving it)//          * Some GSM networks supports for SMS a confirmation of receive. In the//            German D1 GSM net this could be done by *T# at the beginning of the SMS.//          * Statements for debuging are marked by "for debuging".//          * For SMS only you don't need EMAILDIALNO and EMAILADR. This email stuff should//            demonstrate the possibility to send Internet emails from a SMS device.//          * The timing for sending and receiving data over the RS232 is on some//            PC or Unix hardware sometimes quite critical. There are also some mobile phones//            who sends the individual bytes of the response quite irregular, sometimes with//            quite big breks between the individual bytes. The critical places for this//            data communication are marked with [Timing].//          * The "create PDUs functionality" can be used to generate predefined PDU which can//            be send via a simple microcontroller application with AT-commands to a mobile phone.//// Ideas for the next versions:   * UCS2 support (difficult, quite much work)//                                * MMS support (only if a AT command interface is specified by ETSI)//                                * version for PIC microcontrollers (much work, difficult interoperability))//// Warning: This programm deletes all the SMS stored in the mobile phone.//// Release Procedure:   1. find and solve all critical points marked by  "???"//                      2. Test all separate SMS Transceiver functionalities from GUI//                      3. Anonymisize moile phone number and email adress//                      4. Build HTML source code file//                      5. Build source code file in ZIP package with JavaDoc files//// This source code is under GNU General Public License (see www.opensource.org for details).// Please send corrections and ideas for extensions to Wolfgang Rankl (www.wrankl.de).// Copyright 2003-2004 by Wolfgang Rankl, Munich//// 26. July 2004 - V 10, rw: clarification concerning type of address (TOA),//                           add create PDUs functionality, new method: convertCharArray2String//                           5th published version//   4. June 2004 - V 9, rw: fix minor bugs in "read SMS" and "invest runtime",//                           add some console output about port activity for debugging,//                           put all hardware dependant methods into Port.java,//                           add some hints and clarifications for the serial communication,//                           increase robustness of the serial communication,//                           4th published version//  25. May  2004 - V 8, rw: improved GUI, add parse SMS functionality,//                           simplify constructor of SMSTools, fix bug in deleteAllSMS()//                           add a open() method to class Msg (serial connection//                           is now only open during data transmission)//                           test connection via IrDA with IrCOMM2k and Siemens SL55//                           fix bug in parse-functionality//                           3rd published version//  4. Feb.  2004 - V 7, rw: fix some bugs, clarify some ambiguous documentation,//                           add getIndexOfSMS, add testConnection, add getLongTime//                           add getSignalQuality, add getBatteryStatus,//                           add decodeAddressField, adoped deleteSMS, add deleteAllSMS,//                           add GUI, new package Msg.java, improve read() method,//                           rebuild to a more object oriented programm,//                           2nd published version// 28. May   2003 - V 6, rw: source simplifed and reviewed, 1st published version// 15. May   2003 - V 5, rw: improved documentation and clarifications// 24. April 2003 - V 4, rw: code review, optimisation of read(), improved documentation//  9. Jan.  2003 - V 3, rw: add method sendAT(...)// 20. Dec.  2002 - V 2, rw: improved documentation// 19. Dec.  2002 - V 1, rw: initial runnable version//---------------------------------------------------------------------------------------package smspack;import java.awt.*;import java.awt.event.*;import java.util.*;import java.text.*;import javax.swing.*;public class SMS extends JFrame implements ActionListener {  // TOA = type of address (= type of number || numbering plan identifier)  // it is a national dialing number format (0x81, e.g. short number format for net internal calls)  static final boolean TOA_NATIONAL = true;  // TOA = type of address (= type of number || numbering plan identifier)  // it is a international dialing number format (0x91, e.g. usual number format for normal calls)  static final boolean TOA_INTERNATIONAL = false;  static final String SMSTEXTSIGN = ">";            // sign for the begin of the SMS text  static final int TIMEOUT = 2*60*1000;             // timeout [ms] for SMS run time measurement  static final int MAXNOSIMSMS = 20;                // maximal number of stored SMS in SIM  static final String SMSDIALNO = "0175108xxxx";    // dialing number for SMS transmission, this is the number of the phone you want to send the SMS  static final String EMAILDIALNO = "8000";         // dialing number for eMail transmission, this is the number you have to dial if you want to convert a SMS into a e-Mail  static final String EMAILADR = "wolfgang.rankl@xx.xx-xx.de";  // eMail adress  static final String COMPORT = "COM1";             // used COM port for data transmission  public static JTextArea ta = new JTextArea(40, 100);  /** build the GUI with all it components  */  SMS() {    //----- create text area with scroll pane    ta.setTabSize(4);    ta.setFont(new Font("Monospaced", 0, 12));     // Courier, 12 point size    ta.setBackground(new Color(  0,   0,   0));    // black blue    ta.setForeground(new Color(200, 255, 100));    // yellowgreen    getContentPane().add(new JScrollPane(ta), BorderLayout.CENTER);    //----- create panel with buttons    JPanel buttonPanel = new JPanel(new GridLayout(25, 1));    JButton button1 = new JButton("decode PDUs");    button1.addActionListener(this);    buttonPanel.add(button1);    JButton button8 = new JButton("create PDUs");    button8.addActionListener(this);    buttonPanel.add(button8);    JButton button2 = new JButton("read SMS");    button2.addActionListener(this);    buttonPanel.add(button2);    JButton button3 = new JButton("read ME Info");    button3.addActionListener(this);    buttonPanel.add(button3);    JButton button4 = new JButton("send SMS");    button4.addActionListener(this);    buttonPanel.add(button4);    JButton button5 = new JButton("invest Runtime");    button5.addActionListener(this);    buttonPanel.add(button5);    JButton button6 = new JButton("AT Cmd.");    button6.addActionListener(this);    buttonPanel.add(button6);    JButton button7 = new JButton("Parse");    button7.addActionListener(this);    buttonPanel.add(button7);    JButton button9 = new JButton("Exit");    button9.addActionListener(this);    buttonPanel.add(button9);    getContentPane().add(buttonPanel, BorderLayout.EAST);  } // SMS  /** creates a Windows conform formated date and time string   *  @return: data and time string   */  public static String getFormatedDateTime() {    String s;    Date t = new Date();    t.getTime();    s = DateFormat.getDateTimeInstance().format(t);    return s;  } // getFormatedDateTime  /** creates a long value for the time   *  @return: number of milliseconds since January 1, 1970,   */  public static long getLongTime() {    long l;    Date time = new Date();    l = time.getTime();    return l;  } // getLongTime  /** show text in the text window   *  @param text text string to show on the display   */  public static void showText(String text) {    ta.setText(ta.getText() + text);  } // showText  /** show text in the text window   *  @param text char array to show on the display   */  public static void showText(char[] text) {    ta.setText(ta.getText() + text);  } // showText  /** dispatcher which the main parts of the programm   *  @param event event button which is pressed   */  public void actionPerformed(ActionEvent event) {    boolean loopbreak;    int n, i;    int[] index;    long sendtime, starttime, receivetime, deltatime;    String s, pdu, sendtext, receivetext, originateno;    showText("\n-------------------------------------------\n");    String cmd = event.getActionCommand();    if (cmd.equals("decode PDUs")) {      showText("decode some PDUs for demonstration and test\n\n");      pdu = "0791198968004544040C911989684385620000408002804532800FEB721E145E97F331507D5DCEC700";      showText(SMSTools.getSMSText(pdu)+ "\n");      pdu = "0791947101670000040485080039004010313131604020D737DB7C0EBBCF2E69D8BD6603C865D739DD22975DE3771B442DCFE9";      showText(SMSTools.getSMSText(pdu)+ "\n");      pdu = "0791947101670000040C9194617011078800004010023112914016D737DB7C0EBBCF2069D8BD66B340CDBA3B3D4603\n";      showText(SMSTools.getSMSText(pdu) + "\n");      pdu = "0791448720900253040C9144775425208800003021620274900018C2B0B80C22A7C9A03A485D9F83C661361BD42EFF40";

?? 快捷鍵說(shuō)明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號(hào) Ctrl + =
減小字號(hào) Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
久久一二三国产| 精品捆绑美女sm三区| 性久久久久久久久| 欧美大片一区二区| 丁香激情综合五月| 2023国产精品| 99国产精品一区| 偷拍与自拍一区| 日韩三级伦理片妻子的秘密按摩| 国产aⅴ综合色| 亚洲曰韩产成在线| 精品99999| 一本大道综合伊人精品热热| 久久9热精品视频| 亚洲一区二区三区爽爽爽爽爽| 亚洲不卡av一区二区三区| 久久这里只有精品首页| 欧美日韩另类一区| 91免费在线看| 国产91精品一区二区麻豆网站| 人人精品人人爱| 亚洲国产美女搞黄色| 亚洲国产精品精华液ab| 欧美成人一级视频| 777色狠狠一区二区三区| 一本到一区二区三区| 成人白浆超碰人人人人| 国产老肥熟一区二区三区| 麻豆精品久久久| 首页国产丝袜综合| 亚洲成人午夜影院| 一区二区在线观看视频| 中文字幕免费一区| 日本一区二区三区视频视频| 精品国产伦一区二区三区免费 | 国产欧美日韩精品一区| 欧美成人性福生活免费看| 6080国产精品一区二区| 欧美日韩精品欧美日韩精品一综合 | 中文字幕中文字幕在线一区| 国产人妖乱国产精品人妖| 久久久精品2019中文字幕之3| 欧美成人伊人久久综合网| 日韩一区二区免费高清| 欧美一级理论片| 日韩欧美二区三区| 精品国产乱码久久久久久影片| 日韩一级片网站| 精品欧美一区二区久久| 欧美va在线播放| 久久先锋资源网| 日本一区二区三区视频视频| 国产精品午夜在线| 中文字幕视频一区| 亚洲精品日韩专区silk| 伊人色综合久久天天| 一区二区三区在线高清| 天天影视网天天综合色在线播放| 日韩成人一区二区三区在线观看| 日本成人在线电影网| 黄色日韩三级电影| 成人性视频免费网站| 色综合天天在线| 在线播放中文字幕一区| 欧美xfplay| 中文字幕av一区 二区| 亚洲人精品一区| 五月激情综合色| 韩日精品视频一区| bt7086福利一区国产| 欧美三片在线视频观看| 亚洲免费观看在线视频| 亚洲香蕉伊在人在线观| 美脚の诱脚舐め脚责91| 成人av一区二区三区| 在线观看视频一区二区| 日韩欧美国产三级| 国产精品视频一二三区| 亚洲大片在线观看| 国产成人小视频| 在线观看www91| 精品99999| 一区二区三区四区不卡视频| 七七婷婷婷婷精品国产| 成人中文字幕在线| 欧美日韩夫妻久久| 欧美国产精品一区| 五月开心婷婷久久| 成人视屏免费看| 欧美精品成人一区二区三区四区| wwwwww.欧美系列| 亚洲激情网站免费观看| 美女高潮久久久| 91蝌蚪porny| 欧美va在线播放| 亚洲国产综合91精品麻豆| 国产在线精品一区二区| 欧美三级在线播放| 欧美国产一区二区| 免费成人在线观看视频| 91激情在线视频| 国产亚洲一区二区三区四区| 午夜精品福利一区二区蜜股av | 国产馆精品极品| 欧美日韩国产欧美日美国产精品| 国产精品女人毛片| 久久99精品久久久久久动态图| 91麻豆产精品久久久久久| 久久综合色一综合色88| 亚洲一区免费观看| 成年人国产精品| 久久久久久久久久久久久夜| 天堂一区二区在线免费观看| 色综合中文字幕国产 | 亚洲婷婷在线视频| 国产一区二区三区视频在线播放| 欧美日韩在线免费视频| 综合婷婷亚洲小说| 国产成人精品亚洲日本在线桃色| 日韩视频123| 亚洲第一二三四区| 欧美伊人久久久久久午夜久久久久| 国产精品系列在线| 国产精品一区二区不卡| 日韩精品一区二区三区视频在线观看| 亚洲一区二区三区自拍| 色综合色狠狠天天综合色| 亚洲国产精品传媒在线观看| 国模冰冰炮一区二区| 精品日韩99亚洲| 美女mm1313爽爽久久久蜜臀| 欧美一区二区日韩一区二区| 亚洲丶国产丶欧美一区二区三区| 在线观看免费一区| 亚洲综合丝袜美腿| 91久久精品午夜一区二区| 亚洲免费三区一区二区| 色哟哟日韩精品| 一区二区三区高清不卡| 欧洲国内综合视频| 亚洲狠狠爱一区二区三区| 在线亚洲一区观看| 亚洲一区二区三区四区在线| 欧美探花视频资源| 午夜不卡av免费| 91麻豆精品国产91久久久久久久久 | 在线视频国内自拍亚洲视频| 亚洲精品欧美激情| 在线亚洲精品福利网址导航| 亚洲麻豆国产自偷在线| 一本色道亚洲精品aⅴ| 亚洲精品高清视频在线观看| 欧美自拍偷拍一区| 婷婷综合在线观看| 欧美第一区第二区| 国产精品91一区二区| 中文字幕 久热精品 视频在线| 成人黄色软件下载| 亚洲视频免费在线| 欧美日韩一区二区在线视频| 日本网站在线观看一区二区三区| 日韩欧美电影一二三| 国产美女久久久久| 日韩美女精品在线| 欧美日韩日日夜夜| 老司机免费视频一区二区三区| 精品剧情在线观看| aa级大片欧美| 天天免费综合色| 久久亚洲一级片| 91视频.com| 青娱乐精品视频在线| 欧美高清在线一区| 欧美视频一区在线| 精品一区二区三区久久久| 国产精品区一区二区三| 欧美三级三级三级| 国产麻豆日韩欧美久久| 亚洲色大成网站www久久九九| 欧美乱熟臀69xxxxxx| 国产精品影视网| 一区二区三区不卡在线观看| 欧美大片拔萝卜| 99精品在线免费| 乱一区二区av| 中文字幕一区二区三| 日韩欧美色综合| 99久久精品免费看国产免费软件| 五月天视频一区| 国产精品美女www爽爽爽| 51久久夜色精品国产麻豆| 福利电影一区二区| 日韩在线a电影| 国产精品动漫网站| 日韩精品中文字幕在线一区| 91免费在线视频观看| 国产一区二区三区蝌蚪| 午夜精品福利在线| 亚洲三级视频在线观看| 精品电影一区二区三区|