04-09-2013, 12:10 PM | #16 |
( ͡° ͜ʖ ͡°){ʇ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
|
So... Are we calling this "Done" for now?
I would like to trace the spurious "Unable to launch application error" - do you get that on the touch? I'm right in the middle of the KUAL testing but will shove this on the "To Test" pile for afterwards if you didn't get that on the touch. Maybe shove together a few use cases? |
04-09-2013, 12:15 PM | #17 | |
*
Posts: 35
Karma: 145852
Join Date: Apr 2013
Device: Kindle Touch
|
Unfortunately we can't right now, the bash addition causes the app to close regulary, but I am looking into this right now.
Quote:
That would be nice, I think thats a job for when these things are done. One addition I'd also like to make is a horizontal setting |
|
Advert | |
|
04-09-2013, 12:18 PM | #18 |
*
Posts: 35
Karma: 145852
Join Date: Apr 2013
Device: Kindle Touch
|
Small addition: I just found out there has to be a way to fetch events from powerd! it is in the file /usr/share/webkit-1.0/pillow/javascripts/simple_alert_config.js I hope I get this soon.
EDIT: Found out the command and syntax! Code:
nativeBridge.subscribeToEvent(appID, appEvent) Now I only have to find out how to catch this Last edited by PaulFreund; 04-09-2013 at 12:22 PM. Reason: New findings |
04-09-2013, 12:29 PM | #19 |
( ͡° ͜ʖ ͡°){ʇ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
|
There the whole time on the PW. I will investigate the logs then when the time comes.
I did mention it I reckon in passing. I did note it died from Time to Time - good to know you are on that. Excellent work on the js based event thing. I shall leave it in your capable hands then until such a time as it requires indexing. Or I get this KUAL thing tied down with the team and time becomes available again. |
04-09-2013, 01:46 PM | #20 |
*
Posts: 35
Karma: 145852
Join Date: Apr 2013
Device: Kindle Touch
|
After trying to register an invalid dbus listener the app started to crash on launch for me, maybe it has something to do with the dbus-monitor function. But I hope we won't need it anymore in a couple of minutes, I can already listen to onCharging ;D
|
Advert | |
|
04-09-2013, 01:54 PM | #21 |
( ͡° ͜ʖ ͡°){ʇ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
|
ROCK HANDS!
Be glad to see the back of it. |
04-09-2013, 02:43 PM | #22 |
*
Posts: 35
Karma: 145852
Join Date: Apr 2013
Device: Kindle Touch
|
As described here I found out how to receive system messages ! (it's very likely those are from DBUS)
And I now know why your code is working. At least on my Kindle Touch the power goingToScreenSaver doesnt get fired when preventScreenSaver is set to 1. Probably this behaviour is different on the paperWhite. Could you verify this with "dbus-monitor --system" on your PW? |
04-09-2013, 03:26 PM | #23 | |
but forgot what it's like
Posts: 741
Karma: 2345678
Join Date: Dec 2011
Location: north (by northwest)
Device: Kindle Touch
|
Quote:
|
|
04-09-2013, 03:45 PM | #24 |
Going Viral
Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
|
Hmm...
I wonder where they got the name: Lite InterProcess Communications (LIPC) ? Duh... |
04-09-2013, 03:51 PM | #25 |
but forgot what it's like
Posts: 741
Karma: 2345678
Join Date: Dec 2011
Location: north (by northwest)
Device: Kindle Touch
|
I think, L stands for Lab126, but, yeah, IPC is most likely "interprocess communication"
|
04-09-2013, 04:20 PM | #26 |
*
Posts: 35
Karma: 145852
Join Date: Apr 2013
Device: Kindle Touch
|
|
04-09-2013, 04:34 PM | #27 |
*
Posts: 35
Karma: 145852
Join Date: Apr 2013
Device: Kindle Touch
|
If somebody wants to test if he gets the goingToScreenSaver event with WebLaunch, include
Code:
var appName = 'com.PaulFreund.WebLaunch'; pillowHelper.RequestStatusBarEvent( appName, 'com.lab126.powerd', 'goingToScreenSaver' ); pillowHelper.RegisterStatusBarEventCallback( appName, function(value) { document.write(JSON.stringify(value)); } ); Code:
var sessionSettings = settings; Code:
return; Code:
//------------------------------------------------------------- // Open application function openApp(state) { Code:
pillowHelper.UnRegisterStatusBarEventCallback(appName); Code:
//------------------------------------------------------------- // restore status bar on close function closeApp() { To test please press the power button while preventScreenSaver set to 0 or to 1 Last edited by PaulFreund; 04-09-2013 at 04:34 PM. Reason: forgot something |
04-09-2013, 04:46 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
|
If you push that up I'll happily grab a build and abuse it... Err I mean test it.
|
04-09-2013, 05:00 PM | #29 |
*
Posts: 35
Karma: 145852
Join Date: Apr 2013
Device: Kindle Touch
|
|
04-09-2013, 05:20 PM | #30 |
( ͡° ͜ʖ ͡°){ʇ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
|
I'll go see what is there.
|
Tags |
launcher add-ons, mesquite, webapp |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[PB 622] Browser icon disappeared from Applications folder | Roddy | PocketBook | 1 | 11-16-2012 08:11 AM |
Kindle Fire Web Browser will likely allow for web based games. | sirmaru | Kindle Fire | 10 | 11-15-2011 03:55 PM |
602 web browser | nel | PocketBook | 8 | 06-14-2011 09:25 AM |
web browser | bZkindle | Sony Reader | 8 | 05-04-2011 10:13 AM |
FullScreen on Kindle Browser | SunLight | Amazon Kindle | 7 | 10-11-2010 05:30 PM |