SFML community forums

General => General discussions => Topic started by: mrzoom on January 25, 2024, 06:01:38 pm

Title: iOS and ANdroid support?
Post by: mrzoom on January 25, 2024, 06:01:38 pm
I am looking for information as to how iOS and Android support is coming along. What is the current status and can support be expected soon?

Thanks.
Title: Re: iOS and ANdroid support?
Post by: Erid on February 04, 2024, 02:14:42 pm
In Status:Yes You can, But since its will use OpenGL es, probably there some missing feature, There already discussion about this, so probably you need read other post before post this :P
Title: Re: iOS and ANdroid support?
Post by: eXpl0it3r on February 05, 2024, 09:41:24 am
There have been lots of improvements for both platforms, but as Erid said, we're still stuck on OpenGL ES 1 and thus you won't get shader support, the rest should be working pretty good.
Title: Re: iOS and ANdroid support?
Post by: texus on February 05, 2024, 06:20:15 pm
Maybe the home page could be updated to clarify that SFML already supports Android and iOS. The "and soon" part makes it sound like support for mobile is not yet available.

Quote from: homepage
With SFML, your application can compile and run out of the box on the most common operating systems: Windows, Linux, macOS and soon Android & iOS.
Title: Re: iOS and ANdroid support?
Post by: 8Observer8 on February 08, 2024, 02:08:04 pm
I created this issue a month ago but it was not fixed yet: The word "soon" must be deleted on the official web site (https://github.com/SFML/SFML-Website/issues/175)

I have made a step-by-step instruction for Android: How to build SFML3 with gradlew for Android on Window 10 with MinGW (https://en.sfml-dev.org/forums/index.php?topic=29363.0)

In my opinion, SFML is worse for Android than libGDX (Phaser+Cordova or PixiJS+Cordova) because there is no documentation about SFML for Android. There is no big tutorials about SFML + Android. We only have one example: https://github.com/SFML/SFML/blob/master/examples/android/app/src/main/jni/main.cpp


Title: Re: iOS and ANdroid support?
Post by: Hapax on February 08, 2024, 03:35:58 pm
It's good that you made instructions, 8Observer8, but please don't spam other threads (including 6 year-old ones!) about it.
i.e.
https://en.sfml-dev.org/forums/index.php?topic=21547.msg181229#msg181229
https://en.sfml-dev.org/forums/index.php?topic=29280.msg181228#msg181228
https://en.sfml-dev.org/forums/index.php?topic=23580.msg181227#msg181227
Title: Re: iOS and ANdroid support?
Post by: 8Observer8 on February 09, 2024, 02:22:09 pm
I don't agree that this was a bad idea because the old threads at the top of Google search and my tutorial may help other people searching for "sfml android". It was hard to find a good detailed step by step guide to SFML + Android. This issue has been solved. But I won't post a link to my tutorial in other old threads because that was enough. I added a link to my tutorial in the signature. The signature is hidden spam.