Register Guidelines E-Books Search Today's Posts Mark Forums Read

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

Notices

Reply
 
Thread Tools Search this Thread
Old 02-20-2013, 06:41 AM   #1
anakod
Enthusiast
anakod ought to be getting tired of karma fortunes by now.anakod ought to be getting tired of karma fortunes by now.anakod ought to be getting tired of karma fortunes by now.anakod ought to be getting tired of karma fortunes by now.anakod ought to be getting tired of karma fortunes by now.anakod ought to be getting tired of karma fortunes by now.anakod ought to be getting tired of karma fortunes by now.anakod ought to be getting tired of karma fortunes by now.anakod ought to be getting tired of karma fortunes by now.anakod ought to be getting tired of karma fortunes by now.anakod ought to be getting tired of karma fortunes by now.
 
Posts: 46
Karma: 201338
Join Date: Feb 2013
Device: Kindle PaperWhite
Arrow KindleExplorer - file manager program with friendly GUI

Hi all. I developed a small and friendly file manager for Kindle PaperWhite (it should also work on Touch).

The KindleExplorer is integrated with the editor LeafPad, and the terminal Kterm.



Last version can be downloaded from project home: http://kindle-explorer.googlecode.com

To get started, you need to install Unified Application Launcher and unpack the archive to "extensions" folder.

I would be happy to hear your feedback.

Last edited by anakod; 02-27-2013 at 01:03 PM.
anakod is offline   Reply With Quote
Old 02-20-2013, 08:58 AM   #2
knc1
Embedded Cheerleader
knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.
 
knc1's Avatar
 
Posts: 4,072
Karma: 3827911
Join Date: Feb 2012
Device: Intel 4004
Quote:
Originally Posted by anakod View Post
Hi all. I developed a small and friendly file manager for Kindle PaperWhite (I expect that should work for Touch, but this isn't tested).

The KindleExplorer is integrated with the editor LeafPad, and the terminal Kterm.



To get started, you need to install Unified Application Launcher and unpack the archive to "extensions" folder.

I would be happy to hear your feedback.
An archive or link to the public repository of the sources please.
Also, a statement of what license you are releasing this under.
__________________
"Hack is just a four letter word." - - With apologies to B. Dylan
knc1 is offline   Reply With Quote
 
Enthusiast
Old 02-20-2013, 09:17 AM   #3
anakod
Enthusiast
anakod ought to be getting tired of karma fortunes by now.anakod ought to be getting tired of karma fortunes by now.anakod ought to be getting tired of karma fortunes by now.anakod ought to be getting tired of karma fortunes by now.anakod ought to be getting tired of karma fortunes by now.anakod ought to be getting tired of karma fortunes by now.anakod ought to be getting tired of karma fortunes by now.anakod ought to be getting tired of karma fortunes by now.anakod ought to be getting tired of karma fortunes by now.anakod ought to be getting tired of karma fortunes by now.anakod ought to be getting tired of karma fortunes by now.
 
Posts: 46
Karma: 201338
Join Date: Feb 2013
Device: Kindle PaperWhite
Thanks for the reply. License is freeware. I'm thinking about opening the code.
In my code I'm using tinydir and two methods from Leafpad (keyboard open & close).
anakod is offline   Reply With Quote
Old 02-20-2013, 09:44 AM   #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: 5,120
Karma: 5288897
Join Date: Jun 2012
Location: uti gratia usura (Yao ying da ying; Mo ying da yieng)
Device: PW, K5 B011, K3 us, K4, DXG, XDA I&II, Omnia, Ematic E6 + E8 :) etc.
Quote:
Originally Posted by knc1 View Post
An archive or link to the public repository of the sources please.
Also, a statement of what license you are releasing this under.
I dug around inside. appears to use the .glade loader stuff.

source would be nice...
Attached Thumbnails
Click image for larger version

Name:	MainWindow.png
Views:	110
Size:	13.2 KB
ID:	101604   Click image for larger version

Name:	ViewImage.png
Views:	98
Size:	11.6 KB
ID:	101605   Click image for larger version

Name:	ViewText.png
Views:	93
Size:	29.9 KB
ID:	101606   Click image for larger version

