Official Content

One of the properties of the Image Gallery control is to enable Share Action.

imagesharebutton   

This will add a button that allows the user to share one or a selection of images of the Image Gallery: sharebuttonimagegallery
Some info from the developers blog: http://genexus-sd.blogspot.com/2012/01/share-button-in-image-gallery.html

When viewing an image, you can tap on the share button:

shareimagegalleryios1     shareimagegalleryandroid

The following dialogue will appear:

shareimagegalleryio2     shareimagegalleryandroid2

Email example:

shareimagegalleryios3     shareimagegalleryandroid3

Twitter example:

shareimagegalleryios4     shareimagegalleryandroid4

To share with Facebook, first follow this link: HowTo: Register a Facebook App. After having everything configured on the KB to interact with Facebook the app should be able to post an image on the user's Facebook wall.

Take into consideration that the images that can be posted to Facebook have to be accesible in a public URL.

shareimagegalleryios5     shareimagegalleryandroid5

Considerations

When using iOS, the Share option is enabled if any of the following is set on the device:

  • Mail
  • SMS
  • Twitter
  • Facebook

Last update: February 2024 | © GeneXus. All rights reserved. GeneXus Powered by Globant