Mediamanager:postPicture

From GiderosMobile
Revision as of 02:51, 11 February 2020 by MoKaLux (talk | contribs)


Available since: Gideros 2016.1
Class: Media

Description

Adds picture from given path to gallery (or opens save file dialog on pc).

mediamanager:postPicture(path)

Parameters

path: (string) the path to save the file to

Example

--require plugin
require "media"

-- save picture to sdcard/pictures folder (*need write permission*)
mediamanager:postPicture("gfx/ball.png")