AYUDA EN LÍNEA
 WINDEVWEBDEV Y WINDEV MOBILE

Este contenido se ha traducido automáticamente.  Haga clic aquí  para ver la versión en inglés.
Ayuda / WLanguage / Funciones WLanguage / Funciones específicas para móviles / Funciones SMS
  • Differences between GO mode and runtime
  • Required permissions
WINDEV
WindowsLinuxJavaReportes y ConsultasCódigo de Usuario (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Código Navegador
WINDEV Mobile
AndroidWidget Android iPhone/iPadIOS WidgetApple WatchMac Catalyst
Otros
Procedimientos almacenados
Returns the number of SMS messages stored on an Android phone.
Note: Under Android, only SMS messages stored in the phone's memory can be handled by the SMS functions.
Ejemplo
// Number of SMS messages stored on the phone's memory
STC_NbSMS = "You have " + SMSNbMessage(smsMemory) + " messages."
Sintaxis
<Result> = SMSNbMessage(<Location> , <Type of information>)
<Result>: Integer
  • Number of SMSs stored or number of SMSs that can be stored,
  • -1 if an error occurred. To get more details on the error, use ErrorInfo with the errMessage constant.
<Location>: Integer constant
Location of SMSs:
smsMemorySMS messages stored in the device's memory.
<Type of information>: Integer constant
Type of information requested:
smsTotalNbNumber of stored SMSs.
Observaciones

Differences between GO mode and runtime

A WLanguage error is raised when SMSNbMessage is called in test mode (GO) (simulation on the development computer).
Las funciones SMS pueden utilizarse durante una GO en el emulador de Android. Para simular el envío de mensajes SMS al emulador, consulte la documentación del SDK de Android: https://developer.android.com/studio/run/emulator#console

Required permissions

This function changes the permissions required by the application.
Permission required: READ_SMS
Componente: wd300android.aar
Versión mínima requerida
  • Versión 10
Comentarios
Haga clic en [Agregar] para publicar un comentario

Última modificación: 30/09/2024

Señalar un error o enviar una sugerencia | Ayuda local