Manager   •   almost 8 years ago

Questions from the webinar have been answered

Hello everyone,

The questions that were asked in the webinar have now been answered and added to the FAQ: http://galaxynotespenchallenge.com/details/faq

Best,
Marny

  • 2 comments

  •   •   almost 8 years ago

    Thanks Manny...2 quick follow ups (I missed the webinar):

    - what is the api call that detects if a device supports the S Pen?

    - what is the api call that will tell me if the S Pen button is being pressed?

    I'm guessing that I'm going to have to override the SDK to do interesting stuff: is there any documentation available or do we have to assume that the samples include all possible uses and we must therefore reverse engineer everything from them?

  •   •   almost 8 years ago

    Hello,

    You can use "isSupportedModel()" function in "com.samsung.sdraw.SDrawLibrary" class.
    this function returns "true" value on all Samsung Devices.

    Currently, S Pen SDK doesn't have apis for supporting it.
    it's not a issue of the API implementation.
    Now on the Galaxy Note device, the below 6 gestures are being used as reserved by system

    1. Double tap
    : "S memo" app's shortcut : Double tab the screen while pressing the pen side button.
    2. Tap and hold
    : Capture the screen : press the pen side button, and tap and hold on the screen.
    3. Sweep from right to left
    : "Back key" function : drag the pen from right to left while pressing the pen side button.
    4. Sweep from left to right
    : Not in use, only for later expansion
    5. Sweep from up to down
    : Not in use, only for later expansion
    6. Sweep from down to up
    : "Menu key" function : drag the pen from the bottom to top while pressing the pen side button.

    However, all the gestures taken while the side button( S Pen Button ) is being pressed,
    including the above 6 ones are not available with SDK or certain API.
    The reason is that it may harm the conduct concept of Galaxy Note
    (performs memo, screen carture, operating 'back/menu' buttons with pen at any time under any circumstance).
    This is what has been decided by the HQ as a policy.
    Please be understanding with the policy by HQ.

    however, you can check the status of the 'eraser' button.
    you can refer to attached document.

    @SamsungJohn

Comments are closed.