
- UTALK TIBETAN APK DOWNLOAD ANDROID
- UTALK TIBETAN APK DOWNLOAD CODE
UTALK TIBETAN APK DOWNLOAD ANDROID
_build/mobile This folder contains the Cordova project for generating the Android app.This library is used to generate the lookup table that is used for converting from Wylie to Unicode
_build/util/Lingua-BO-Wylie perl library for converting Tibetan text with Wylie transliteration into Unicode._assets: a few images that have been created for this project.Other than that the web application folder is self-contained and should run on any server that supports PHP5 or PHP6 togetherwith the SQLite module for PHP. In order to use the web application the sqlite dictionary db (file webapp/TibetanDictionary.db) must have been generated before by the script buildDictionaries.sh.
UTALK TIBETAN APK DOWNLOAD CODE
webapp/ This folder contains all code that is needed to run the dictionary as a web application. sqlite 3 (more specifically, the sqlite3 commandline program)įurthermore, the JAVA_HOME and ANDROID_HOME environment variables should be set. java and a current version of the Android SDK. Apache Cordova which itself again requires node JS and npm to be installed. bash, grep, sed, cat, paste, sort, uniq, etc. The respective tools must all be included in the PATH variable It could well be that the following list is incomplete (did I mention yet that the build process is a bit of a mess?) Build dependenciesĪpart from the things that are inside the project folder the following dependencies are required for the build process. For this it copies the application data and dictionary database from the webapp/ folder into the cordova project and then triggers the actual build process. The script buildAndroid.sh builds the Apache Cordova project and thereby generates the APK file for the android app. Building the Android application (APK file) For generating the Wylie lookup table the Lingua-BO-Wylie perl package is used which is available from. This is done in order to keep the application logic simple: The application does not have any logic to do actual Wylie-to-Unicode conversion - it simply uses a syllable-by-syllable lookup table. These Tibetan syllables are then used to generate a Wylie-to-Tibetan-Unicode lookup table for all syllables that are relevant for the included dictionaries. While building the dictionary database from the CSV files a list of Tibetan syllables is also extracted. It is permitted that a single CSV file contains more than one entry for the same term. These files are expected to have a term in Wylie-transliterated Tibetan in the first column and a dictionary entry for that term in the second column. The script buildDictionaries.sh generates the dictionary database file that is used both by the web applicatipon and the android app (i.e., the sqlite database file at webapp/TibetanDictionary.db).įor this process it uses CSV files as input that are located in the folder _input/dictionaries. These two scripts call other helper scripts along the way. The main build scripts are buildDictionaries.sh which generates the dictionary database file and buildAndroid.sh which expects the database file to be present already and generates an android APK file containing the Android app. The build process is somewhat messy and will only run in a Linux environment. You may also be interested in my homepage where you can find a running version of the web application. some of the javascript libraries) is licensed unter different licenses, e.g. Also note that that some of the contained code (e.g. Note that the dictionary data is not my own and thus THE COPYRIGHT OF THE DICTIONARY DATA IS WITH THE RESPECTIVE AUTHORS. This database is generated from vertical-bar separated CSV files during the build processĪny code that is my own is licensed under GPL v2 and GPL v3 (you can choose whichever you prefer). This plugin is derived from an existing Cordova database plugin but is slightly modified for this application in order to extract an existing database from the APK file onto the device upon first access and in order to allow read-only access to the database.īoth the web application and the android app use an SQLite database for data storage. In that case data retrieval is done through a Cordova plugin that is implemented in Java. as an android app that is packaged with Apache Cordova. as a web application with a simple PHP backend for data retrieval. This application is written mostly in Javascript.