PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US
  • Overview
  • Required configuration
  • Notes
  • Reading and deleting the SMSs found on a Smartphone
  • Managing the different types of numbers
  • Phone calls
  • Operating mode in GO mode and at run time
  • Specific features in Android
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
Others
Stored procedures
Overview
WINDEV Mobile allows you to easily send and read SMSs with the SMS functions of WLanguage.
An SMS (Short Message Service) is a text message (up to 160 characters) sent on a cell phone.
Sending an SMS
Note: The characteristics of SMSs are contained in the SMS structure.
Required configuration
To be able to use the SMS functions, the application must be installed:
  • on a Pocket PC with phone access (GSM type).
  • on a smartphone.
  • Versions 16 and later
    on an Android phone.
    New in version 16
    on an Android phone.
    on an Android phone.
Notes
Windows Mobile

Reading and deleting the SMSs found on a Smartphone

To read and/or delete the SMSs found on a Smartphone (SMSNbMessage, SMSFirst, SMSNext or SMSDelete), the executable of the WINDEV Mobile application as well as its framework (lWinDev Mobile libraries) must be digitally signed. A certificate is required to perform this operation. See Security and certificates in Windows CE for more details.
Note: Using SMSSend and SMSReset does not require any specific signature.
Versions 16 and later
To sign the executable, all you have to do is specify the certificate that will be used in the wizard for creating the mobile executable. See Creating an executable for more details.
New in version 16
To sign the executable, all you have to do is specify the certificate that will be used in the wizard for creating the mobile executable. See Creating an executable for more details.
To sign the executable, all you have to do is specify the certificate that will be used in the wizard for creating the mobile executable. See Creating an executable for more details.

Managing the different types of numbers

Two types of numbers can be used to send SMSs:
  • The short numbers (also called "National" numbers). These numbers can be accessed from the country only.
  • The standard numbers (also called "International" numbers). These numbers can be accessed from anywhere.

Phone calls

WINDEV Mobile also allows you to easily manage the phone calls. See WINDEV and telephony for more details.
Operating mode in GO mode and at run time
In GO mode (simulation on the development computer), a WLanguage error is generated when calling an SMS function or when using one of the variables of the SMS structure.
The differences between GO mode (simulator) and real use are presented in Differences between GO mode and real use.
Specific features in Android
Android In Android:
  • Only the SMSs found in the phone memory can be handled by the SMS functions.
  • The SMS.Retry variable is ignored in Android.
  • The use of some SMS functions will modify the permissions required by the application (these permissions will be automatically added to the application). See the documentation about the SMS functions for more details.
  • The SMS functions can be used during a GO on the Android emulator. To simulate the sending of SMSs to the emulator, see the documentation of the Android SDK : https://developer.android.com/studio/run/emulator#console
Related Examples:
PC Sending SMS Mobile Windows (WINDEV Mobile): PC Sending SMS
[ + ] This example is used to create SMSs on a computer and to transfer them to a Pocket PC or to a Smartphone equipped with a SIM card in order to send them.
To use the PC Sending SMSs example, the Pocket Sending SMSs example must be installed on the Pocket PC or on the Smartphone.
A synchronization can be performed when the application is started to check whether SMSs must be sent or not.
Pocket Sending SMS Mobile Windows (WINDEV Mobile): Pocket Sending SMS
[ + ] This example is used to send SMSs created from the PC Sending SMSs example.
You also have the ability to write and send SMSs from the Pocket application.
How do I send an SMS from a Pocket PC or from a Smartphone with WINDEV Mobile?
All you have to do is use the SMS.XXX variables and the function named SMSSend():
  SMS.Message = "This is an SMS"
  SMS.Number  = "0612345678"
  SMSSend()
Pocket Managing Contacts Mobile (WINDEV Mobile): Pocket Managing Contacts
[ + ] This example presents the management of contacts in Pocket PC.
The following topics will be presented in this example:
1/ the loopers
2/ the use of queries
3/ sending SMSs
4/ sending emails
5/ the phone call.
WM Managing Contacts Cross-platform examples (WINDEV Mobile): WM Managing Contacts
[ + ] This example presents the management of contacts for Android et iOS.
It is used o:
- list the contacts found on the phone
- call the contacts
- send SMSs to the contacts
- ...
Minimum required version
  • Version 9
Comments
Click [Add] to post a comment