ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage functions / Mobile specific functions / Album functions
  • Required application feature
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Others
Stored procedures
AlbumSave (Function)
In french: AlbumSauve
Saves an image, a photo or a video in the photo album of the mobile device. This image can be re-used by AlbumPicker.
Example
// Save an image found in an image variable
MyImage is Image = "Test.png"
AlbumSave(MyImage)
// Save a photo
IF AlbumSave(VideoStartApp(viPictureCapture)) = False THEN
Info("Image not saved")
END
Syntax

Saves an image found in an Image variable Hide the details

<Result> = AlbumSave(<Image>)
<Result>: Boolean
  • True if the image was successfully saved,
  • False otherwise.
<Image>: Image variable
Name of the Image variable that corresponds to the image to be added to the album.

Saving an image displayed in an Image or Chart control Hide the details

<Result> = AlbumSave(<Control name>)
<Result>: Boolean
  • True if the image was successfully saved,
  • False otherwise.
<Control name>: Character string
Name of the Image control or name of the Chart control containing the image to add into the album.

Saves an image found in a file Hide the details

<Result> = AlbumSave(<Image file name>)
<Result>: Boolean
  • True if the image was successfully saved,
  • False otherwise.
<Image file name>: Character string
Full name or relative name of the image or video file that will be added into the album (name of the file returned by VideoStartApp for example).
Remarks
Universal Windows 10 App

Required application feature

When this function is used, an application feature is declared in the application generation wizard.
Required features:
  • Video library.
  • Image library.
Component: wd290android.jar
Minimum version required
  • Version 17
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 05/26/2022

Send a report | Local help