05-07-2012, 12:18 PM | #16 |
THE NOOB
Posts: 701
Karma: 1545649
Join Date: Jan 2012
Location: Italy
Device: Kindle Touch 5.3.2
|
|
05-07-2012, 12:28 PM | #17 |
THE NOOB
Posts: 701
Karma: 1545649
Join Date: Jan 2012
Location: Italy
Device: Kindle Touch 5.3.2
|
WOW!!
It was so easy!!! Here's what to include in the javascript: Code:
kindle.chrome.setTitleBar('', title); I need to understand what is " before the title! But now, I can control the titlebar! PS You need to set this in the config.xml file: Code:
<kindle:messaging> <kindle:app name="com.lab126.pillow" value="yes"/> </kindle:messaging> |
05-09-2012, 03:41 PM | #18 |
THE NOOB
Posts: 701
Karma: 1545649
Join Date: Jan 2012
Location: Italy
Device: Kindle Touch 5.3.2
|
i'm hijacking this thread a last time: I wonder if there is a way to take a screenshot from inside a WAF.
I generally use: Code:
lipc-set-prop -- com.lab126.system takeScreenShot 1 |
05-09-2012, 04:21 PM | #19 |
(offline)
Posts: 2,907
Karma: 6736092
Join Date: Dec 2011
Device: K3, K4, K5, KPW, KPW2
|
@silver18
Short answer: you can't. WAF can only interact with the system in a very limited way (through the predefined lipc "interfaces"). But it won't let you send arbitrary lipc commands or execute arbitrary shell commands. That makes sense, because it would be a huge security hole. And now let's have this thread get back on topic - I think it was about eips |
05-09-2012, 07:11 PM | #20 |
Carpe diem, c'est la vie.
Posts: 6,433
Karma: 10773668
Join Date: Nov 2011
Location: Multiverse 6627A
Device: K1 to PW3
|
Perhaps we need to rename this thread. It has very little to do with "eips" these days. I can request that a site moderator rename it. Any suggestions what we should call this thread?
|
05-09-2012, 07:45 PM | #21 |
(offline)
Posts: 2,907
Karma: 6736092
Join Date: Dec 2011
Device: K3, K4, K5, KPW, KPW2
|
"Miscellaneous"?
|
05-09-2012, 08:09 PM | #22 |
Carpe diem, c'est la vie.
Posts: 6,433
Karma: 10773668
Join Date: Nov 2011
Location: Multiverse 6627A
Device: K1 to PW3
|
How about:
"Miscellaneous-v5.1.0 (How amazon screwed the pooch, and other neglected topics.)" There are a number of different threads that contain off-topic discussions that we could fold into here -- especially the posts about 5.1.0 breaking stuff that works fine on other firmware versions. Last edited by geekmaster; 05-09-2012 at 08:17 PM. |
05-09-2012, 08:26 PM | #23 |
Going Viral
Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
|
|
05-10-2012, 07:35 PM | #24 |
Carpe diem, c'est la vie.
Posts: 6,433
Karma: 10773668
Join Date: Nov 2011
Location: Multiverse 6627A
Device: K1 to PW3
|
Another thing broken by 5.1.0:
waitforkey no longer returns keycodes for accelerometer rotation events. I was using those... |
05-14-2012, 11:29 AM | #25 | |
THE NOOB
Posts: 701
Karma: 1545649
Join Date: Jan 2012
Location: Italy
Device: Kindle Touch 5.3.2
|
Quote:
I'm here to report what I found! You can change a WAF config.xml file to add new lines to the messaging part. If you change it this way: Code:
<kindle:messaging> <kindle:app name="com.lab126.pillow" value="yes"/> <kindle:app name="com.lab126.system" value="yes"/> </kindle:messaging> Code:
kindle.messaging.sendMessage('com.lab126.system', 'takeScreenShot', '1'); This means WAFs can send every lipc message as listed with: Code:
lipc-probe -a Last edited by silver18; 05-14-2012 at 12:26 PM. |
|
11-23-2012, 05:22 PM | #26 | |
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Tır
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
|
Quote:
[root@kindle root]# eips -g /mnt/us/usr/bin/pictures/gameboy.png works okay on a 3 but actually [root@kindle root]# eips -g /mnt/us/usr/bin/pictures/gameboy.jpg works good as well Viz here: https://www.mobileread.com/forums/sho...&postcount=145 Thanks again mate Last edited by twobob; 11-23-2012 at 06:32 PM. |
|
11-23-2012, 09:38 PM | #27 |
BLAM!
Posts: 13,477
Karma: 26012494
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
|
@twobob: Well, it doesn't on the 4/5 (and eips is actually quite verbose, and when you ask it to print a png via -g, it actually asks for a PNG8, anything else and it chokes, or, worse, display garbage).
EDIT: Scratch that, on a 3 too, IIRC. How's your jpg encoded? |
11-23-2012, 10:10 PM | #28 |
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Tır
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://www.mobileread.com/forums/sho...&postcount=145
Attached there. Just seems to display 33% of the total image x axis. I'm not complaining. Works okay other than that (Perhaps Works "Good" was a bit of a stretch!!!, works with some love) HEH Last edited by twobob; 11-23-2012 at 10:30 PM. Reason: love |
11-23-2012, 10:11 PM | #29 | |
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Tır
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
|
Quote:
"Viddy or it never happened" and all that cripes I am not sure I should jump in Gimp and have a look... : ) Last edited by twobob; 11-23-2012 at 10:15 PM. |
|
11-23-2012, 11:46 PM | #30 |
BLAM!
Posts: 13,477
Karma: 26012494
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
|
Eh, yeah, the stretchy 33% thingy was part of what I meant by garbage, might have been a bit too strongly worded... ;-). Still better than what happens when feeding it a 16 or 24 bit PNG though :-)
Last edited by NiLuJe; 11-24-2012 at 12:58 PM. |