Welcome, Guest. Please login or register. Did you miss your activation email?

Author Topic: How is Andorid and iOS support coming?  (Read 7151 times)

0 Members and 1 Guest are viewing this topic.

GameCodingNinja

  • Newbie
  • *
  • Posts: 2
    • View Profile
    • Email
How is Andorid and iOS support coming?
« on: January 14, 2018, 04:18:21 pm »
My game engine (C++) currently uses SDL2 but I'm frustrated with the lack of proper Android support. Ever since google stripped out Ant support a few years ago, there's no way to build an Android project unless you have an old setup that still has Ant support. The only solutions that show up via google are old implementations that rely on the old experimental gradle. With the most current Android Studio, NDK development can be handled via CMake. Unfortunately I'm not an Android or aSDL2 expert so my attempts at setting this up is not working. The SDL2 forums don't provide any real help.

I'm extremely frustrated and looking for a new option. My understanding is that your Android and iOS implementation is experimental. How experimental are we talking?

eXpl0it3r

  • SFML Team
  • Hero Member
  • *****
  • Posts: 11034
    • View Profile
    • development blog
    • Email
Re: How is Andorid and iOS support coming?
« Reply #1 on: January 15, 2018, 09:15:14 am »
SFML has been used in multiple apps on Android and I believe there were some in development for iOS.

The API is pretty stable and it's certainly working to some degree. The problem we have, is that we don't have enough testers who then also report back issues and also who help solve them. Since the Android universe is so vast, it's impossible to test everything and sometimes error only occur on a specific device, so we do really rely on people helping out finding a fix.

Additionally we're still looking for an active maintainer for iOS.
Official FAQ: https://www.sfml-dev.org/faq.php
Official Discord Server: https://discord.gg/nr4X7Fh
——————————————————————
Dev Blog: https://duerrenberger.dev/blog/

GameCodingNinja

  • Newbie
  • *
  • Posts: 2
    • View Profile
    • Email
Re: How is Andorid and iOS support coming?
« Reply #2 on: January 20, 2018, 01:49:39 pm »
Thanks for your response.  :)

Alia5

  • Newbie
  • *
  • Posts: 34
    • View Profile
Re: How is Andorid and iOS support coming?
« Reply #3 on: February 27, 2018, 10:05:10 am »
Android works just fine.
Even with android studio.
With some of the latest commits in SFMLs master branch you don't even need an older version of the NDK to build SFML for Android.

https://github.com/Alia5/SFML_AndroidStudio

The example here isn't complete, but I think one can fill the gaps...


The only downside is that on OpenGLES SFML currently cannot create a non-legacy context, and therefore has no shader support

aggsol

  • Newbie
  • *
  • Posts: 24
  • C++
    • View Profile
    • My Github Account
Re: How is Andorid and iOS support coming?
« Reply #4 on: March 21, 2018, 08:54:12 am »
@Alia5 Do you know if something is broken? I am still on 2.3 and I am unsure if going to master or waiting for 2.5 is the better idea. Android is more a nice to have for me atm.

Alia5

  • Newbie
  • *
  • Posts: 34
    • View Profile
Re: How is Andorid and iOS support coming?
« Reply #5 on: March 29, 2018, 02:56:44 am »
2.4.2 works fine... 2.3 should as well. You have to build sfml with an old ndk though, in android studio you can use the latest and greatest
With master (or soon 2.5) you can go all the way with the latest ndk

Just be sure to fix paths in the build files (android studios) if neccesary.

If you have the choice, I'd go with master.