Dear all experts,
As I have use the following code to capture the display screenshot to a .jpg file,
=========================================
local baseDir = system.DocumentsDirectory
display.save( ScreenGroup, “CapScreen.jpg”, baseDir, display.contentCenterX, display.contentCenterY )
local image = display.newImage( “CapScreen.jpg”, baseDir )
media.show(media.PhotoLibrary)
=========================================
then, I would like to use media.show function to open this “CapScreen.jpg” file by system photo viewer of users’ choice.
however, the function will ask user to open system photo viewer only. It won’t help me to open the “CapScreen.jpg” file. Please help… I have also tested media.selectPhoto function. but also not I want.
Do anyone have sample code for doing this? thx
Best regards
Frankie