Menu

Tree [c3a18c] master /
 History

HTTPS access


File Date Author Commit
 android 2016-02-24 damodar108 damodar108 [04deab] initial project version
 debian 2016-02-24 damodar108 damodar108 [04deab] initial project version
 desktop 2016-02-24 damodar108 damodar108 [04deab] initial project version
 etc 2016-02-24 damodar108 damodar108 [04deab] initial project version
 installer 2016-02-24 damodar108 damodar108 [04deab] initial project version
 kiwix 2016-02-24 damodar108 damodar108 [04deab] initial project version
 src 2016-02-24 damodar108 damodar108 [04deab] initial project version
 static 2016-02-24 damodar108 damodar108 [04deab] initial project version
 .gitignore 2016-02-24 damodar108 damodar108 [f1b7ff] updated readme file
 AUTHORS 2016-02-24 damodar108 damodar108 [04deab] initial project version
 CHANGELOG 2016-02-24 damodar108 damodar108 [04deab] initial project version
 COPYING 2016-02-24 damodar108 damodar108 [04deab] initial project version
 Makefile.am 2016-02-24 damodar108 damodar108 [04deab] initial project version
 README 2016-02-24 damodar108 damodar108 [f1b7ff] updated readme file
 autogen.sh 2016-02-24 damodar108 damodar108 [04deab] initial project version
 build-kiwix-release.sh 2016-02-24 damodar108 damodar108 [04deab] initial project version
 build-kiwix-sugar.sh 2016-02-24 damodar108 damodar108 [04deab] initial project version
 configure.ac 2016-02-24 damodar108 damodar108 [04deab] initial project version

Read Me

you can build kiwix general zim reader or a custom content app
which itself contains the zim file which it has to read specifically.
if u are building custom content app, in this case it is janapadam
which will read harerama63.zim file presented in /android/customapp/krishna/ .
for ur case create a folder in /android/customapp/ . let it be myzim. so u created 
a folder name /android/customapp/myzim/ . now copy ur zim file , and app icon to this folder.
and copy info.json file present in krishna folder to myzim folder. 
now edit that info.json . choose ur zim file name, and versons, language, etc in that info.json .
now copy info.json to /android/  .
then after go and run fallowing steps...
both for general app and custom content app

______________________________________________________________

== Android ==

ou can still build for Android only
from a Linux or Mac (it cross-compiles).

* ./autogen.sh

* ./configure --disable-staticbins --disable-manager --disable-server --disable-launcher --disable-indexer --disable-installer --disable-searcher --disable-reader --disable-components --enable-android --enable-compileall

* cd src/dependencies && make android-deps && cd -

#till here process is same for general kiwix or content specific. next step is for general kiwix. 
#and for custom content fallow next paragraph after doing till here.
* cd android && ./build-android-with-native.py (If you have problem with aapt on a 64bits Linux, you might have to install 32 libsm on Ubuntu: lib32gcc1, lib32stdc++6, lib32z1)



== Android Custom App ==

Android Custom App are single-content Kiwix-android clones. Those app
are tied to a single content and CAN NOT open other zim file. As well,
bundled zim files are not readable by the regular Kiwix app. Custom
App have specific branding.

Custom App are either compiled as embed (ZIM file is included in APK)
or are accompanied by a ZIM file.



Steps to build a Custom App:



* Generate your icon using `gen-std-icon.py logo-file.png lang_code`
* Prepare your JSON file using the sample in the script
* Choose your package name wisely.
** org.kiwix.kiwixcustomXXXXXX
** o not add levels. Do not use dash or underscores !
** Use version_code: 1 at first
* Build your APK with `gen-custom-android-build.py my-file.json`
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.