SFML community forums
Bindings - other languages => Java => Topic started by: kryx 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
-
You read this where exactly? Just because the core C++ version of SFML is coming to mobile does not mean the bindings are.
-
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.
-
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.
-
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