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: 208250
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: 6,363
Karma: 5840124
Join Date: Feb 2012
Device: Too many.
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.
knc1 is offline   Reply With Quote
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: 208250
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: 6,552
Karma: 6021142
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
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:	220
Size:	13.2 KB
ID:	101604   Click image for larger version

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

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

Name:	libs-peek.png
Views:	199
Size:	100.5 KB
ID:	101607  
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: 6,552
Karma: 6021142
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
If you chuck out the source I will build this for all devices. thanks
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: 6,363
Karma: 5840124
Join Date: Feb 2012
Device: Too many.
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.

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: 208250
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: 208250
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
(offline)
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,903
Karma: 6677485
Join Date: Dec 2011
Device: K3, K4, K5, KPW, KPW2
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: 6,552
Karma: 6021142
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
Quote:
Originally Posted by anakod View Post
This is interesting. What specific devices?
DX, k2, k3, k4, k5, PW (all revisions....)

Those ones ;D
twobob is offline   Reply With Quote
Old 02-20-2013, 11:00 AM   #11
eureka
but forgot what it's like
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: 711
Karma: 2290994
Join Date: Dec 2011
Location: north (by northwest)
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: 6,552
Karma: 6021142
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
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.
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: 6,552
Karma: 6021142
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
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
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: 208250
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: 6,552
Karma: 6021142
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
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
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 82 08-01-2014 12:37 PM
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 01:36 PM.


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