Downloads

Moko Touch is distributed in the hope that it will be useful, but without any warranty; without even the implied warranty of merchantability or fitness for a particular purpose. You can redistribute it and/or modify it under the terms of the GNU General Public License v3.

Source Code

How to Compile Qt4 Embedded

Follow the OpenMoko Tolltchain guide (http://wiki.openmoko.org/wiki/Toolchain) to install arm gcc. Once that you've installed you'll have a folder in /usr/local/openmoko/arm/bin/ with arm compiler. Download Qt4 from QtSoftware Website (http://www.qtsoftware.com) and follow this steps.
# Setup OpenMoko ARM Toolchains Path.
PATH=$PATH:/usr/local/openmoko/arm/bin/

# Uncompress Qt4 Embedded
tar xzvf qt-embedded-linux-opensource-src-4.5.2.tar.gz 

# Configure Qt4 Embedded
./configure -embedded arm -v -qt-mouse-tslib \
-I /usr/local/openmoko/arm/arm-angstrom-linux-gnueabi/usr/include \
-L /usr/local/openmoko/arm/arm-angstrom-linux-gnueabi/usr/lib

# Make and Make Install Qt4 (/usr/local/Trolltech/QtEmbedded-4.5.2-arm/)
make && make install

Now you've to put, at least lib and plugins on your phone in /usr/local/Trolltech/QtEmbedded-4.5.2-arm/.

How to Compile Moko Touch

Moko Touch Sources provides various build-*.sh scripts that allows you to build, single apps/frameworks or using build-mokotouch.sh building complete release package. So, below you can see the steps to do to compile your Moko Touch.

# Download and Uncompress the Source Code
wget http://th30z.netsons.org/mokotouch/data/mokotouch-2-aug-2009.tar.bz2
tar xjvf mokotouch-2-aug-2009.tar.bz2

# Compile Moko Touch for OpenMoko
cd MokoTouch-Project
sh build-mokotouch.sh

# Put MokoTouch on your (OpenMoko) Phone
scp -r MOKOTOUCH-DIST/* root@192.168.0.202:/usr/local/MokoTouch/
scp qte.env root@192.168.0.202:/usr/local/MokoTouch/

How to Run Moko Touch!

Turn on your phone! and kill all the X11/Qtopia or else. You need just console.
# Example: Kill Qtopia
/etc/init.d/qpe stop

# Setup Moko Touch Env.
. /usr/local/MokoTouch/qte.env

# Run Moko Touch Core... and enjoy it!
# Double Tap on Homescreen icon to run the App. Aux button to go back to home.
/usr/local/MokoTouch/CoreServices/MokoTouch -qws -geometry 480x640+0+0

Need More Help?

Something is missing, are you in trouble with MokoTouch? Send me a mail theo.bertozzi(at)gmail.com.