PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

New WINDEV Mobile 23 feature!
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
Returns the list of background tasks for the application.
Example
// Returns True if the background task for processing emails was added
PROCEDURE bTaskEmailProcessActive
sTaskList is string = BackgroundTaskList()
FOR EACH STRING sTask OF sTaskList SEPARATED BY CR
IF ExtractString(sTask, 2, TAB) = "ProcProcessEmailInBackground" THEN
RESULT True
END
END
RESULT False
Syntax
<Result> = BackgroundTaskList()
<Result>: Character string
  • List of background tasks for the application separated by CR characters (Carriage Return). This list has the following format:
    <Identifier> + TAB + <Procedure> + TAB + <Frequency> + TAB + <Auto> + CR +  ...
    where:
    • <Identifier> is an integer corresponding to the task identifier,
    • <Procedure> is a character string corresponding to the name of the WLanguage procedure called when running the task,
    • <Frequency> is an integer corresponding to the runtime frequency of task (in minutes),
    • <Auto> is a boolean:
      • True if the task was automatically added via the setting of procedure automation (not available in this version),
      • False if it was added by BackgroundTaskAdd.
  • Empty string ("") if no background task was defined for the application.
Components
Android wd230android.jar
Minimum required version
  • Version 23
Comments
Click [Add] to post a comment