Name:	libs-peek.png
Views:	97
Size:	100.5 KB
ID:	101607  
__________________
Audiophile and electron bully.
My tunes (for free) soundcloud.com/twobob. DONATE TO KUAL BY CLICKING THIS SIMPLE LINK
Kung-Fu. Hard work over time to accomplish skill. A painter can have kung-fu... The musician can have kung-fu, or the poet who paints pictures with words and makes emperors weep. This, too, is kung-fu. Formless, nameless, the true master dwells within. Only you can free him.
The album I'm headlining on at the moment: s.beatport.com/OCp9dT - FREE: 2012 Award winning set
twobob is offline   Reply With Quote
Old 02-20-2013, 09:56 AM   #5
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: 5,120
Karma: 5288897
Join Date: Jun 2012
Location: uti gratia usura (Yao ying da ying; Mo ying da yieng)
Device: PW, K5 B011, K3 us, K4, DXG, XDA I&II, Omnia, Ematic E6 + E8 :) etc.
If you chuck out the source I will build this for all devices. thanks
__________________
Audiophile and electron bully.
My tunes (for free) soundcloud.com/twobob. DONATE TO KUAL BY CLICKING THIS SIMPLE LINK
Kung-Fu. Hard work over time to accomplish skill. A painter can have kung-fu... The musician can have kung-fu, or the poet who paints pictures with words and makes emperors weep. This, too, is kung-fu. Formless, nameless, the true master dwells within. Only you can free him.
The album I'm headlining on at the moment: s.beatport.com/OCp9dT - FREE: 2012 Award winning set
twobob is offline   Reply With Quote
Old 02-20-2013, 09:56 AM   #6
knc1
Embedded Cheerleader
knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.
 
knc1's Avatar
 
Posts: 4,072
Karma: 3827911
Join Date: Feb 2012
Device: Intel 4004
Quote:
Originally Posted by anakod View Post
Thanks for the reply. License is freeware. I'm thinking about opening the code.
In my code I'm using tinydir and two methods from Leafpad (keyboard open & close).
tinydir uses the MIT license (see link you provided, file: COPYING).
leafpad is GPL-v2, so as long as you are using leafpad code in your sources, yours is GPL-v2 also.

If you write your own replacement for those two parts of leafpad, then you could licensed it under the MIT license.

But you **can not** use GPL-v2 code without providing the source or re-license it as "freeware".

This site has firm guidelines about posting/using copyrighted materials in conflict with their license.
__________________
"Hack is just a four letter word." - - With apologies to B. Dylan

Last edited by knc1; 02-20-2013 at 10:16 AM.
knc1 is offline   Reply With Quote
Old 02-20-2013, 10:43 AM   #7
anakod
Enthusiast
anakod ought to be getting tired of karma fortunes by now.anakod ought to be getting tired of karma fortunes by now.anakod ought to be getting tired of karma fortunes by now.anakod ought to be getting tired of karma fortunes by now.anakod ought to be getting tired of karma fortunes by now.anakod ought to be getting tired of karma fortunes by now.anakod ought to be getting tired of karma fortunes by now.anakod ought to be getting tired of karma fortunes by now.anakod ought to be getting tired of karma fortunes by now.anakod ought to be getting tired of karma fortunes by now.anakod ought to be getting tired of karma fortunes by now.
 
Posts: 46
Karma: 201338
Join Date: Feb 2013
Device: Kindle PaperWhite
Wink

Okay, but I don't know how I could rewrite this. This is very simple

PHP Code:
      switch(fork())
      {
        case 
0:
          {
            
execlp("/bin/sh""sh""-c""/usr/bin/lipc-set-prop -s com.lab126.keyboard open net.fabiszewski.leafpad:Abc:1"NULL);
          }
        case -
1:
          
perror("Failed to open keyboard\n");
          exit(
1);
      }

      switch(
fork())
      {
        case 
0:
          {
            
execlp("/bin/sh""sh""-c""/usr/bin/lipc-set-prop -s com.lab126.keyboard close net.fabiszewski.leafpad"NULL);
          }
        case -
1:
          
perror("Failed to open keyboard\n");
          exit(
1);
      } 
It's all under GPL.
anakod is offline   Reply With Quote
Old 02-20-2013, 10:48 AM   #8
anakod
Enthusiast
anakod ought to be getting tired of karma fortunes by now.anakod ought to be getting tired of karma fortunes by now.anakod ought to be getting tired of karma fortunes by now.anakod ought to be getting tired of karma fortunes by now.anakod ought to be getting tired of karma fortunes by now.anakod ought to be getting tired of karma fortunes by now.anakod ought to be getting tired of karma fortunes by now.anakod ought to be getting tired of karma fortunes by now.anakod ought to be getting tired of karma fortunes by now.anakod ought to be getting tired of karma fortunes by now.anakod ought to be getting tired of karma fortunes by now.
 
