![]() |
#1 |
20% cooler.
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 93
Karma: 364674
Join Date: Oct 2012
Location: Poznań, Poland
Device: Kindle Paperwhite 1
|
Drawing app on Paperwhite and Kindle Touch
When playing with my Paperwhite's console, I noticed a tiny app called xtestlab126. It looks like a small test app for touchscreen, but it works well as simple drawing application.
It has one major issue - the only way to exit it is via console. I liked an idea of having simple drawing app available at no cost, for instance for quick tick-tac-toe sessions or something like that, so I wrote small shell script which fixes the issue mentioned above by closing app on pressing power button or closing magnetic case cover. Code:
#!/bin/sh /usr/bin/xtestlab126 & ( dbus-monitor "interface='com.lab126.powerd',member='goingToScreenSaver'" --system; killall xtestlab126 ) & sleep 1 killall -INT dbus-monitor ![]() PS. Tap with two fingers to clear screen ![]() |
![]() |
![]() |
![]() |
#2 |
Evangelist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 457
Karma: 1287375
Join Date: Jan 2013
Location: West Gardiner, Maine
Device: Touch (5.3.7)
|
This also works on my Touch. I made a simple extension for this called 'draw' and added it to Kual. Drop into extensions folder. Kill it by hitting the power button for the screensaver, then again. Not elegant, no width of line or fancy stuff, just draw with you finger. Works for me!
[Flawed attachment deleted. See fixed version here.] Last edited by pdurrant; 03-05-2013 at 03:01 AM. |
![]() |
![]() |
Advert | |
|
![]() |
#3 |
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Tır
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,586
Karma: 6299993
Join Date: Jun 2012
Location: uti gratia usura (Yao ying da ying; Mo ying da yieng)
Device: PW-WIFI|K5-3G+WIFI| K4|K3-3G|DXG|K2| Rooted Nook Touch
|
nice one...
Ill have a play mate : ) and index it if you like tomorrow some time. EDIT: Okay I had a play... First thing I would change: run lipc-set-prop com.lab126.powerd preventScreenSaver 0 before the apps starts.. Or even better check the state is NOT 1 via lipc-get-prop com.lab126.powerd preventScreenSaver and if it is Toggle it to 0 and then back to the original state on program exit ... Since the PREVENT SCREENSAVERS button will leave people locked in the app... (what? as if I would be that stupid... Okay so I did that ![]() but all in very nice extension. thanks! (with that caveat) Oh and it works via VNC for the really serious artists like me ![]() Last edited by twobob; 03-05-2013 at 12:04 AM. |
![]() |
![]() |
![]() |
#4 |
Evangelist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 457
Karma: 1287375
Join Date: Jan 2013
Location: West Gardiner, Maine
Device: Touch (5.3.7)
|
Should it be indexed if I don't know what it works on? I only have a Touch and Dos1 says it works on his Paperwhite, I don't know about others? I though others might have a go first just to see what else works.
|
![]() |
![]() |
![]() |
#5 |
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Tır
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,586
Karma: 6299993
Join Date: Jun 2012
Location: uti gratia usura (Yao ying da ying; Mo ying da yieng)
Device: PW-WIFI|K5-3G+WIFI| K4|K3-3G|DXG|K2| Rooted Nook Touch
|
it works on a touch and a PW... simple as that.. : )
the others are not Touchscreen... Also note the above WARNING ![]() |
![]() |
![]() |
Advert | |
|
![]() |
#6 |
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Tır
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,586
Karma: 6299993
Join Date: Jun 2012
Location: uti gratia usura (Yao ying da ying; Mo ying da yieng)
Device: PW-WIFI|K5-3G+WIFI| K4|K3-3G|DXG|K2| Rooted Nook Touch
|
PHP Code:
Yeah... that works.. update it to be that and you are golden for all Use Cases ![]() Hope that helps Last edited by twobob; 03-05-2013 at 01:16 AM. |
![]() |
![]() |
![]() |
#7 | |
Evangelist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 457
Karma: 1287375
Join Date: Jan 2013
Location: West Gardiner, Maine
Device: Touch (5.3.7)
|
Quote:
edit: The screensaver still comes on when I hit the power button, I don't see any difference from how it worked before? Last edited by brianinmaine; 03-05-2013 at 12:36 AM. |
|
![]() |
![]() |
![]() |
#8 |
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Tır
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,586
Karma: 6299993
Join Date: Jun 2012
Location: uti gratia usura (Yao ying da ying; Mo ying da yieng)
Device: PW-WIFI|K5-3G+WIFI| K4|K3-3G|DXG|K2| Rooted Nook Touch
|
because... now if you had DISABLED SCREENSAVERS previous to using your extension... the user isn't LOCKED IN
KUAL allows users to disable ScreenSavers. : ) the previous solution does not account for that. Preventing you from EVER exiting the application... ouchy I did my best to preserve exactly how it worked before. Last edited by twobob; 03-05-2013 at 12:51 AM. |
![]() |
![]() |
![]() |
#9 |
Evangelist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 457
Karma: 1287375
Join Date: Jan 2013
Location: West Gardiner, Maine
Device: Touch (5.3.7)
|
OOOOOhhh! OK, Thanks!
on making the extension - I would like to use dos1 and twobob as the author tag of the config.xml, is that OK? |
![]() |
![]() |
![]() |
#10 |
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Tır
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,586
Karma: 6299993
Join Date: Jun 2012
Location: uti gratia usura (Yao ying da ying; Mo ying da yieng)
Device: PW-WIFI|K5-3G+WIFI| K4|K3-3G|DXG|K2| Rooted Nook Touch
|
fine mate, honored to help out.
see I even spelt that American : ) EDIT: I assume YOU will be on that list too!!! you did all the hard work porting it! |
![]() |
![]() |
![]() |
#11 |
Evangelist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 457
Karma: 1287375
Join Date: Jan 2013
Location: West Gardiner, Maine
Device: Touch (5.3.7)
|
extract to extensions folder. PW and Touch only. Will add to extensions thread.
|
![]() |
![]() |
![]() |
#12 |
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Tır
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,586
Karma: 6299993
Join Date: Jun 2012
Location: uti gratia usura (Yao ying da ying; Mo ying da yieng)
Device: PW-WIFI|K5-3G+WIFI| K4|K3-3G|DXG|K2| Rooted Nook Touch
|
Superstar.
I'll shove it on the main indexes when you are done. hmmm... <author>dos1 twobob</author> You REALLY should be on that list... just saying ![]() EDIT: You must spread some Reputation around before giving it to brianinmaine again. DOH!!!! come on other people do KUAL THINGS so I can spread the karma!!! Last edited by twobob; 03-05-2013 at 01:24 AM. |
![]() |
![]() |
![]() |
#13 |
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Tır
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,586
Karma: 6299993
Join Date: Jun 2012
Location: uti gratia usura (Yao ying da ying; Mo ying da yieng)
Device: PW-WIFI|K5-3G+WIFI| K4|K3-3G|DXG|K2| Rooted Nook Touch
|
|
![]() |
![]() |
![]() |
#14 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,669
Karma: 2300001
Join Date: Mar 2011
Location: Türkiye
Device: Kindle 5.3.7
|
|
![]() |
![]() |
![]() |
#15 |
Junior Member
![]() Posts: 3
Karma: 10
Join Date: Apr 2013
Device: kindle paper white
|
So, how can I save it as a file?
|
![]() |
![]() |
![]() |
Tags |
drawing, launcher add-ons, pw tools |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Jailbreak para Kindle (K4, Touch, PaperWhite) | Pepin33 | Amazon Kindle | 19 | 11-08-2013 08:59 PM |
Kindle Touch 5.3.2 - almost Paperwhite! | Vroo | Amazon Kindle | 23 | 01-21-2013 12:34 PM |
Is a Kindle Touch for a PaperWhite a good trade? | route66 | Amazon Kindle | 7 | 09-29-2012 03:21 PM |
Free App of the Day - Drawing Pad | Jessica Lares | Kindle Fire | 9 | 12-08-2011 02:58 AM |
Android Sketcher - Android drawing app | cheyennedonna | enTourage Archive | 7 | 08-24-2010 04:29 PM |