Jump to content

[TOPIC: topicViewTemplate]
[GLOBAL: userSmallPhoto]
Photo

How to open a file with the associated application?
Started by MauMau Jun 18 2019 08:43 AM

2 replies to this topic
open file launch application
[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

MauMau

[GLOBAL: userInfoPane.html]
MauMau
  • Contributor

  • 127 posts
  • Corona SDK

Is there a way to launch a file from within the Corona app and have it displayed by the system's default application for that file type? For example play back a certain mp3 file with the system's default MP3 player or show a .txt file with the system's default text viewer?

 

 



[TOPIC: post.html]
#2

Rob Miracle

[GLOBAL: userInfoPane.html]
Rob Miracle
  • Moderator

  • 26,693 posts
  • Enterprise

See system.openURL()

 

Rob



[TOPIC: post.html]
#3

MauMau

[GLOBAL: userInfoPane.html]
MauMau
  • Contributor

  • 127 posts
  • Corona SDK

Works - thanks  ;)




[topic_controls]
[/topic_controls]