ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Attention : This is version 25 of this documentation page. This feature may have been changed or removed in a higher version.
Help / WLanguage / WLanguage functions / Communication / Google functions / Google Picasa
  • Properties specific to the description of gglMediaGroup variables
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
Warning
From January 2019, the functions for managing Google Picasa photo albums will no longer be available. Indeed, the corresponding Google API is no longer available from January 2019. It is necessary to use "Google Photo API"..
This new API is accessible via AuthIdentify and HTTP requests. See https://developers.google.com/photos/library/guides/overview for more details.
The gglMediaGroup type is used to describe the additional information about a photo or a Google Picasa album. The characteristics of this type of variable can be defined and modified by several WLanguage properties.
This type of variable is used by:
Remark: See Declaring a variable for more details on the declaration of this type of variable and the use of WLanguage properties.
Example
// Connection to Google
Cnt is gglConnection
Cnt..Email = "vince@gmail.com"
Cnt..Password = "azerty"
Cnt..ApplicationName = "MyApp-01"
IF GglConnect(Cnt) = False THEN
Error(ErrorInfo())
END

// Retrieve the array of available albums
arrAlbum is array of gglAlbum
arrAlbum = GglListAlbum(Cnt)

// Retrieve the thumbnails from the first album
GglFillAlbum(Cnt, arrAlbum[1], gglWithThumbnail)

// Display a thumbnail in an Image control
IMG_ImageControl = arrAlbum[1]..Media..Thumbnail[1]..Image
Remarks

Properties specific to the description of gglMediaGroup variables

The following properties can be used to describe the additional information about a photo or a Google Picasa album:
NameType used Effect
MediaContentgglMediaContentData about the photo.
This property is available in read-only.
PhotoCreditCharacter stringCredits for the photo or for the Google Picasa album.
KeywordCharacter stringKeywords associated with the photo or with the Google Picasa album. These keywords must be separated by commas. For example: "Mountain, Flower".
ThumbnailArray of gglThumbnailThumbnails associated with the photo or with the album.

Remark: These properties can be used via one of the following syntaxes:
  • <Variable name>..<Property name>
  • <Variable name>.<Property name>
Minimum version required
  • Version 14
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 04/29/2020

Send a report | Local help