Android Open Source - Development sdk Android-Lib-Pen






Project Summary

A Samsung S-Pen library for Android that handles most of the common use cases with a single class only and offer reduced complexity compared with Samsung SDK Pen package.

Web Site / Source Repository

Android-Lib-Pen is hosted in the following web site
https://github.com/ayltai/Android-Lib-Pen

If you think the Android project Android-Lib-Pen listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.

Project Detail

The following table is the detailed list of Android-Lib-Pen.

ItemValue
Java File Count12
Supported screen sizes[mdpi, xxhdpi, hdpi, xhdpi]
Minimum SDK Version14
Activity Count2
jar files usedandroid-support-v4.jar
pen-v1.0.4.jar
sdk-v1.0.0.jar
Required Permissionsandroid.permission.WRITE_EXTERNAL_STORAGE




License

The license information of Android-Lib-Pen is as follows:

Apache License

Resource Files

There are 19 image files in Android-Lib-Pen. The names of the image files are listed as follows.

drag_handle.png
tool_ic_eraser.png
tool_ic_eraser_dim.png
tool_ic_eraser_press.png
tool_ic_pen.png
tool_ic_pen_dim.png
tool_ic_pen_press.png
tool_ic_redo.png
tool_ic_redo_dim.png
tool_ic_redo_press.png
tool_ic_undo.png
tool_ic_undo_dim.png
tool_ic_undo_press.png
tool_ic_zoom_in.png
tool_ic_zoom_in_dim.png
tool_ic_zoom_in_press.png
tool_ic_zoom_out.png
tool_ic_zoom_out_dim.png
tool_ic_zoom_out_press.png

The following screenshort is generated from the image listed above.

null




Java Source Files

android.lib.pen.PenButton.java
android.lib.pen.PenService.java
android.lib.pen.demo.Constants.java
android.lib.pen.demo.DragDropUtils.java
android.lib.pen.demo.DrawingActivity.java
android.lib.pen.demo.DrawingService.java
android.lib.pen.demo.GalleryAdapter.java
android.lib.pen.demo.IOUtils.java
android.lib.pen.demo.MainActivity.java
android.lib.pen.demo.MultiDragListener.java
android.lib.pen.demo.OnPageUpdatedListener.java
android.lib.pen.demo.OnReplayCompletedListener.java