[APP]CM/AOKP/AOSP S Pen detection

Search This thread

Dwnhiller

Senior Member
Nov 7, 2010
177
54
buckley
Samsung Galaxy Note 10+
Scroll down and enable the detection.

Won't scroll or do anything?
uploadfromtaptalk1385615652133.png
Sent from my SCH-I605 using XDA Premium HD app
 

spez.uk

Member
Aug 3, 2010
22
1
Hi there, great app and works well with omni 4.4.2 but I noticed with the new simplified app its hammering my battery (17%) whilst the phone is pretty much idle.
Any way of disabling the off screen monitoring?
(I never had this enabled in the previous version)

This is of course me assuming what is causing the battery use.

But works great with notes buddy pro and tasker.

Sent from my Transformer TF101 using XDA Premium 4 mobile app
 
Last edited:

tushar9989

Senior Member
Apr 22, 2011
266
316
Mumbai
Hi there, great app and works well with omni 4.4.2 but I noticed with the new simplified app its hammering my battery (17%) whilst the phone is pretty much idle.
Any way of disabling the off screen monitoring?
(I never had this enabled in the previous version)

This is of course me assuming what is causing the battery use.

But works great with notes buddy pro and tasker.

Sent from my Transformer TF101 using XDA Premium 4 mobile app

Do you use the S Pen a lot? Is it out for a long time?
 

spez.uk

Member
Aug 3, 2010
22
1
Do you use the S Pen a lot? Is it out for a long time?

That might have been it, the pen was ejected for a little while.
My overnight left unplugged from charger test showed nothing was used by the tool.

So please ignore my previous question.

And big thanks for getting back.


Now just to wonder what the glitch in the below pic with OMNIRom.

Sent from my GT-N7100 running OMNI
 

Attachments

  • 1386918664044.jpg
    1386918664044.jpg
    53 KB · Views: 320

rny629

New member
Feb 10, 2011
2
0
I'm running 4.4.1 and have the current note buddy app and pro key.clicking on the detach or attach sound button opens file browser at the root location. I've tried relocation of a sound file there and the app doesn't register its even there. everything else seems to work good though. and input would be greatly appreciated. Sprint Note II L-900 CM 4.4.1 Stock ROM. note buddy 2.5.5 Pro
 

tushar9989

Senior Member
Apr 22, 2011
266
316
Mumbai
I'm running 4.4.1 and have the current note buddy app and pro key.clicking on the detach or attach sound button opens file browser at the root location. I've tried relocation of a sound file there and the app doesn't register its even there. everything else seems to work good though. and input would be greatly appreciated. Sprint Note II L-900 CM 4.4.1 Stock ROM. note buddy 2.5.5 Pro

That is a bug with CM 11 and my application I am looking into it.
 

Salam Husin

Senior Member
Dec 29, 2013
56
8
Is it truly workable?

Hi there, great app and works well with omni 4.4.2 but I noticed with the new simplified app its hammering my battery (17%) whilst the phone is pretty much idle.
Any way of disabling the off screen monitoring?
(I never had this enabled in the previous version)

This is of course me assuming what is causing the battery use.

But works great with notes buddy pro and tasker.

Sent from my Transformer TF101 using XDA Premium 4 mobile app

Already rooted my Note 2 N7100 with Omni Kit Kat 4.4.2. So can i flash the S Pen apps as to enable the said function?
 

Top Liked Posts

  • There are no posts matching your filters.
  • 21
    https://play.google.com/store/apps/details?id=com.tushar.cmspen2
    This is an application which allows detection of the S Pen detachment even on AOSP/AOKP/CM based ROMs.
    It has only been tested on the Note 2 by me. If it works on your note device please let me know so that I can add it to the list of compatible note devices.

    Explanation of how it works:

    The android system automatically adds event files for each input device it detects when being installed. These event files are located in /dev/input/eventX where X denotes a particular device. These event files can be read using native C code for which I use an API provided by Radu Motisan which can be found here and also a bit more information about the event files can be found there. So now using this interface I find the event file for the S Pen and then continously read it to see if the value of the S Pen sensor has been changed. Whenever it changes I broadcast the corresponding Intent which was broadcasted by Samsung so that any applications which work based on that Intent can work even on these ROMs without having to change any of their code.

    An interesting thing is that this feature is already present in CyanogenMod i.e S-Pen Power saving mode which disables the s pen touch decoder when the s pen is inserted. I fail to understand why they are not doing the same thing that I am doing through my application and save all of us the trouble.
    3
    I'm at 70% of development an S-Pen App for our Galaxy Note devices.

    Please refers to this XDA thread if you are interested: http://xdaforums.com/android/software/app-app-samsung-devices-provided-stylus-t3000448
    2
    Phone vibrates when i inserted/detached s-pen, so it works? I have note2 lte (n7105) with latest rootbox nightly.

    Sent from my GT-N7105 using Tapatalk 4 Beta

    If it's vibrating means it's working :)

    It works well, also Using jellybeer rom. Very good, one thing, how to auto launch a note app? There is the option to launch something, but can't choose what to launch, unless I'm blind.(which could easily be the case)

    I had made spen-helper keeping Samsung based ROMs in mind so it selects s note by default but since it's not there on cm10 so it's blank just click below the enable launch toggle will pop up a dialog to change it. I'll fix it in the next version. Also I suggest not to keep the event monitor running in the background as it drains the battery a lot. I'm looking for a method to fix the battery drain currently.
    2
    That is good to know.

    I have no idea about the most popular applications but this is a good guide to get most of the S Pen functionality back http://xdaforums.com/showthread.php?t=2611415 . You could attach the screenshot shortcut to the S Pen button long press if you have bought it on the add-on.

    You should not need any justification to buy something. If the features offered by the Pro version are needed by you then buy it.
    2
    Please email me we can try looking for a solution. tushar 9989 at gmail[/email]

    Does this occur only on these ROMs or on all the ROMs. Also do you have any task killer/memory master etc installed which is probably killing the service.

    This is working on my personal build of SlimKat v2.2beta on the i605; I think I had to open the app and enable it, and maybe reboot a time or two, but the vibration when removing the pen assured me it was working.

    I tried getting one spen launcher app to work with it, and it would not work, but it works great with Note Buddy once I figured out how to use it.

    (It would be nice if the "enable" option for Note Buddy's auto-launch actualy said "enable auto-launch", as I missed the very small type heading above it; It would also be nice if the auto-launch window would open above the any currently opened app, and not go to the homescreen before opening)
    ;)

    In case any one is interested, here is my current list of favorite s-pen apps for non-touchwiz users:

    GfxTablet (..for linux users; also try KDE Connect)
    MyScript Calculator & MyScript Stylus Keyboard
    Note Buddy / S-Pen Helper (+ Pro Key)
    Write