Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
scribble application for Onyx Boox M92
C++ Other
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
cmake_modules @ b5dc59e
.gitmodules
README.md
asyncwriter.cpp
asyncwriter.h
build_arm.sh drawing to eink display
build_x86.sh
filebrowser.cpp
filebrowser.h
fileio.cpp
fileio.h
filelocker.h
mainwidget.cpp
mainwidget.h
scribble.cpp
scribble.pro
scribble_document.cpp
scribble_document.h
scribblearea.cpp
scribblearea.h
test.xoj
tree_view.cpp
tree_view.h

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.