How to share a recorded sound on iOS?

William de Smet williamdesmet at gmail.com
Thu Mar 18 05:03:23 EDT 2021


Hi Matthias,

What I tried with mergPopActivity was a little different and it didn't work:
put specialfolderpath("documents") & "/" & "recording1.wav" into tPath

Now it does.
Thanks!



greetings,

William




Op do 18 mrt. 2021 om 00:27 schreef matthias rebbe via use-livecode <
use-livecode at lists.runrev.com>:

> -
> Matthias Rebbe
> Life Is Too Short For Boring Code
>
> > Am 18.03.2021 um 00:00 schrieb William de Smet via use-livecode <
> use-livecode at lists.runrev.com>:
> >
> > Hi Matthias,
> >
> > Yes I want something like the standard share sheet on iOS.
> > And for instance I want to share the .WAV file with Apple Messages.
> >
> Now i understand.
>
> > Do I need to associate the .WAV file with other apps?
> > Then I have to use custom URL schemes, I think.
> > Is that what you mean?
> >
> The custom url scheme settings in the standalone builder is for the ios
> app itself, not for other apps on the iOS device.
>
> I just did a short test with mergPopActivity. I am able to send/share the
> .caf file located in the documents folder with Telegram, Signal and other
> apps installed on my iPhone, but not with messages.
>
> But i was able  to copy the file to the clipboard using mergPopActivity
> and then to paste it into Messages.
>
> Seems Messages does not support the .caf file type.
>
> I used this code for my test
>    mergPopActivity "Share with...","" ,"file:"&the documents folder
> &"/output.caf"
>
>
>
> >
> > greetings,
> >
> > William
> >
> >
> >
> >
> > Op wo 17 mrt. 2021 om 23:29 schreef matthias rebbe via use-livecode <
> > use-livecode at lists.runrev.com>:
> >
> >>
> >> Sorry, i do not get it.
> >> You want to record it on the iOS device and then you want to have access
> >> to it with an other app on the same iOS device?
> >> So the question is with what or whom do you want to share the
> recordings?
> >>
> >>
> >>> Am 17.03.2021 um 23:21 schrieb William de Smet via use-livecode <
> >> use-livecode at lists.runrev.com>:
> >>>
> >>> Hi Matthias,
> >>>
> >>> With sharing I mean like the iOS share sheet.
> >>> A bit like using the mergPop with mergPopActivity but then with .WAV
> >> files.
> >>>
> >>> I got it working with 'mobileComposeMail (with an attachment)' but in
> >> this
> >>> way you need to have an actived mailacoount on your iOS device.
> >>> And mailaccounts are not present on the iOS devices that will be used.
> >>>
> >>>
> >>>
> >>> greetings,
> >>>
> >>> William
> >>>
> >>>
> >>>
> >>>
> >>> Op wo 17 mrt. 2021 om 23:05 schreef matthias rebbe via use-livecode <
> >>> use-livecode at lists.runrev.com>:
> >>>
> >>>> William,
> >>>>
> >>>> what do you mean with sharing?
> >>>>
> >>>> Do you want to connect your iOS device to iTunes on Win/Mac and want
> to
> >>>> get access to that recorded files in iTunes?
> >>>> If that's the case, then go to the Standalone Settings for your iOS
> >> stack,
> >>>> switch to Requirements and check the "File Sharing" option.
> >>>> This should allow iTunes to get access to the documents folder.
> >>>>
> >>>> If this is not what you want to do, then please explain it a little
> bit
> >>>> more.
> >>>>
> >>>>
> >>>>
> >>>> -
> >>>> Matthias Rebbe
> >>>> Life Is Too Short For Boring Code
> >>>>
> >>>>> Am 17.03.2021 um 19:51 schrieb William de Smet via use-livecode <
> >>>> use-livecode at lists.runrev.com>:
> >>>>>
> >>>>> Hi there,
> >>>>>
> >>>>> I am developing a simple stack to record sounds with mergMicrophone.
> >>>>> Is there a way to share the recorded sounds which are located in
> >>>>> specialFolderPath("documents")?
> >>>>>
> >>>>>
> >>>>> Greetings,
> >>>>>
> >>>>> William
> >>>>> _______________________________________________
> >>>>> use-livecode mailing list
> >>>>> use-livecode at lists.runrev.com
> >>>>> Please visit this url to subscribe, unsubscribe and manage your
> >>>> subscription preferences:
> >>>>> http://lists.runrev.com/mailman/listinfo/use-livecode
> >>>>
> >>>>
> >>>> _______________________________________________
> >>>> use-livecode mailing list
> >>>> use-livecode at lists.runrev.com
> >>>> Please visit this url to subscribe, unsubscribe and manage your
> >>>> subscription preferences:
> >>>> http://lists.runrev.com/mailman/listinfo/use-livecode
> >>>>
> >>> _______________________________________________
> >>> use-livecode mailing list
> >>> use-livecode at lists.runrev.com
> >>> Please visit this url to subscribe, unsubscribe and manage your
> >> subscription preferences:
> >>> http://lists.runrev.com/mailman/listinfo/use-livecode
> >>
> >>
> >> _______________________________________________
> >> use-livecode mailing list
> >> use-livecode at lists.runrev.com
> >> Please visit this url to subscribe, unsubscribe and manage your
> >> subscription preferences:
> >> http://lists.runrev.com/mailman/listinfo/use-livecode
> >>
> > _______________________________________________
> > use-livecode mailing list
> > use-livecode at lists.runrev.com
> > Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> > http://lists.runrev.com/mailman/listinfo/use-livecode
>
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>



More information about the use-livecode mailing list