Skip to content
This repository

scribble application for Onyx Boox M92

branch: master

Merge pull request #18 from bartp5/master

fix missing screen updates in filebrowser
latest commit a224b088c9
peter-x authored September 10, 2012
Octocat-spinner-32 cmake_modules @ b5dc59e added submodule needed for compilation (see SDK documentation) January 13, 2012
Octocat-spinner-32 .gitmodules added submodule needed for compilation (see SDK documentation) January 13, 2012
Octocat-spinner-32 README.md debugging instructions February 15, 2012
Octocat-spinner-32 asyncwriter.cpp Asynchronous autosave. April 09, 2012
Octocat-spinner-32 asyncwriter.h Asynchronous autosave. April 09, 2012
Octocat-spinner-32 build_arm.sh drawing to eink display February 15, 2012
Octocat-spinner-32 build_x86.sh Bugfix. April 09, 2012
Octocat-spinner-32 filebrowser.cpp fix missing screen updates in filebrowser August 23, 2012
Octocat-spinner-32 filebrowser.h bugfixes (touch, keys, save) March 04, 2012
Octocat-spinner-32 fileio.cpp Asynchronous autosave. April 09, 2012
Octocat-spinner-32 fileio.h Asynchronous autosave. April 09, 2012
Octocat-spinner-32 filelocker.h Asynchronous autosave. April 09, 2012
Octocat-spinner-32 mainwidget.cpp Refactored and improved stylus handling. April 18, 2012
Octocat-spinner-32 mainwidget.h Refactored and improved stylus handling. April 18, 2012
Octocat-spinner-32 scribble.cpp license March 02, 2012
Octocat-spinner-32 scribble.pro Asynchronous autosave. April 09, 2012
Octocat-spinner-32 scribble_document.cpp Refactored and improved stylus handling. April 18, 2012
Octocat-spinner-32 scribble_document.h Refactored and improved stylus handling. April 18, 2012
Octocat-spinner-32 scribblearea.cpp Draw all colors as black. April 15, 2012
Octocat-spinner-32 scribblearea.h Refactored and improved stylus handling. April 18, 2012
Octocat-spinner-32 test.xoj Xournal file import February 05, 2012
Octocat-spinner-32 tree_view.cpp load file dialog March 04, 2012
Octocat-spinner-32 tree_view.h load file dialog March 04, 2012
README.md

Scribble

Application intended as an alternative to the default scribble application on the Onyx Boox M92.

Design Goals

The application should behave similar to a paper notebook.

  • notebook consists of pages named by creation date and time
  • pages can be turned easily
  • one can use pen (black, different sizes) and eraser
  • pen, eraser and thinkness can be changed easily

Implementation Ideas

  • at the top of the page is a toolbar containing buttons to
    • change pen thickness
    • switch pen and eraser
    • turn pages
  • file format used is Xournal

Compilation

Compiling for x86 in QtCreator:

Make sure that you installed the SDK to /opt/onyx, and compiled the SDK libraries from https://github.com/onyx-intl/booxsdk/ and installed them to /usr/local/lib. Because of some reasons, the x86 version also needs Qt DBUS, so you have to use qmake scribble.pro QT+=dbus and then make to compile. You can also use the script build_x86.sh.

Compiling for arm:

Make sure that you installed the SDK to /opt/onyx. Then simply use the script build_arm.sh.

Debugging on arm:

Optimally, gdbserver could be used (available in the toolchain), but I was not yet able to achieve a stable connection to the device. Another (less convenient) option is to use core dumps. Use this file to run scribble on the ebook reader:

#!/bin/sh
cd /media/flash
ulimit -c unlimited
./scribble

If the program crashes, a file named core is created. The cross gdb found in the toolchain can be used to analyze this file. Under QtCreator, use Settings->Toolchain to register the toolchain in /opt/freescale/... and then open the core file via Debug->Debug core file.

Something went wrong with that request. Please try again.