Topic: Android version?
mmm Topic Opener |
Posted at:
2011-12-31, 20:39 UTC+1.0
Can a android version be created? ![]() ![]() |
Tino |
Posted at:
2012-01-01, 13:55 UTC+1.0
Short: Yes, it would be possible. But it would need a complete reimplementation (on Java). Long: Widelands is Opensource and anyone can take the sources (code and media) to create a fork. But is implemented in C(++) and depends on many external libraries. For Android you have to reimplement the whole gamelogic in Java and perhaps have to use the NDK to make use of graphic acceleration. With much work this would give you an non-playable version of Widelands on Android. In my opinion you would have to overhaul the complete GUI to make it playable on small touchscreen devices. I think someone did something similar and did an Widelands version for Symbian (Nokia N800), but this was much easer because you don't have to switch programming languages... ![]() ![]() |
ixprefect |
Posted at:
2012-01-03, 00:14 UTC+1.0
I have not done any Android development, but a quick Google search turns up the Android NDK, which supposedly allows building applications that contain native code. So at least in principle, it should be possible to create a port in C++, perhaps with some shims in Java for the outer shell. I agree that the UI would have to be seriously rethought for the kind of devices that Android runs on, and I would emphatically not even attempt to port it to phones. Their screens are just too damned small. Tablets, on the other hand, seem like a reasonably thing to attempt to target. It's still going to require a huge amount of work. ![]() ![]() |
Dimmy |
Posted at:
2012-01-13, 13:25 UTC+1.0
Can i create Android version, based on your code? Whom i need contact for game rights, pictures and your sources? ![]() ![]() |
ixprefect |
Posted at:
2012-01-13, 15:56 UTC+1.0
Hello Dimmy, thanks for asking. There is nobody to contact for the rights, because the licenses speak a pretty clear language: You may create an Android version, but you have to play by the rules set out by the GPL. In particular, you will have to publish the source code of any of your changes. I would appreciate your effort, and I would suggest you work with us in the main repository: it will be easier to maintain if the code bases are not separated, since bug fixes and UI improvements could be shared between the different versions. We would think of Android as just yet another platform, next to Linux, Mac OSX, and Windows. ![]() ![]() |
mmm Topic Opener |
Posted at:
2012-01-14, 01:28 UTC+1.0
I think the GUI could be a problem - how to click on exactly a flag, how to rightclick... ![]() ![]() |
Dimmy |
Posted at:
2012-01-14, 11:15 UTC+1.0
GUI is precisious to the finger with some predictions of coordinates, right click = long press. ![]() ![]() |
aber |
Posted at:
2012-01-14, 11:29 UTC+1.0
There was a patch to make the RMB optional for playing widelands...
![]() ![]() |