Jump to content

[TOPIC: topicViewTemplate]
[GLOBAL: userSmallPhoto]

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
This topic has been archived. This means that you cannot reply to this topic.
[TOPIC: post.html]


[GLOBAL: userInfoPane.html]
  • Observer

  • 29 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]


[GLOBAL: userInfoPane.html]
  • 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.