When I want to open a file with a program then appears a list of programs which I can use to do this.
Is it possible to make my app present on this list? Or to make it an opener of this file format by default, without choosing it by user?
When I want to open a file with a program then appears a list of programs which I can use to do this.
Is it possible to make my app present on this list? Or to make it an opener of this file format by default, without choosing it by user?
I believe this is what you want:
https://forums.coronalabs.com/topic/29720-ios-howto-opening-an-email-attachment-with-your-app/
better formatted link here: (http://www.swipeware.com/ios-tutorial-using-email-attachments-in-corona-sdk/)
or perhaps this:
https://coronalabs.com/blog/2011/12/22/using-app-url-schemes-in-ios/
Thank you but it’s all for iPhones. I need something like that for Android
(sorry I forgot to tell this). It seems to be more complicated than on ios. But thanks to you I googled about “handling URL scheme”, I didnt know how to name it before.
Found something like this: https://forums.coronalabs.com/topic/37105-handling-url-scheme-on-android/
As I see there is support for that but in experimental phase. But the topic is from 2013 so Im not sure how it looks like now.
EDIT
Im not sure URL schemes are what im looking for. Imagine that Im creating a text editor. The user opens file explorer clicks at a txt file and takes my app from menu. Or it opens automatically. It shouldnt be hard to do.
Yeah. I’m not sure if there is an easy solution for Android. Sorry about that.
I believe this is what you want:
https://forums.coronalabs.com/topic/29720-ios-howto-opening-an-email-attachment-with-your-app/
better formatted link here: (http://www.swipeware.com/ios-tutorial-using-email-attachments-in-corona-sdk/)
or perhaps this:
https://coronalabs.com/blog/2011/12/22/using-app-url-schemes-in-ios/
Thank you but it’s all for iPhones. I need something like that for Android
(sorry I forgot to tell this). It seems to be more complicated than on ios. But thanks to you I googled about “handling URL scheme”, I didnt know how to name it before.
Found something like this: https://forums.coronalabs.com/topic/37105-handling-url-scheme-on-android/
As I see there is support for that but in experimental phase. But the topic is from 2013 so Im not sure how it looks like now.
EDIT
Im not sure URL schemes are what im looking for. Imagine that Im creating a text editor. The user opens file explorer clicks at a txt file and takes my app from menu. Or it opens automatically. It shouldnt be hard to do.
Yeah. I’m not sure if there is an easy solution for Android. Sorry about that.