Overview

Sample project of SDKs from Onyx-Intl, including onyxsdk-base, onyxsdk-scribble, onyxsdk-pen

To use the SDK, please add the following statement to your build.gradle:

    compile ('com.onyx.android.sdk:onyxsdk-base:1.4.3')
	// a tiny scribble sdk, Recommend you to use
    compile('com.onyx.android.sdk:onyxsdk-pen:1.0.2')
	
    // compile ('com.onyx.android.sdk:onyxsdk-scribble:1.0.8')

For onyxsdk-scribble SDK, dbflow library is inside the jitpack, so you have to add the following statement to your project build.gradle:

    maven { url "https://jitpack.io" }

Demo

The project contains following examples that you should take care of:

1.Screen

2.SDCard

3.Pen

TouchHelper is the latest api that you can scribble with stylus. You should call it.For more detailed usage, check out it out onyxsdk-pen

4.Scribble

Following demos are example of onyxsdk-scribble.

There is TouchHelper in the onyxsdk-scribble. For more detailed usage, check out it out Scribble-TouchHelper

We have no restrictions on the view, you can set anything view.For example, SurfaceView , webview. We will return relative coordinates, According to the view you set.

If the device supports touch, you scribble with your fingers.