xhrong / android-quill

Automatically exported from code.google.com/p/android-quill
0 stars 0 forks source link

Pen button support #43

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
The first application as arrived which uses the button on
the pen for switching too eraser mode (LectureNotes).  Its
very convenient;).

Original issue reported on code.google.com by thomic...@gmail.com on 20 Mar 2012 at 11:31

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
For Samsung Galaxy Note 10.1, when holding the S Pen side button, a touch 
doesn't fire a touch event, but it only fire a hover event that can be detected 
as holding the side button down. Hover event is supported by Android 4 / API 
Level 14 only, but currently Quill support Android 3 / API Level 11.

For Samsung devices, a possible approach is to use Samsung's S Pen SDK that 
require installing native library and probably require using a Samsung specific 
SCanvasView. 

See the thread in Google Group: 
https://groups.google.com/d/msg/quill-devel/mqwCEgUXAJw/h-oo-A1sTJ8J

Original comment by mingfai...@gmail.com on 25 Aug 2012 at 9:19