Jump to content

[TOPIC: topicViewTemplate]
[GLOBAL: userSmallPhoto]
Photo

Is it possible to access a file that is inside another App (Android)?
Started by billyfairbank Jan 12 2017 05:46 PM

1 reply to this topic
access file android export sharing
[TOPIC CONTROLS]
This topic has been archived. This means that you cannot reply to this topic.
[/TOPIC CONTROLS]
[modOptionsDropdown]
[/modOptionsDropdown]
[reputationFilter]
[TOPIC: post.html]
#1

billyfairbank

[GLOBAL: userInfoPane.html]
billyfairbank
  • Observer

  • 25 posts
  • Corona SDK

I have a Android App that is saving some data in a "file.txt".   I know that Android allows to make that file accessible for other apps.

 

Can my Corona app (using Corona SDK, not Enterprise) access that file?  If not, is there any workaround to pass that file.txt to my Corona app?



[TOPIC: post.html]
#2

assif_tiger

[GLOBAL: userInfoPane.html]
assif_tiger
  • Contributor

  • 166 posts
  • Corona SDK

Hi there is no way in Corona Sdk, But there are two following ways that I have used for same scenarios:

 

1- Keep your file on Sd-card/Internal memory in android & use it as an intermediate for apk's.

 

2- We can receive an intent in corona apk , if you can send intent from corona then you can share anything.

     Refer Intent in Android SDK , Register intenet in build.settings.

    

-Assif




[topic_controls]
[/topic_controls]