Code Monkey home page Code Monkey logo

scribble's Introduction

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.