Latest Posts

Topic: Widelands running on an Android smartphone :-)

mifritscher
Avatar
Topic Opener
Joined: 2013-10-20, 15:06
Posts: 2
Ranking
Just found this site
Posted at: 2013-10-20, 15:12

Hi,

ubuntu's 12.04 widelands build 16 is running just fine on my android smartphone using a chroot environment & vnc :-) I remember that in build 17 or 18 the graphics were overholed, does it need openGL now? That would be sad, because in this environment I haven't OpenGL. Edit: it is openGL by default on b17, but sdl is still available. Great :-) But so, I an play widelands even if I'm traveling or so face-smile.png

Best regards, mifritscher

Edited: 2013-10-20, 15:14

Top Quote
SirVer

Joined: 2009-02-19, 14:18
Posts: 1445
Ranking
One Elder of Players
Location: Germany - Munich
Posted at: 2013-10-20, 16:57

Could you elaborate? Did you need to compile Widelands on/for Android? What is vnc? Is Widelands really running on your smartphone or are you playing it remotely?

For b19, I want to try to make a native version of Widelands targetting mainly tablets and also getting it into google play.


Top Quote
mifritscher
Avatar
Topic Opener
Joined: 2013-10-20, 15:06
Posts: 2
Ranking
Just found this site
Posted at: 2013-10-20, 17:04

It is running 100% on the smartphone. I've installed an Ubuntu on a chroot- so it has its own userland, but shares the kernel etc. with android. For this I used the mentioned tool. This brings a vnc-server with it, so GUI-application can be used as well. In this Ubuntu I installed the widelands-version with comes with Ubuntu. On Android's side a vnc-server is needed to get the graphics face-wink.png

VNC is a protocoll which can transfer GUI from one computer to another. I use it strictly locally in this case, but I need to use it because for the chroot'ed ubuntu there is no way to paint directly to the display.


Top Quote
SirVer

Joined: 2009-02-19, 14:18
Posts: 1445
Ranking
One Elder of Players
Location: Germany - Munich
Posted at: 2013-10-20, 18:02

Aah, now I get it. Nice little hack! As mentioned, maybe a native android app is not too far off.


Top Quote