Ugrás a fő tartalomra

Bejegyzések

Bejegyzések megjelenítése ebből a hónapból: július, 2015

The Earth, on Android

In the previous month I worked on compiling Marble widget to Android. It was a long and hard road but it is here:


(I shot this screenshot on my phone)
The globe can be rotated, and the user can zoom with the usual zooming gesture. Here is a short video example: https://www.youtube.com/watch?v=h0i75ryWdgY

The hardest part was to figure out, how to compile everything with cmake instead of qmake and Qt Creator. There are some very basic things what can sabotage your successfully packaged and deployed app. For example if you did not set a version number in cmake for your library...
As you maybe know Marble also uses some elements of QtWebKit, but this is not supported on Android. So I introduced some dummy classes to substitute these (of course, not in their useability) to be able to compile Marble for Android.
You can find here step-by-step instructions, how to compile Marble Maps for Android: https://techbase.kde.org/Projects/Marble/AndroidCompiling
The next steps: We have decided to sepa…