Posts: 46
Karma: 201338
Join Date: Feb 2013
Device: Kindle PaperWhite
Quote:
If you chuck out the source I will build this for all devices.
This is interesting. What specific devices?
anakod is offline   Reply With Quote
Old 02-20-2013, 10:54 AM   #9
ixtab
Mayan Goddess
ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.
 
ixtab's Avatar
 
Posts: 2,288
Karma: 4902879
Join Date: Dec 2011
Device: K3/K4/K5/PW
Quote:
Originally Posted by anakod View Post
Okay, but I don't know how I could rewrite this. This is very simple

PHP Code:
      switch(fork())
      {
        case 
0:
          {
            
execlp("/bin/sh""sh""-c""/usr/bin/lipc-set-prop -s com.lab126.keyboard open net.fabiszewski.leafpad:Abc:1"NULL);
          }
        case -
1:
          
perror("Failed to open keyboard\n");
          exit(
1);
      }

      switch(
fork())
      {
        case 
0:
          {
            
execlp("/bin/sh""sh""-c""/usr/bin/lipc-set-prop -s com.lab126.keyboard close net.fabiszewski.leafpad"NULL);
          }
        case -
1:
          
perror("Failed to open keyboard\n");
          exit(
1);
      } 
It's all under GPL.
Write down the shell commands you need, and possibly modify them. Remember the overall logic required, then delete the original code, and, from memory, write your own which essentially achieves the same result, but without being a verbatim copy (you did remember what you have to do, didn't you?)

Or, ask the original author for permission to re-use the code snippet under a different license.
ixtab is offline   Reply With Quote
Old 02-20-2013, 10:57 AM   #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: 5,120
Karma: 5288897
Join Date: Jun 2012
Location: uti gratia usura (Yao ying da ying; Mo ying da yieng)
Device: PW, K5 B011, K3 us, K4, DXG, XDA I&II, Omnia, Ematic E6 + E8 :) etc.
Quote:
Originally Posted by anakod View Post
This is interesting. What specific devices?
DX, k2, k3, k4, k5, PW (all revisions....)

Those ones ;D
__________________
Audiophile and electron bully.
My tunes (for free) soundcloud.com/twobob. DONATE TO KUAL BY CLICKING THIS SIMPLE LINK
Kung-Fu. Hard work over time to accomplish skill. A painter can have kung-fu... The musician can have kung-fu, or the poet who paints pictures with words and makes emperors weep. This, too, is kung-fu. Formless, nameless, the true master dwells within. Only you can free him.
The album I'm headlining on at the moment: s.beatport.com/OCp9dT - FREE: 2012 Award winning set
twobob is offline   Reply With Quote
Old 02-20-2013, 11:00 AM   #11
eureka
discoverer of principles
eureka ought to be getting tired of karma fortunes by now.eureka ought to be getting tired of karma fortunes by now.eureka ought to be getting tired of karma fortunes by now.eureka ought to be getting tired of karma fortunes by now.eureka ought to be getting tired of karma fortunes by now.eureka ought to be getting tired of karma fortunes by now.eureka ought to be getting tired of karma fortunes by now.eureka ought to be getting tired of karma fortunes by now.eureka ought to be getting tired of karma fortunes by now.eureka ought to be getting tired of karma fortunes by now.eureka ought to be getting tired of karma fortunes by now.
 
Posts: 610
Karma: 1758576
Join Date: Dec 2011
Location: bath
Device: Kindle Touch
Quote:
Originally Posted by anakod View Post
Okay, but I don't know how I could rewrite this. This is very simple

PHP Code:
      switch(fork())
      {
        case 
0:
          {
            
execlp("/bin/sh""sh""-c""/usr/bin/lipc-set-prop -s com.lab126.keyboard open net.fabiszewski.leafpad:Abc:1"NULL);
          }
        case -
1:
          
perror("Failed to open keyboard\n");
          exit(
1);
      }

      switch(
fork())
      {
        case 
0:
          {
            
execlp("/bin/sh""sh""-c""/usr/bin/lipc-set-prop -s com.lab126.keyboard close net.fabiszewski.leafpad"NULL);
          }
        case -
1:
          
perror("Failed to open keyboard\n");
          exit(
1);
      } 
