Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Readers > Amazon Kindle > Kindle Developer's Corner

Notices

Reply
 
Thread Tools Search this Thread
Old 08-30-2013, 05:05 AM   #1
brianinmaine
Evangelist
brianinmaine ought to be getting tired of karma fortunes by now.brianinmaine ought to be getting tired of karma fortunes by now.brianinmaine ought to be getting tired of karma fortunes by now.brianinmaine ought to be getting tired of karma fortunes by now.brianinmaine ought to be getting tired of karma fortunes by now.brianinmaine ought to be getting tired of karma fortunes by now.brianinmaine ought to be getting tired of karma fortunes by now.brianinmaine ought to be getting tired of karma fortunes by now.brianinmaine ought to be getting tired of karma fortunes by now.brianinmaine ought to be getting tired of karma fortunes by now.brianinmaine ought to be getting tired of karma fortunes by now.
 
brianinmaine's Avatar
 
Posts: 456
Karma: 1287375
Join Date: Jan 2013
Location: West Gardiner, Maine
Device: Touch (5.3.7)
A better drawing app?

1) I have the KUAL drawing extension:
https://www.mobileread.com/forums/sho...d.php?t=195050
- works OK, only have a thin pencil line the draw with.


2) I can kindof run http://mrdoob.com/projects/harmony/ in the Midori extension (see https://www.mobileread.com/forums/sho...d.php?t=185721)
- works, but not very well. shades and styles of brushes are real issue.
- I was not able to get the page to work with the default browser?

3) I tried running mtpaint from Debian with Xephyr: works, opens a default 640x480 canvas, might be worth further investigation if nothing better.

