PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US
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
Runs an action on the recorder or dictaphone found on the current device.
Note: The RecorderXXX functions are available only if the current device includes a recorder feature.
Versions 17 and later
Android This function is now available for the Android applications.
iPhone/iPad This function is now available for the iPhone/iPad applications.
New in version 17
Android This function is now available for the Android applications.
iPhone/iPad This function is now available for the iPhone/iPad applications.
Android This function is now available for the Android applications.
iPhone/iPad This function is now available for the iPhone/iPad applications.
Versions 18 and later
Android Widget This function is now available in Android Widget mode.
New in version 18
Android Widget This function is now available in Android Widget mode.
Android Widget This function is now available in Android Widget mode.
Example
Windows Mobile
// Read the sound file named "Music.wav"
RecorderAction(recorderPlay, "\My documents\Music.wav")
AndroidAndroid Widget
// Read the sound file named "Music.3gpp"
RecorderAction(recorderPlay, "Music.3gpp")
Syntax
<Result> = RecorderAction(<Action> [, <File Name>])
<Result>: Boolean
  • True if the specified action was started,
  • False otherwise.
Versions 16 and later
AndroidAndroid Widget The ErrorOccurred variable is set to True if an error occurred. To find out the error details, use ErrorInfo.
New in version 16
AndroidAndroid Widget The ErrorOccurred variable is set to True if an error occurred. To find out the error details, use ErrorInfo.
AndroidAndroid Widget The ErrorOccurred variable is set to True if an error occurred. To find out the error details, use ErrorInfo.
<Action>: Integer constant
Type of action to perform:
recorderRecordOpens the recorder and starts recording.
The recording starts as soon as the user presses the button that calls RecorderAction.
recorderCloseCloses the recorder.
recorderPlayOpens the recorder and plays the specified sound file.
recorderStopStops the current recording.
The recording stops as soon as the user releases the button that calls RecorderAction.
<File Name>: Optional character string
Name and full path of the sound file:
  • to save (recorderRecord constant).
  • to play (recorderPlay constant).
This file has the following format:
  • Windows Mobile ".WAV" in Windows Mobile.
  • Versions 17 and later
    AndroidAndroid Widget ".3gpp" in Android.
    New in version 17
    AndroidAndroid Widget ".3gpp" in Android.
    AndroidAndroid Widget ".3gpp" in Android.
  • Versions 17 and later
    iPhone/iPad ".WAV" in iPhone/iPad.
    New in version 17
    iPhone/iPad ".WAV" in iPhone/iPad.
    iPhone/iPad ".WAV" in iPhone/iPad.
Remarks
Versions 17 and later
AndroidAndroid Widget Required permissions
The call to this function modifies the permissions required by the application.
Required permission: RECORD_AUDIO
This permission is used to record the sounds.
New in version 17
AndroidAndroid Widget Required permissions
The call to this function modifies the permissions required by the application.
Required permission: RECORD_AUDIO
This permission is used to record the sounds.
AndroidAndroid Widget Required permissions
The call to this function modifies the permissions required by the application.
Required permission: RECORD_AUDIO
This permission is used to record the sounds.
Components
Windows Mobile wp230obj.dll
Android wd230android.jar
Minimum required version
  • Version 11
Comments
Click [Add] to post a comment