It's all under GPL.
These commands use CLI interafce to /usr/lib/liblipc.so. You can reverse engineer this library and link to it with using appropriate functions directly.
eureka is offline   Reply With Quote
Old 02-20-2013, 11:03 AM   #12
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: 5,120
Karma: 5288897
Join Date: Jun 2012
Location: uti gratia usura (Yao ying da ying; Mo ying da yieng)
Device: PW, K5 B011, K3 us, K4, DXG, XDA I&II, Omnia, Ematic E6 + E8 :) etc.
Quote:
Originally Posted by ixtab View Post
[ Gives Good advice ] ...
Or, ask the original author for permission to re-use the code snippet under a different license.
Yeah. the second one is least resistance.
__________________
Audiophile and electron bully.
My tunes (for free) soundcloud.com/twobob. DONATE TO KUAL BY CLICKING THIS SIMPLE LINK
Kung-Fu. Hard work over time to accomplish skill. A painter can have kung-fu... The musician can have kung-fu, or the poet who paints pictures with words and makes emperors weep. This, too, is kung-fu. Formless, nameless, the true master dwells within. Only you can free him.
The album I'm headlining on at the moment: s.beatport.com/OCp9dT - FREE: 2012 Award winning set
twobob is offline   Reply With Quote
Old 02-20-2013, 11:12 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: 5,120
Karma: 5288897
Join Date: Jun 2012
Location: uti gratia usura (Yao ying da ying; Mo ying da yieng)
Device: PW, K5 B011, K3 us, K4, DXG, XDA I&II, Omnia, Ematic E6 + E8 :) etc.
Quote:
Originally Posted by eureka View Post
These commands use CLI interafce to /usr/lib/liblipc.so. You can reverse engineer this library and link to it with using appropriate functions directly.
Now, THAT is great info
__________________
Audiophile and electron bully.
My tunes (for free) soundcloud.com/twobob. DONATE TO KUAL BY CLICKING THIS SIMPLE LINK
Kung-Fu. Hard work over time to accomplish skill. A painter can have kung-fu... The musician can have kung-fu, or the poet who paints pictures with words and makes emperors weep. This, too, is kung-fu. Formless, nameless, the true master dwells within. Only you can free him.
The album I'm headlining on at the moment: s.beatport.com/OCp9dT - FREE: 2012 Award winning set
twobob is offline   Reply With Quote
Old 02-20-2013, 11:14 AM   #14
anakod
Enthusiast
anakod ought to be getting tired of karma fortunes by now.anakod ought to be getting tired of karma fortunes by now.anakod ought to be getting tired of karma fortunes by now.anakod ought to be getting tired of karma fortunes by now.anakod ought to be getting tired of karma fortunes by now.anakod ought to be getting tired of karma fortunes by now.anakod ought to be getting tired of karma fortunes by now.anakod ought to be getting tired of karma fortunes by now.anakod ought to be getting tired of karma fortunes by now.anakod ought to be getting tired of karma fortunes by now.anakod ought to be getting tired of karma fortunes by now.
 
Posts: 46
Karma: 201338
Join Date: Feb 2013
Device: Kindle PaperWhite
I found that i needed. I will write this code today or tomorrow.

Quote:
DX, k2, k3, k4, k5, PW (all revisions....)

Those ones ;D
What about other manufacturers, or is it too much? :-D
anakod is offline   Reply With Quote
Old 02-20-2013, 11:19 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: 5,120
Karma: 5288897
Join Date: Jun 2012
Location: uti gratia usura (Yao ying da ying; Mo ying da yieng)
Device: PW, K5 B011, K3 us, K4, DXG, XDA I&II, Omnia, Ematic E6 + E8 :) etc.
Quote:
Originally Posted by anakod View Post
What about other manufacturers, or is it too much? :-D
err.. such as?

This is KINDLE developers corner


Quote:
Originally Posted by anakod View Post
I found that i needed. I will write this code today or tomorrow.
hmm... that's a rather device specific bit of code...

I'll wait until I see your source before I get excited then
__________________
Audiophile and electron bully.
My tunes (for free) soundcloud.com/twobob. DONATE TO KUAL BY CLICKING THIS SIMPLE LINK
Kung-Fu. Hard work over time to accomplish skill. A painter can have kung-fu... The musician can have kung-fu, or the poet who paints pictures with words and makes emperors weep. This, too, is kung-fu. Formless, nameless, the true master dwells within. Only you can free him.
The album I'm headlining on at the moment: s.beatport.com/OCp9dT - FREE: 2012 Award winning set
twobob is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
[GUI Plugin] View Manager kiwidude Plugins 63 04-22-2013 09:22 AM
K3 File Manager? nathansuchy Kindle Developer's Corner 1 01-25-2013 12:56 PM
ES File Explorer, Astro File Manager or File Manager HD? DreamWriter Android Devices 15 04-05-2012 03:00 PM
ES file manager cypherslock Kobo Tablets 1 11-06-2011 01:34 AM
Android Astro File Manager cheyennedonna enTourage Archive 0 05-07-2010 12:24 PM


All times are GMT -4. The time now is 04:51 PM.


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