Программа для отправки смс на делфи скачать | |
Using The SMS and MMS Toolkit with Borland Delphi.The SMS and MMS Toolkit is a software development kit (SDK) to enhance an application or script with SMS, MMS and Pager functionality. SMS messages can be sent using a GSM/GPRS modem, an SMPP provider, an HTTP compliant SMS provider or using a standard dialup or fixed-line SMS modem. MMS messages can be sent via a GSM/GPRS modem (MM1), an SMTP server (MM4) or an XML/SOAP compliant provider (MM7). Send and receive numeric- and alphanumeric text SMS messages Verify delivery of outgoing SMS messages Support for multimedia SMS messages, including ringtones, pictures and logo's Support for WAP Push, WAP Bookmarks, vCards, voicemail/e-mail/fax/MMS indications Support for Unicode, to support foreign languages like Arabic, Chinese, Hebrew, etc. Support for multi-part messages, to allow messages longer than 160 characters Support for GSM modems, GSM phones, SMS/HTTP providers, SMPP (Short Message Peer to Peer) providers, TAP/XIO and UCP dial-in SMSC providers Support Multi-threading environments. The component is thread-safe, which means it can be used in a multi-threaded environment Samples included for various development platforms: MS Visual Basic, MS Visual Basic .NET, MS Visual C++, MS Visual Studio C# .NET, ASP, ASP .NET, Borland Delphi, Borland C++ Builder, Windows Powershell ColdFusion and more. Support for many multimedia formats incl.: JPG, GIF, PNG, BMP, WBMP, TIF, WAV, MP3, MIDI, AC3, GP3, AVI, MPG, MP4, VCARD, VCALENDAR, JAR and more Support for MM1 (MMS over WAP), MM4 (MMS over SMTP) and MM7 (MMS over HTML/SOAP) Send alpha-numeric Pager messages through SNPP. This document describes how the SMS and MMS Toolkit can be integrated into Borland Delphi projects. Step 1: Download and install The SMS and MMS Toolkit. Download the SMS and MMS Toolkit from the ActiveXperts Download Site and start the installation. The installation guides you through the installation process. Step 2: Create a new Delphi Project. Launch Borland Delphi (for instance 'Delphi 2005') from the Start menu. Choose 'New' from the 'File' menu and select your preferred kind of application, for instance: 'VCL Forms Application - Delphi for Win32'. A new Form is displayed in the workspace. (Click on the picture to enlarge) Step 3: Refer to the SMS and MMS Toolkit Library and create the objects. Now that a new project has been created, you must add a reference to the SMS and MMS Toolkit in the project to be able to use the SMS and MMS Toolkit objects. To do so, choose 'Import Component. ' from the 'Component' menu. The Import Components' dialog appears. Select 'Import a Type Library': (Click on the picture to enlarge) In the 'Registered Type Libraries' page, select ActiveXperts SMS and MMS Toolkit Type Library' and click 'Next': (Click on the picture to enlarge) In the 'Components' page, leave all fields default and click 'Next': (Click on the picture to enlarge) In the 'Install' page, select 'Create Unit' and click 'Next': (Click on the picture to enlarge) The interface code is generated now and is shown in the AXmsCtrl_TLB tab of the project. Step 4: Declare and create the object. From the Project Manager, open Unit1.bas and add the AXmsCtrl_TLB to the 'Uses' statement to refer to the SMS Toolkit library: (Click on the picture to enlarge) In the 'private' or 'public' section, declare the following objects: You can now create the objects, for instance in the 'FormCreate' function: Step 5: Send and/or receive SMS messages. You can now send and/or receive SMS messages. The following code shows how to send an SMS message unsing an SMPP provider: There are many working samples included with the product. You can also find them on the ActiveXperts FTP site: ftp.activexperts-labs.com/samples/mobile-messaging-component. NOTE: Demo Projects are created with Borland Delphi 7. The SMS and MMS Toolkit project ships with a set of samples for Borland Delphi. The projects are created with Borland Delphi 7. Users with a later version of Borland Delphi 7 can open such a project. The Borland Conversion Wizard will guide you through the process of converting the project to the version used. | |
|
| |
| Пользователи выбирают: |
