forked from qgis/QGIS-Android
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathREADME
More file actions
61 lines (54 loc) · 2.94 KB
/
Copy pathREADME
File metadata and controls
61 lines (54 loc) · 2.94 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
Further infos at http://android.qgis.org
In case of problem it is usefull to have a look at the adb logcat, to get it instal the android SDK on your pc (http://developer.android.com/guide/developing/tools/logcat.html)
an easier alternative might be free application aLogCat on the android market (https://market.android.com/details?id=org.jtb.alogcat).
QGIS android APK package:
- Install and run the QGIS installer
- The whole installation process takes around 10min, you will be downloading around 70Mb of qgis + 25Mb of Qt libraries, so maybe doing it on a wifi is better.
- you might be prompted to install Ministro II by BogDan Vatra via the market, this is the Qt libraries manager.
- Once ministro is installed hit the back button twice to go back to qgis or start QGIS again and you will be asked if you want to install the Qt libraries. Say yes.
- Once ministro is done, QGIS should start.
QGIS android dev setup:
- Install Necessitas (http://files.kde.org/necessitas/installer/release/linux-online-necessitas-alpha4-sdk-installer)and choose at least:
- NDK r8b (DEFAULT)
- Qt 4.8-armeabi (DEFAULT)
- get QGIS master from https://github.com/mbernasocchi/Quantum-GIS #or is you only want upstream code git://github.com/qgis/Quantum-GIS.git either by cloning or forking and cloning)
- Android api 15
- git checkout android
- Fork git://github.com/qgis/qgis-android.git and clone your fork
- copy and configure qgis-android/scripts/config.templ to qgis-android/scripts/config.conf
- run scripts/build-all.sh
OR
- run scripts/setup-env.sh
- run scripts/build-libs.sh
- run scripts/build-qgis.sh --configure
- run scripts/update-apk-env.sh
- run scripts/build-apk.sh
- setup the device or emulator (see http://developer.android.com/guide/developing/index.html)
- run scripts/run-apk.sh
example copy paste code:
GITHUBUSERNAME="myNAME"
GITHUBPASSWORD="myPASS"
cd dev
#get necessitas
wget http://files.kde.org/necessitas/installer/release/linux-online-necessitas-alpha4-sdk-installer
./chmod +x linux-online-necessitas-alpha4-sdk-installer
./linux-online-necessitas-alpha4-sdk-installer
# see below for adding a remote instead of cloning
#fork Quantum-GIS
curl -u "$GITHUBUSERNAME:$GITHUBPASSWORD" -i -d '' https://api.github.com/repos/mbernasocchi/Quantum-GIS/fork
git clone git@github.com:$GITHUBUSERNAME/Quantum-GIS.git
cd Quantum-GIS
git checkout android
cd ..
#fork qqis-android
curl -u "$GITHUBUSERNAME:$GITHUBPASSWORD" -i -d '' https://api.github.com/repos/qgis/qgis-android/fork
git clone git@github.com:$GITHUBUSERNAME/qgis-android.git
cp qgis-android/scripts/config.templ qgis-android/scripts/config.conf
nano qgis-android/scripts/config.conf #configure to your wishes
./qgis-android/scripts/build-all.sh
./qgis-android/scripts/run-apk.sh
adding a remote
git remote add qgis git://github.com/qgis/Quantum-GIS.git
git checkout -b android
git pull mbernasochi android
Enjoy touching QGIS :), marco@bernawebdesign.ch