Page 1 of 1

ShareActionProvider use in Livecode for share content

Posted: Tue Aug 11, 2015 10:32 am
by tobirobi
Hello Community,

i am searching for a solution in livecode to use the standard android Share function we can see in so many android apps. I like to send the content via email,whatsapp, sms. And i thought that i can easily use the original android "function" for that.
But after I've been looking for a while I think I've used either the wrong words, or that this does not exist in the livecode.

i think i must define the content that a what to share, maybee export it to a file or something like that, but then i need the code to send this data to the share intent fuctionality.

Have anybody a solution for that?

Regards,
Tobi

Re: ShareActionProvider use in Livecode for share content

Posted: Tue Aug 18, 2015 1:35 pm
by MaxV
You have to use the url scheme.
Your app can have is own url scheme, so other apps can send data to your app.
For example, in order to send data to a twitter app:

Code: Select all

put URL "twitter://user?screen_name=max"