Page 1 of 1

Share Button on Android and iOS

Posted: Mon Jun 04, 2018 8:58 am
by azoyan
Hello!
In my application I create wallpapers.

How to call native "share" button?

Image
Image

And expect behaviour like this:

Image

Image

Re: Share Button on Android and iOS

Posted: Tue Jun 05, 2018 8:53 pm
by azoyan
Really for so many years of existence of the love2d nobody wanted to do this?

Re: Share Button on Android and iOS

Posted: Tue Jun 05, 2018 9:00 pm
by Nixola
Please don't double post, especially when your post is still visible. No one that knows or wants to figure it out read the topic yet, but it doesn't mean they never will.

Re: Share Button on Android and iOS

Posted: Tue Jun 05, 2018 11:24 pm
by zorg
Also, it's probably SDL's "fault" anyway, maybe that is, or at least was, a nonstandard button; try detecting all keys/scancodes and if something gets triggered when pushing that thing, you're in luck since you can see what it was, if not, you're out of luck.

Re: Share Button on Android and iOS

Posted: Wed Jun 06, 2018 1:10 am
by bobbyjones
zorg wrote: Tue Jun 05, 2018 11:24 pm Also, it's probably SDL's "fault" anyway, maybe that is, or at least was, a nonstandard button; try detecting all keys/scancodes and if something gets triggered when pushing that thing, you're in luck since you can see what it was, if not, you're out of luck.
It's not a hardware button. It's something you add to an app that launches a share window. I forgot the exact word but I think it's called an intent.

Re: Share Button on Android and iOS

Posted: Wed Jun 06, 2018 9:40 am
by PGUp
From what I know löve doesn't support it currently.