also from Debian with xephyr:
xpaint - no display on top of xephyr?
mypaint - can't get it to install?
pinta - messed up my apt-get stuff (won't be trying that again!).

As a side note I used twobob's excellent script:
https://www.mobileread.com/forums/sho...d.php?t=200017 to get the libs I needed. I did a debootstrap into a directory instead of an image and copied qemu-arm-static there so I could chroot there, then I copied all the kindle libs there to another directory and modified the script to grab what I needed.

I guess the question is:
What is the best way to continue? The harmony in Midori works a little, but mtpaint could probably be fixed up better. I'm thinking full screen without xephyr? Any hints or advice? Any other programs I can try?
brianinmaine is offline   Reply With Quote
Old 08-31-2013, 11:43 AM   #2
twobob
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Tır
twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.
 
twobob's Avatar
 
Posts: 6,586
Karma: 6299991
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
http://packages.debian.org/wheezy/kolourpaint4 is a kde thing
as is http://packages.debian.org/wheezy/krita which might be too big

http://packages.debian.org/wheezy/mtpaint appears to have a few (at least one) floating toolbar - the naming conventions or DISPLAY=:1 may have caught you/xephyr out for showing it all on a smaller screen.

I think http://packages.debian.org/wheezy/rgbpaint is not a terrible place to start.

http://mtpaint.sourceforge.net/rgbpaint.html

Last edited by twobob; 08-31-2013 at 11:45 AM.
twobob is offline   Reply With Quote
Advert
Old 08-31-2013, 01:18 PM   #3
twobob
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Tır
twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.
 
twobob's Avatar
 
Posts: 6,586
Karma: 6299991
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
https://code.google.com/p/ardesia/ perhaps.
twobob is offline   Reply With Quote
Old 09-01-2013, 06:43 PM   #4
twobob
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Tır
twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.
 
twobob's Avatar
 
Posts: 6,586
Karma: 6299991
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
So I got rgbpaint and ardesia to run. in a fashion. ardesia is a struggle with its floaty toolbars. and its demand for xcompmgr. but it is runnable. I cheated and checked with a debian.

I can probably bundle up rgbpaint now, still needs love.

and an exit strategy.
A power button cycle monitoring dbus strap-on is required.
doable. I could look at that.

Could be run native but the save stuff wouldn't work natively as-is though. problem. so not native without a bit of a recode.

wrapped in a Xephyr those issues all go away though obviously.
so yeah. nothing perfect yet but a few early lo-effort contenders.

rgbpaint in a xephyr pictured. could do with fullscreening too...
Attached Thumbnails
Click image for larger version

Name:	Selection_572.png
Views:	253
Size:	8.8 KB
ID:	110317  
twobob is offline   Reply With Quote
Old 09-02-2013, 10:19 PM   #5
brianinmaine
Evangelist
brianinmaine ought to be getting tired of karma fortunes by now.brianinmaine ought to be getting tired of karma fortunes by now.brianinmaine ought to be getting tired of karma fortunes by now.brianinmaine ought to be getting tired of karma fortunes by now.brianinmaine ought to be getting tired of karma fortunes by now.brianinmaine ought to be getting tired of karma fortunes by now.brianinmaine ought to be getting tired of karma fortunes by now.brianinmaine ought to be getting tired of karma fortunes by now.brianinmaine ought to be getting tired of karma fortunes by now.brianinmaine ought to be getting tired of karma fortunes by now.brianinmaine ought to be getting tired of karma fortunes by now.
 
brianinmaine's Avatar
 
Posts: 456
Karma: 1287375
Join Date: Jan 2013
Location: West Gardiner, Maine
Device: Touch (5.3.7)
Quote:
Originally Posted by twobob View Post
So I got rgbpaint and ardesia to run. in a fashion. ardesia is a struggle with its floaty toolbars. and its demand for xcompmgr. but it is runnable. I cheated and checked with a debian.

I can probably bundle up rgbpaint now, still needs love.

and an exit strategy.
A power button cycle monitoring dbus strap-on is required.
doable. I could look at that.

Could be run native but the save stuff wouldn't work natively as-is though. problem. so not native without a bit of a recode.

wrapped in a Xephyr those issues all go away though obviously.
so yeah. nothing perfect yet but a few early lo-effort contenders.

rgbpaint in a xephyr pictured. could do with fullscreening too...
Nicely done - had a busy weekend so I didn't get to try rgbpaint yet, I was just trying to see if anyone else had a better idea. Thanks for the ideas so far. I'd also like to see it fullscreen, not sure how to do that? I still never tried to compile anything for the Kindle... This would be a great time to learn, I'm sure!
brianinmaine is offline   Reply With Quote
Advert
Old 09-02-2013, 10:22 PM   #6
twobob
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Tır
twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.
 
twobob's Avatar
 
Posts: 6,586
Karma: 6299991
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
okay I got rgbpaint fullscreen and much tidier.
using the unreleased "fronter" to patch around naming issues.

KCheckers also works well via this method.
twobob is offline   Reply With Quote
Old 09-02-2013, 11:41 PM   #7
brianinmaine
Evangelist
brianinmaine ought to be getting tired of karma fortunes by now.brianinmaine ought to be getting tired of karma fortunes by now.brianinmaine ought to be getting tired of karma fortunes by now.brianinmaine ought to be getting tired of karma fortunes by now.brianinmaine ought to be getting tired of karma fortunes by now.brianinmaine ought to be getting tired of karma fortunes by now.brianinmaine ought to be getting tired of karma fortunes by now.brianinmaine ought to be getting tired of karma fortunes by now.brianinmaine ought to be getting tired of karma fortunes by now.brianinmaine ought to be getting tired of karma fortunes by now.brianinmaine ought to be getting tired of karma fortunes by now.
 
brianinmaine's Avatar
 
Posts: 456
Karma: 1287375
Join Date: Jan 2013
Location: West Gardiner, Maine
Device: Touch (5.3.7)
You are just too fast! Share please!
brianinmaine is offline   Reply With Quote
Old 09-03-2013, 06:08 AM   #8
twobob
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Tır
twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.
 
twobob's Avatar
 
Posts: 6,586
Karma: 6299991
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
okay. Was just trying to check if this new "fronting" method works reliably enough to share it.

Will do then mate.
twobob is offline   Reply With Quote
Old 09-03-2013, 12:06 PM   #9
twobob
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Tır
twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.
 
twobob's Avatar
 
Posts: 6,586
Karma: 6299991
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
So the fronting method:

Well. it's not an exact science and doubtless someone will improve on that I have but:

In essence make a small patch to a loop-mounted COPY of one LUA file.
Restart window manager.

This provides a FAT based hook to do some window manipulation via scripts.

The patch file, an install process, the mounting process, the scripts, the binaries and the libs to all achieve this I now have.

It's a two pass solution - and not for any good reason.

First it will read over the name of the window being added (xdotool is a bit flaky here when it comes to generated subwindows so we need a second pass sometimes to ensure we get all the window names and their linked internal ID's)

Then we refactor that window name into something more conventional and re-inject the window back at the top of the stack.

The loop mount is just a fail-safe to prevent system corruption and will survive until the next major reboot. including surviving awesome restarts.

The installer process manages the mounting and can be safely run more than once.

I'll look to package up what I have.

The crux of all this is that you can from that point onward - Launch a window - With the WRONG naming convention - and have it handled by the native awesome installation.

Effectively paving the way for running a whole host of apps straight out of debian.
And removing the reliance on Xephyr.

It's far from perfect. and in some cases it is slow to recognise sub-windows. but it's what I got.

Last edited by twobob; 09-03-2013 at 02:47 PM.
twobob is offline   Reply With Quote
Old 09-04-2013, 01:31 PM   #10
twobob
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Tır
twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.
 
twobob's Avatar
 
Posts: 6,586
Karma: 6299991
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
Kind of torn what to actually use the top ETCL menus for.

"Exit" is a given. "Application (focus)" seems helpful,, "Keyboard" might be handy, "Rotate screen" also nice to have, "Help messages" might be also useful.

I think I will change the "welcome message" to something more useful like screen rotation in the medium term. or someone else can...

There is a known issue where the native keyboard is BEHIND the layer that needs it. Opening the keyboard first actually bypasses this issue.

Bundled an OSD in the form of aosd_cat, also a top menu window decorator concept using ETCL (someone else's work re-used) and two demos so far.

The code to search for the secondary submenus is WAAAAY slow and needs refactoring. Like way slow. Like slow.

Will do some more tests but it's not far from workable.

Last edited by twobob; 09-04-2013 at 07:23 PM.
twobob is offline   Reply With Quote
Old 09-04-2013, 09:37 PM   #11
twobob
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Tır
twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.
 
twobob's Avatar
 
Posts: 6,586
Karma: 6299991
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
Some screenies.
Attached Thumbnails
Click image for larger version

Name:	Selection_577.png
Views:	218
Size:	164.7 KB
ID:	110420   Click image for larger version

Name:	Selection_578.png
Views:	214
Size:	152.0 KB
ID:	110421   Click image for larger version

Name:	Selection_579.png
Views:	209
Size:	88.1 KB
ID:	110422   Click image for larger version

Name:	Selection_580.png
Views:	186
Size:	167.5 KB
ID:	110423   Click image for larger version

Name:	Selection_583.png
Views:	212
Size:	14.2 KB
ID:	110424   Click image for larger version

Name:	Selection_582.png
Views:	190
Size:	19.4 KB
ID:	110425   Click image for larger version

Name:	Selection_584.png
Views:	217
Size:	15.3 KB
ID:	110426   Click image for larger version

Name:	Selection_586.png
Views:	201
Size:	21.9 KB
ID:	110427   Click image for larger version

Name:	Selection_585.png
Views:	213
Size:	20.0 KB
ID:	110428   Click image for larger version

Name:	Selection_588.png
Views:	212
Size:	33.0 KB
ID:	110429   Click image for larger version

Name:	Selection_589.png
Views:	197
Size:	20.2 KB
ID:	110430   Click image for larger version

Name:	Selection_590.png
Views:	210
Size:	13.9 KB
ID:	110431   Click image for larger version

Name:	Selection_593.png
Views:	195
Size:	10.1 KB
ID:	110432  
twobob is offline   Reply With Quote
Old 09-05-2013, 12:07 AM   #12
brianinmaine
Evangelist
brianinmaine ought to be getting tired of karma fortunes by now.brianinmaine ought to be getting tired of karma fortunes by now.brianinmaine ought to be getting tired of karma fortunes by now.brianinmaine ought to be getting tired of karma fortunes by now.brianinmaine ought to be getting tired of karma fortunes by now.brianinmaine ought to be getting tired of karma fortunes by now.brianinmaine ought to be getting tired of karma fortunes by now.brianinmaine ought to be getting tired of karma fortunes by now.brianinmaine ought to be getting tired of karma fortunes by now.brianinmaine ought to be getting tired of karma fortunes by now.brianinmaine ought to be getting tired of karma fortunes by now.
 
brianinmaine's Avatar
 
Posts: 456
Karma: 1287375
Join Date: Jan 2013
Location: West Gardiner, Maine
Device: Touch (5.3.7)
Very impressive! My two favorite programs as demos! Can't wait to try these. I also like the fronter toolbar idea.
brianinmaine is offline   Reply With Quote
Old 09-05-2013, 12:19 AM   #13
twobob
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Tır
twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.
 
twobob's Avatar
 
Posts: 6,586
Karma: 6299991
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
I'm struggling since ETCL just segfaults on the PW.

Either I could make this touch only or refactor the toolbar into something else.
undecided.
twobob is offline   Reply With Quote
Old 09-05-2013, 12:46 AM   #14
brianinmaine
Evangelist
brianinmaine ought to be getting tired of karma fortunes by now.brianinmaine ought to be getting tired of karma fortunes by now.brianinmaine ought to be getting tired of karma fortunes by now.brianinmaine ought to be getting tired of karma fortunes by now.brianinmaine ought to be getting tired of karma fortunes by now.brianinmaine ought to be getting tired of karma fortunes by now.brianinmaine ought to be getting tired of karma fortunes by now.brianinmaine ought to be getting tired of karma fortunes by now.brianinmaine ought to be getting tired of karma fortunes by now.brianinmaine ought to be getting tired of karma fortunes by now.brianinmaine ought to be getting tired of karma fortunes by now.
 
brianinmaine's Avatar
 
Posts: 456
Karma: 1287375
Join Date: Jan 2013
Location: West Gardiner, Maine
Device: Touch (5.3.7)
Quote:
Originally Posted by twobob View Post
I'm struggling since ETCL just segfaults on the PW.

Either I could make this touch only or refactor the toolbar into something else.
undecided.
There is always a hope someone else with a paperwhite might be able to help with the segfaults?

For now you could release it touch only? It seems to me the toolbar is useful if only for the fact you CAN call up the keyboard when you want it (skipstone has a special button, but nobody wants to add a button for every program).
brianinmaine is offline   Reply With Quote
Old 09-05-2013, 08:51 AM   #15
twobob
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Tır
twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.
 
twobob's Avatar
 
Posts: 6,586
Karma: 6299991
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
yeah. I've worked around it.
no ETCL for now on the paperwhite but you can exit via power button press.

removed etcl

Will think about creating something generic (Gtk?) that gives us a couple of nice overlay buttons? or to rethink the problem...

Either way. I'll try to tidy up and repack. It's still a bit of a mess.

Last edited by twobob; 09-05-2013 at 10:29 AM.
twobob is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Drawing app on Paperwhite and Kindle Touch dos1 Kindle Developer's Corner 27 10-17-2015 07:58 PM
My new favorite drawing app - Sketch Mate Advanced Jessica Lares Kindle Fire 7 07-03-2012 05:51 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
"Drawing app" for the PRS 700? Anthuzad Sony Reader 16 05-13-2009 01:21 AM


All times are GMT -4. The time now is 11:27 PM.


MobileRead.com is a privately owned, operated and funded community.