Welcome![Sign In][Sign Up]
Location:
Search - sms service

Search list

[J2MESMS扩展配置.rar

Description:

1、将jre文件夹复制到你本机所在的JDK下覆盖掉全部jre文件夹

2、将lib文件夹复制到你项目所在的lib,添加对应lib


import org.smslib.IOutboundMessageNotification;
import org.smslib.Library;
import org.smslib.MessageEncodings;
import org.smslib.MessageProtocols;
import org.smslib.OutboundMessage;
import org.smslib.Service;
import org.smslib.modem.SerialModemGateway;
import java.util.List;


public class SendSms {
    public SendSms() {
    }


    public void sendSMS(String[] phoneNumber) throws Exception {
        Service srv;
        OutboundMessage msg;

        OutboundNotification outboundNotification = new OutboundNotification();

        srv = new Service();
        SerialModemGateway gateway = new SerialModemGateway("modem.com1",
                "COM1", 9600, null, null);
        gateway.setInbound(true);
        gateway.setOutbound(true);
        gateway.setSimPin("0000");
        gateway.setOutboundNotification(outboundNotification);
        gateway.setProtocol(MessageProtocols.PDU);
        srv.addGateway(gateway);

        try {
            srv.startService();

            for (int i = 0; i < phoneNumber.length; i++) {
                msg = new OutboundMessage(phoneNumber[i], "您有会议待处理,请登陆查看!");
                msg.setEncoding(MessageEncodings.ENCUCS2);
                srv.sendMessage(msg);

            }

        } finally {
            srv.stopService();
        }
    }

    public class OutboundNotification implements IOutboundMessageNotification {
        public void process(String gatewayId, OutboundMessage msg) {
            System.out.println("Outbound handler called from Gateway: " +
                               gatewayId);
            System.out.println(msg);
        }
    }


    public static void main(String args[]) {
        SendSms app = new SendSms();
        try {
            app.doIt();
        } catch (Exception e) {
            e.printStackTrace();
        }
    }

}
 


Platform: | Size: 1040178 | Author: idhuanghao | Hits:

[SMShomermx

Description: HomerMX is a message exchange service for wireless message formats such as SMS and MMS. HomerMX is a Web Services-based (SOAP/WSDL) gateway that is implemented in J2EE and runs under JBoss. It currently supports SMPP and Nokia s MMS.
Platform: | Size: 6405120 | Author: 张海洋 | Hits:

[CSharpmessage_webservice

Description: 也是一个基于。net的短信项目,只不过用web service的方式实现了-Is based on. SMS net project, but with the way web service to achieve a
Platform: | Size: 88064 | Author: 曾诚 | Hits:

[Linux-Unixsmslink-0.44b.tar

Description: 手机短消息服务的服务器和客户端(linux)的源代码,支持一下!-mobile phone short message service to the server and client (linux) the source code to support what!
Platform: | Size: 93184 | Author: 慕力 | Hits:

[RichEditJ2EE_newsssssssssss

Description: SMS是SP服务中一种流行的服务类型,用户可以通过发送短信来定制电影,视频,交友,下载等在线服务, 联盟程序正是处于用户与SP商之间的一种接口平台,平台下可以发展站长,站长在自己的站上做宣传. 手机用户便可以通过该广告完成服务的定制。 -SMS services is a popular type of service, users can send text messages to customize movies, Video, making friends, and download online services, Union procedure is at users with SP to an interface between the platform, development platform can head head of the station on their own publicity. mobile phone users will be able to complete the advertisement customized services.
Platform: | Size: 246784 | Author: 王明 | Hits:

[WAP developjavamoiblecodes

Description: J2ME核心类及MIDlet类 MIDP用户界面对象 图形处理及低级事件处理 多线程编程 I/O及网络编程 数据库RMS编程 浮点数编程 多媒体及GAME API编程 安全、加密及代码优化 扩展类库及供应商提供的API 与服务端联合搭建移动应用 XML 及Web Service编程 短信编程 各种移动平台的应用开发-J2ME MIDlet core categories and category MIDP graphical user interface object handling and processing low-level incidents multithreaded programming I/O and network programming RMS database programming and multimedia programming float API programming Security GAME CHAIRMAN, encrypted code optimization and expansion of library and the suppliers to provide API and joint-service structure for mobile applications and XML Web Programming Programming Service SMS mobile application development platform
Platform: | Size: 3959808 | Author: 殷丞 | Hits:

[SMS200611115332871101

Description: SMS是SP服务中一种流行的服务类型,用户可以通过发送短信来定制电影,视频,交友,下载等在线服务, 联盟程序正是处于用户与SP商之间的一种接口平台,平台下可以发展站长,站长在自己的站上做宣传. 手机用户便可以通过该广告完成服务的定制。-SMS services is a popular type of service, users can send text messages to customize movies, Video friends, downloading and other online services, is at Union procedures SP business users and an interface between the platform, Platform can develop head station in their stand on the publicity. Mobile phone users will be able to complete the advertisement customized services.
Platform: | Size: 3779584 | Author: hbz | Hits:

[JSP/Javasmslib-java

Description: 基于java开发的一套短信应用框架,包括了串口参数设置,text和pdu编码,线程调度和服务接口-Developed a set of java-based SMS application framework, including the serial port parameter settings, text and PDU encoding, thread scheduling and service interface
Platform: | Size: 985088 | Author: ziyoung | Hits:

[Delphi VCLendo_SMS_v3.0

Description: DelphiUDP协议,电信短信网关,发送和接收服务程序。-DelphiUDP agreement, telecommunications SMS gateway for sending and receiving the service program.
Platform: | Size: 1146880 | Author: kendychong | Hits:

[JSP/JavaJavaSMSTransceiverV11

Description: SMSTransceiver (short message service transmitter and receiver [transceiver]) is a tool for sending and receiving SMS via a serial or infrared connection between PC and a mobile phone.
Platform: | Size: 103424 | Author: eric | Hits:

[Program docGSM_sms

Description: GSM短消息协议,介绍的内容比较详尽,希望对大家有用-GSM Short Message Service agreement, the contents of a more detailed introduction, in the hope that useful to everybody
Platform: | Size: 301056 | Author: 张庆顺 | Hits:

[SymbianS60_Platform_SMS_Example_v2_0_en

Description: Symbian塞班 s60操作手机短信息服务的源代码例程,帮助新手了解短信的发送和接收操作-Symbian operator Saipan s60 phone short message service routine the source code to help the novice understand the message to send and receive operation
Platform: | Size: 108544 | Author: selfy | Hits:

[Internet-NetworkEasySMPP-1.0.0.1

Description: SMPP protocol library for fast and easy SMSC(Short Message Service Centre) client development even for non-telecom guys. Easy to use classes covers all needed functionality for SMS applications developers and Content Providers. Written for .NET 2.0 in C# -SMPP protocol library for fast and easy SMSC (Short Message Service center) client development even for non-telecom guys. Easy to use classes covers all needed functionality for SMS applications developers and Content Providers. Written for. NET 2.0 in C#
Platform: | Size: 63488 | Author: kina | Hits:

[Internet-NetworkSMS

Description: SMS系统模拟器,包括手机模拟器和短信中心服务器模拟器。 客户端软件,模拟手机通过网络socket向另一个手机用户发送短消息。 每个客户端手机用一个手机号码,用IP+端口标识,短信服务中心服务器接收短信,排队帮你转发给另一个手机用户。功能见DOC文档-SMS system simulator, including simulators and mobile message center server simulator. Client software, analog mobile phone network socket to another mobile phone users send SMS messages. Each client with a mobile phone cell phone number, using IP+ port logo, message service center to receive server message queue help you to forward to another cell phone user. Function, see DOC documents
Platform: | Size: 9333760 | Author: Freddie | Hits:

[SMSsms

Description: 这是2005年6月云南移动短信网关升级到3.0时写的,在SP那稳定运行了很长时间的。因为SP倒闭了,贴出来给有兴趣的朋友参考。 优点:支持多线程、滑动窗口、异步发送、全事件模式、自动识别ASCII、GBK、UCS-2 缺点:不支持长短信自动分页、不支持PROVISION接口(偶的PROVISION接口是用WEB SERVICE实现的)-Is about mobile sms!
Platform: | Size: 12288 | Author: pigking | Hits:

[OtherSMS

Description: 短信发送简单程序是一款短信群发、短信存储、单机短信收发服务、网络短信收发服务等短信服务管理的清扬软件。该软件安装在外接GSMMODEM(短信猫)的电脑上,无需上网就可以实现单台电脑上短信收发服务,也可以利用局域网实现网络短信收发服务,节约通信成本,提高企业运营效率清扬即时通信产品支持自建服务器、包含单位、部门、使用人的实名制联系人、在线发送即时信息、文件发送、任务派发、任务管理、按照单位组织结构建立部-SMS is a simple procedure to send mass text messages, SMS, storage, stand-alone service to send and receive text messages, network services, such as text messages to send and receive SMS service management software Chhnang. The software is installed on the external GSMMODEM (SMS cat) on a computer without Internet access can be achieved on a single computer to send and receive short message services, local area network can also use SMS to send and receive network services, to save communication costs and improve operational efficiencies enterprise instant messaging products Chhnang support the self-servers, including units, departments, people' s real-name system for the use of contacts, send instant messages online, send, distribute tasks, task management, to establish the organizational structure according to the Department of
Platform: | Size: 116736 | Author: wangle | Hits:

[CSharpSMS

Description: 本程序实现一个短信服务器,作为Windows 服务安装到计算机里,并提供API函数供调用短信服务器的功能。-This software develops a SMS Server,it is can be installed in computer as a Windows Service.Also ,there is APIs of SMS Server to be called for you.
Platform: | Size: 444416 | Author: 杨醉汉 | Hits:

[Modem programSMSToWeb

Description: 调用Web Service,发送短信,每隔指定时间监听有无短信到达,接收短信。-Call Web Service, send text messages, at the appointed time arrived to monitor the availability of SMS, receive text messages.
Platform: | Size: 489472 | Author: apple | Hits:

[SMSSMS

Description: 电信ISAG短信发送源码 ISAG综合业务接入网关,英文全称为 Integrated Service Access Gatewa-ISAG SMS SendSMS ISAG综合业务接入网关,英文全称为 Integrated Service Access Gatewa
Platform: | Size: 1866752 | Author: 盘杰 | Hits:

[OtherSMS Call flow and DT

Description: SMS Flow , Short Message Service Call Flow.
Platform: | Size: 243712 | Author: arindam12345 | Hits:
« 12 3 4 5 6 7 8 9 10 »

CodeBus www.codebus.net