PC SOFT

ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Home | Sign in | English EN
  • Overview
  • Required configuration
  • Notes
  • Reading and deleting the SMS messages on a Smartphone
  • Managing the different types of numbers
  • Phone calls
  • Differences between GO mode and runtime
  • Specific features in Android
  • Specific features in iOS
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 SMS messages with the SMS functions of WLanguage.
SMS (Short Message Service) commonly refers to text messages (up to 160 characters) sent to a cell phone.
Sending an SMS
Remark: The characteristics of SMS messages 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 SMS messages on a Smartphone

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

Managing the different types of numbers

Two types of numbers can be used to send SMS messages:
  • Short numbers (also called "National" numbers). These numbers can be accessed from the country only.
  • 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.
Differences between GO mode and runtime
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 runtime are presented in Differences between GO mode and runtime.
Specific features in Android
Android In Android:
  • Only SMS messages 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 SMS messages to the emulator, see the documentation of the Android SDK : https://developer.android.com/studio/run/emulator#console
  • Versions 25 and later
    It is possible to send SMS messages with an attachment using SMSRunApp.
    New in version 25
    It is possible to send SMS messages with an attachment using SMSRunApp.
    It is possible to send SMS messages with an attachment using SMSRunApp.
Specific features in iOS
iPhone/iPad SMS messages can only be sent using SMSRunApp.
Related Examples:
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 version required
  • Version 9
Comments
Click [Add] to post a comment