ShareActionProvider use in Livecode for share content

Got a LiveCode personal license? Are you a beginner, hobbyist or educator that's new to LiveCode? This forum is the place to go for help getting started. Welcome!

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller

Post Reply
tobirobi
Posts: 5
Joined: Tue Aug 04, 2015 3:52 pm

ShareActionProvider use in Livecode for share content

Post by tobirobi » Tue Aug 11, 2015 10:32 am

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

MaxV
Posts: 1580
Joined: Tue May 28, 2013 2:20 pm
Contact:

Re: ShareActionProvider use in Livecode for share content

Post by MaxV » Tue Aug 18, 2015 1:35 pm

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"
Livecode Wiki: http://livecode.wikia.com
My blog: https://livecode-blogger.blogspot.com
To post code use this: http://tinyurl.com/ogp6d5w

Post Reply