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

Author Topic: Android and iOS ports available for testing  (Read 339836 times)

0 Members and 5 Guests are viewing this topic.

Mario

  • SFML Team
  • Hero Member
  • *****
  • Posts: 879
    • View Profile
Re: Android and iOS ports available for testing
« Reply #390 on: October 13, 2015, 11:02:17 am »
It should auto-hide on its own, if you request a window with sf::Style::Fullscreen, which should activate immersive mode, if available (Android 4.x and higher).

Kori

  • Newbie
  • *
  • Posts: 21
    • View Profile
Re: Android and iOS ports available for testing
« Reply #391 on: October 13, 2015, 11:37:02 am »
I'm testing it on android 4.4.2. On newer (5.x) or older (2.3.3) with physical button it's working.
Adding sf::Style::Fullscreen doing nothing.

bjadams

  • Newbie
  • *
  • Posts: 12
    • View Profile
    • Email
Re: Android and iOS ports available for testing
« Reply #392 on: October 14, 2015, 11:52:49 am »
I read that SFML works on Android & Ios from v2.2

This is the only thread I could find on the subject.

Is android & ios support support still in the early experimental stages, or everything works?

Why are there no ready-made compiled libs to download like for Windows?

Thanks

Nexus

  • SFML Team
  • Hero Member
  • *****
  • Posts: 6287
  • Thor Developer
    • View Profile
    • Bromeon
Re: Android and iOS ports available for testing
« Reply #393 on: October 14, 2015, 12:19:21 pm »
Yes, support for mobile platforms is still experimental.
Zloxx II: action platformer
Thor Library: particle systems, animations, dot products, ...
SFML Game Development:

bjadams

  • Newbie
  • *
  • Posts: 12
    • View Profile
    • Email
Re: Android and iOS ports available for testing
« Reply #394 on: October 14, 2015, 12:21:39 pm »
thanks for the info.

is there any resources or information yet for this experimental support, especially for ios?

Nexus

  • SFML Team
  • Hero Member
  • *****
  • Posts: 6287
  • Thor Developer
    • View Profile
    • Bromeon
Re: Android and iOS ports available for testing
« Reply #395 on: October 14, 2015, 12:29:53 pm »
iOSAndroid
You'll certainly find more if you search in the forum. It would be great if you helped merge the spread information, maybe in a Wiki article.
Zloxx II: action platformer
Thor Library: particle systems, animations, dot products, ...
SFML Game Development:

xGEKKOx

  • Newbie
  • *
  • Posts: 1
  • 2D is my life!
    • View Profile
    • GekkoTech
Re: Android and iOS ports available for testing
« Reply #396 on: October 14, 2015, 03:09:43 pm »
Hi all,

first of all i want to say sorry for my bad english, i'm italian and i always try to do my best...

i'm Gekko and i just registered on SFML forum after my friend BJAdams suggested to me.
Like BJ i come from another engine that i used to publish all my apps (120 at the moment, all on Apple devices).

Many of them are top sellers and i will always be thankful to them as that engine changed my life.
But now the things are changing, i reached a bigger level and i need a better 2D engine that follow what a "successful" developer need.

I don't want to talk of that engine, but i'm here to give my knowledge on iOS/MAC/tvOS/Watch for free.
I understand you don't know me, but give me a possibility.

I have all the devices from Apple, including the tvOS Developer Kit, as they always take me in consideration for the earning i carry them.

My kind of coding is C++ mixed with OBJC and my friend BJ said that SFML is C++ but need some support on Apple side.

Now i will give a look to the SFML test for iOS to get an idea and wait for some reply here.

I will try to have a working test and i will post something when done, while wait for an Admin reply :D

I hope i will be usefull to the community...
So... here i am :D

Hiura

  • SFML Team
  • Hero Member
  • *****
  • Posts: 4321
    • View Profile
    • Email
Re: Android and iOS ports available for testing
« Reply #397 on: October 15, 2015, 10:35:03 am »
BJ said that SFML is C++ but need some support on Apple side.

Yep, that's true. Mainly for testing on OS X (bug report and so on). The iOS port was not, as far as I know, used a lot so if you have feedback on that one it's highly welcome.

You can find out how we work here and how to contribute;)
SFML / OS X developer

Mario

  • SFML Team
  • Hero Member
  • *****
  • Posts: 879
    • View Profile
Re: Android and iOS ports available for testing
« Reply #398 on: October 17, 2015, 07:40:49 pm »
The exposed Native Activity handle is now available on GitHub in branch feature/android-handles. Keep in mind that this is still unfinished, so might be buggy, and the interface is subject to change. The Android example is updated and triggers vibration, but that code isn't finished yet. Let me know in case there are any issues.

Tank

  • SFML Team
  • Hero Member
  • *****
  • Posts: 1486
    • View Profile
    • Blog
    • Email
Re: Android and iOS ports available for testing
« Reply #399 on: October 19, 2015, 10:00:34 am »
xGEKKOx: Your help is greatly appreciated. :)

BlueCobold

  • Full Member
  • ***
  • Posts: 105
    • View Profile
Re: Android and iOS ports available for testing
« Reply #400 on: October 19, 2015, 02:08:16 pm »
My kind of coding is C++ mixed with OBJC and my friend BJ said that SFML is C++ but need some support on Apple side.
SFML works for iOS fluidly, there's no need for any apple support and you can mix your SFML with Obj-C without a problem.

bjadams

  • Newbie
  • *
  • Posts: 12
    • View Profile
    • Email
Re: Android and iOS ports available for testing
« Reply #401 on: October 20, 2015, 08:54:03 am »
@BlueCobold what is the "true" status of SFML on iOS right now?

Does most of the SFML commandset work or are there problems?

Does it work on iOS9?

I would really love to get onboard SFML as I like how it works, but I need stable iOS functionality

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32498
    • View Profile
    • SFML's website
    • Email
Re: Android and iOS ports available for testing
« Reply #402 on: October 20, 2015, 08:56:54 am »
The iOS port is fully functional, everything is implemented. But it lacks testing and feedback, so you can expect more or less serious bugs. I have no idea if it works with iOS9, you should just try and tell us ;)
Laurent Gomila - SFML developer

bjadams

  • Newbie
  • *
  • Posts: 12
    • View Profile
    • Email
Re: Android and iOS ports available for testing
« Reply #403 on: October 20, 2015, 08:58:40 am »
so no one has been using iOS SFML since it was first made available?

its a real pity since iOS is one of the major platforms.

How about the Android port? Has it been tested and is in a stable status?

BlueCobold

  • Full Member
  • ***
  • Posts: 105
    • View Profile
Re: Android and iOS ports available for testing
« Reply #404 on: October 20, 2015, 09:00:19 am »
I am using SFML on iOS for Rickety Racquet and can't complain so far. I currently do not have any issues, no matter if using iOS 7, 8 or 9. I'm still thinking to make a PR to be able to handle applicationWillResignActive and applicationDidEnterBackground on the user-side of the application, as it often requires the app to persist some kind of state.


Android looks pretty stable too, currently preparing to build/port it to Android.
« Last Edit: October 20, 2015, 09:06:07 am by BlueCobold »