Jump to content

[TOPIC: topicViewTemplate]
[GLOBAL: userSmallPhoto]
Photo

Storing Photo from system.TemporaryDirectory to Device storage
Started by yosu Sep 13 2018 01:23 AM

1 reply to this topic

Best Answer Rob Miracle , 13 September 2018 - 10:22 AM

Look at the "social" plugin for Android. It pops up an Android system dialog box similar to the Activity plugin. It might give you the ability to save to the camera roll. Also there is an External Storage plugin in the Marketplace that should let you open and write the file to the photos folder in External storage directly.

 

Rob

[TOPIC CONTROLS]
[/TOPIC CONTROLS]
[modOptionsDropdown]
[/modOptionsDropdown]
[reputationFilter]
[TOPIC: post.html]
#1

yosu

[GLOBAL: userInfoPane.html]
yosu
  • Contributor

  • 503 posts
  • Corona SDK

Hi,

 

I have an image in the system.TemporaryDirectory, and I want to let the user save it permanently to the Android & Apple device. 

 

The showPopup 'CoronaProvider.native.popup.activity' seems to be only for Apple.

 

The only way I found was to use display.capture with the option 'saveToPhotoLibrary'. Is there any other way where it is not stored in photoLibrary (like in Android Downloads folder) ?

 

 

Thanks



[TOPIC: post.html]
#2

Rob Miracle

[GLOBAL: userInfoPane.html]
Rob Miracle
  • Moderator

  • 24,838 posts
  • Corona Staff

  Best Answer

Look at the "social" plugin for Android. It pops up an Android system dialog box similar to the Activity plugin. It might give you the ability to save to the camera roll. Also there is an External Storage plugin in the Marketplace that should let you open and write the file to the photos folder in External storage directly.

 

Rob




[topic_controls]
[/topic_controls]