File Type Associations and auto-App Launching

Hi folks,

I have an app which allows the user to send a single-file backup of the apps data to email, for safe keeping. All works great.

However, now I’ve come to look at implementing some “data restore” functionality, I’m unsure how to go about it.

Ideally, I would like the user to simply be able to open the backup data file attachment on the email (e.g. with an appropriate file extension, such as “mybackup.myapp”), and for my app to open automatically, passing the data file, which the app can then restore to it’s local documents folder.

I have an app I purchased recently which has this same functionality, although I don’t think it was written with Corona SDK.

Is this possible?

Any advice, greatly appreciated :slight_smile: [import]uid: 60457 topic_id: 35237 reply_id: 335237[/import]

Has anyone got any advice on this?? [import]uid: 60457 topic_id: 35237 reply_id: 141763[/import]

There have been a couple of forum posts in the past couple of weeks on how to do this. See this post:

http://developer.coronalabs.com/forum/2013/02/03/ios-howto-open-file-custom-extension-directly-your-app

[import]uid: 199310 topic_id: 35237 reply_id: 141788[/import]

Has anyone got any advice on this?? [import]uid: 60457 topic_id: 35237 reply_id: 141763[/import]

There have been a couple of forum posts in the past couple of weeks on how to do this. See this post:

http://developer.coronalabs.com/forum/2013/02/03/ios-howto-open-file-custom-extension-directly-your-app

[import]uid: 199310 topic_id: 35237 reply_id: 141788[/import]