share option
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller
share option
hi, another question, how can i make a code that is gonna share something (in my case, numbers, a high score) not in a specific platform like instagram, whatsapp ecc. but a more general share and then the user chooses what to share with.
i don't know if i was clear, thank you!
i don't know if i was clear, thank you!
Samuele.
-
- Posts: 638
- Joined: Tue Jul 29, 2014 12:52 am
- Location: Brazil
Re: share option
HI Samuele, check "mergPopActivity" to share on iOS and "mobileComposeMail" to share on Android.
Hope it helps.
Best
Hope it helps.
Best
Simon
________________________________________
To ";" or not to ";" that is the question
________________________________________
To ";" or not to ";" that is the question
-
- Posts: 638
- Joined: Tue Jul 29, 2014 12:52 am
- Location: Brazil
Re: share option
As @Klaus would say, have a look at the dictionary and also search for examples in the forum...
Simon
________________________________________
To ";" or not to ";" that is the question
________________________________________
To ";" or not to ";" that is the question
-
- VIP Livecode Opensource Backer
- Posts: 7214
- Joined: Sat Apr 08, 2006 8:31 pm
- Location: Minneapolis MN
- Contact:
Re: share option
We don't usually write code for people but if you post the scripts you've already written we will help you fix them.
Jacqueline Landman Gay | jacque at hyperactivesw dot com
HyperActive Software | http://www.hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
-
- Livecode Opensource Backer
- Posts: 9286
- Joined: Fri Feb 19, 2010 10:17 am
- Location: Bulgaria
Re: share option
Like this:
1. Click on this button at the top:
- -
and then type your code in the place offered so it looks like this when you submit your message:
1. Click on this button at the top:
- -
and then type your code in the place offered so it looks like this when you submit your message:
Code: Select all
on mouseUp
do something
end mouseUp
Re: share option
Hi @SamueleSamuele wrote: ↑Wed Oct 13, 2021 7:23 pmhi, another question, how can i make a code that is gonna share something (in my case, numbers, a high score) not in a specific platform like instagram, whatsapp ecc. but a more general share and then the user chooses what to share with.
i don't know if i was clear, thank you!
Here I share an example stack which can help you. Or so I hope
It is a stack with two buttons in which an image and the text that is in field 1 are shared. One of these two ways can be to send your score
It is created for Android which is for the platform that I can test right now.
Re: share option
thank you, but i can't open it, do you have in another format maybe?
thanks again
thanks again
Samuele.
Re: share option
Maybe you can open ZIP archives?
- Attachments
-
- share Photos and Text.livecode.zip
- (3.78 KiB) Downloaded 101 times
Re: share option
Hi Andresdt,
thank you very much for sharing your Code Example. I had the same Problem and i did not found a Solution for this before.
Your Code works well on my Samsung Android Mobile Device , so i can extend my Shopping List App with this "Share List with Whatsapp"
Function.
Thank you again and Greetings from Germany
Michael
thank you very much for sharing your Code Example. I had the same Problem and i did not found a Solution for this before.
Your Code works well on my Samsung Android Mobile Device , so i can extend my Shopping List App with this "Share List with Whatsapp"
Function.
Thank you again and Greetings from Germany
Michael
Re: share option
Hi, Thanks, that's really cool, but on whatsapp the text is shared like a file, is the problem the extension .txt? if yes, what extension does whatsapp or the most known message apps use? thanks!
Samuele.