![]() |
#31 |
Developer's Corner Mascot
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 486
Karma: 1277790
Join Date: Sep 2013
Device: Kindle Paperwhite 5.3.4, Kindle Keyboard 3.4
|
Fixed layout, screenshot:
|
![]() |
![]() |
![]() |
#32 |
but forgot what it's like
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 741
Karma: 2345678
Join Date: Dec 2011
Location: north (by northwest)
Device: Kindle Touch
|
It's possible to make K5-specific launcher out of custom dialog system. Think about it, if you'll have free time. HTML page can contain list (or icons) of actions. And it's possible to execute external application (via nativeBridge.dbgCmd or nativeBridge.dbgCmdExec via known ways) on selecting action. Also, custom dialog (as a Pillow app) can access LIPC publishers and subscribe to LIPC events using JavaScript only without executing lipc-* external tools.
Last edited by eureka; 10-27-2013 at 06:52 PM. Reason: dbgCmd is pretty useless |
![]() |
![]() |
Advert | |
|
![]() |
#33 |
Developer's Corner Mascot
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 486
Karma: 1277790
Join Date: Sep 2013
Device: Kindle Paperwhite 5.3.4, Kindle Keyboard 3.4
|
It's exactly what I wanted to do from the beginning
![]() Last edited by Aeris; 10-27-2013 at 06:10 PM. |
![]() |
![]() |
![]() |
#34 |
Developer's Corner Mascot
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 486
Karma: 1277790
Join Date: Sep 2013
Device: Kindle Paperwhite 5.3.4, Kindle Keyboard 3.4
|
It seems that nativeBridge.dbgCmd doesn't work anymore with new firmwares
![]() https://www.mobileread.com/forums/sho...d.php?t=171543 It's the command through which Yifan Lu jailbroke the K5 Last edited by Aeris; 10-27-2013 at 06:24 PM. |
![]() |
![]() |
![]() |
#35 | |
but forgot what it's like
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 741
Karma: 2345678
Join Date: Dec 2011
Location: north (by northwest)
Device: Kindle Touch
|
Quote:
Anyway, this Code:
lipc-set-prop com.lab126.system sendEvent "; sh -c 'touch /tmp/hello'" Lua script exporting writable LIPC property for setting commands to execute would be a solution too. Last edited by eureka; 10-27-2013 at 06:57 PM. Reason: dbgCmd works, but it pretty useless |
|
![]() |
![]() |
Advert | |
|
![]() |
#36 |
Developer's Corner Mascot
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 486
Karma: 1277790
Join Date: Sep 2013
Device: Kindle Paperwhite 5.3.4, Kindle Keyboard 3.4
|
Oh, that's brilliant!!!! Works great! Working samples:
Code:
nativeBridge.setLipcProperty( "com.lab126.system", "sendEvent", "; sh -c 'eips hallo'") Code:
nativeBridge.setLipcProperty( "com.lab126.system", "sendEvent", "; sh -c 'lipc-set-prop -s com.lab126.appmgrd start app://com.lab126.browser'") ![]() Now I can do nearly everything with customDialog!! I've just started working to the most beautiful app launcher I can! Last edited by Aeris; 10-27-2013 at 08:10 PM. |
![]() |
![]() |
![]() |
#37 |
THE NOOB
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 701
Karma: 1545649
Join Date: Jan 2012
Location: Italy
Device: Kindle Touch 5.3.2
|
While I was working on Komic, I thought about creating a small WAF to expose everything possible using lipc & co.
As WAF can be styled using HTML & CSS, this provides a nice way of interacting with shell scripting. I'll sit here and watch as I'm a bit busy at the moment, but I'll contribute asap! |
![]() |
![]() |
![]() |
#38 |
( ͡° ͜ʖ ͡°){ʇ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
|
Only downside to that would be the Waf/Mesquite would require registration prior to use...
unless it registered itself "on the fly" on the way in, and deleted that registration "on-the-fly" on the way out.... |
![]() |
![]() |
![]() |
#39 | |
Enthusiast
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 49
Karma: 59420
Join Date: Feb 2012
Device: Kindle Touch
|
Quote:
Code:
nativeBridge.setLipcProperty( "com.lab126.system", "sendEvent", "; sh -c 'mv /mnt/us/documents/update.txt /mnt/us/update.bin'") |
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Nesting Function arguments in custom columns | da_jane | Calibre | 1 | 11-21-2012 02:48 PM |
Can plugins have a custom UI dialog? | kiwidude | Plugins | 9 | 01-03-2011 07:15 PM |
Kindle Searching Function Question | keegon | Amazon Kindle | 4 | 01-09-2010 01:19 PM |
Will the web searching function always be available for free? | raztaztwo | Amazon Kindle | 5 | 12-17-2007 09:31 AM |
Serious exploit in Greasemonkey 0.4 | Alexander Turcic | Lounge | 2 | 07-19-2005 04:59 AM |