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

Author Topic: Android  (Read 2201 times)

0 Members and 1 Guest are viewing this topic.

kryx

  • Jr. Member
  • **
  • Posts: 67
    • View Profile
Android
« on: June 16, 2014, 10:41:22 pm »
Hi,

Shall JSFML be available for IOS and Android soon? I've read that should be come^^

Thanks

zsbzsb

  • Hero Member
  • *****
  • Posts: 1409
  • Active Maintainer of CSFML/SFML.NET
    • View Profile
    • My little corner...
    • Email
Re: Android
« Reply #1 on: June 17, 2014, 03:41:58 am »
You read this where exactly? Just because the core C++ version of SFML is coming to mobile does not mean the bindings are.
Motion / MotionNET - Complete video / audio playback for SFML / SFML.NET

NetEXT - An SFML.NET Extension Library based on Thor

pdinklag

  • Sr. Member
  • ****
  • Posts: 330
  • JSFML Developer
    • View Profile
    • JSFML Website
Re: Android
« Reply #2 on: June 26, 2014, 11:13:43 am »
Isn't SFML's Android binding implemented in Java anyway? Or doesn't it at least provide a Java API? (if not, it really should)

In any event, JSFML is not related to the Android binding. I trust that whenever it is officially released, Laurent will create a separate forum for it.
JSFML - The Java binding to SFML.

eXpl0it3r

  • SFML Team
  • Hero Member
  • *****
  • Posts: 9239
    • View Profile
    • development blog
    • Email
Re: Android
« Reply #3 on: June 26, 2014, 11:24:06 am »
Isn't SFML's Android binding implemented in Java anyway? Or doesn't it at least provide a Java API? (if not, it really should)
No, we're using the NDK, so there's not Java directly involved.
Java API for C++, how would that work?

In any event, JSFML is not related to the Android binding. I trust that whenever it is officially released, Laurent will create a separate forum for it.
Android support is not just a binding, but it's built into SFML. You use the NDK and set the right CMake flag and you end up with Android libs.
Official FAQ: https://www.sfml-dev.org/faq.php
Nightly Builds: https://www.nightlybuilds.ch/
——————————————————————
Dev Blog: https://dev.my-gate.net/
Thor: http://www.bromeon.ch/libraries/thor/

pdinklag

  • Sr. Member
  • ****
  • Posts: 330
  • JSFML Developer
    • View Profile
    • JSFML Website
Re: Android
« Reply #4 on: June 27, 2014, 09:33:14 pm »
No, we're using the NDK, so there's not Java directly involved.
Java API for C++, how would that work?
Well, that's exactly what JSFML is. Except for a few types mapped to Java, all the functionality happens in plain old SFML. The delegation is implemented natively, ie in C++.

Android support is not just a binding, but it's built into SFML. You use the NDK and set the right CMake flag and you end up with Android libs.
Hm, that means that JSFML should work fine on Android if the delegation was compiled for Android as well and included in the package. Other than that, no changes should be required.

However, Android development is uncharted area for me and I am one of the few people left that despise mobiles... :D
JSFML - The Java binding to SFML.

 

anything