Discussion:
iOS sharing extension
David Bovill via use-livecode
2018-11-19 20:35:51 UTC
Permalink
How could I create the ability for Livecode mobile apps - say iOS but
ideally also on Android) to add the ability for other apps to share to them?

-
https://developer.apple.com/library/archive/documentation/General/Conceptual/ExtensibilityPG/Share.html

I can't find any thread here or in the forums?
Ben Rubinstein via use-livecode
2018-11-20 18:40:04 UTC
Permalink
You need to do two things:

- add code in your app to handle the "urlWakeUp" message, see the dictionary
entry and
http://lessons.livecode.com/m/4069/l/58672-using-custom-url-schemes

- add entries in the app's plist to tell the operating system what file types
your app can handle, see
https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html#//apple_ref/doc/uid/20001431-101685

The latter is the bit you need to do for iOS - not sure what the Android
equivalent is.
Post by David Bovill via use-livecode
How could I create the ability for Livecode mobile apps - say iOS but
ideally also on Android) to add the ability for other apps to share to them?
-
https://developer.apple.com/library/archive/documentation/General/Conceptual/ExtensibilityPG/Share.html
I can't find any thread here or in the forums?
_______________________________________________
use-livecode mailing list
http://lists.runrev.com/mailman/listinfo/use-livecode
David Bovill via use-livecode
2018-11-22 10:02:39 UTC
Permalink
Great - I was hoping that it would use the custom url stuff. Has anyone
done this? Would be great to have some demo code + plist to work of a an
example.

On Tue, 20 Nov 2018 at 18:40, Ben Rubinstein via use-livecode <
Post by Ben Rubinstein via use-livecode
- add code in your app to handle the "urlWakeUp" message, see the dictionary
entry and
http://lessons.livecode.com/m/4069/l/58672-using-custom-url-schemes
- add entries in the app's plist to tell the operating system what file types
your app can handle, see
https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html#//apple_ref/doc/uid/20001431-101685
The latter is the bit you need to do for iOS - not sure what the Android
equivalent is.
Post by David Bovill via use-livecode
How could I create the ability for Livecode mobile apps - say iOS but
ideally also on Android) to add the ability for other apps to share to
them?
Post by David Bovill via use-livecode
-
https://developer.apple.com/library/archive/documentation/General/Conceptual/ExtensibilityPG/Share.html
Post by David Bovill via use-livecode
I can't find any thread here or in the forums?
_______________________________________________
use-livecode mailing list
Please visit this url to subscribe, unsubscribe and manage your
http://lists.runrev.com/mailman/listinfo/use-livecode
_______________________________________________
use-livecode mailing list
http://lists.runrev.com/mailman/listinfo/use-livecode
Loading...