Archives
now browsing by author
Does anybody know if there’s an android o style app plugin?
Script ‘Fix for Oreo app drawer not refreshed on LL 14.2’
Important!
This is a script to fix the bug ‘apps are not updated on the app drawer automatically’. This happens on Android Oreo and above with LL version 14.2. If you don’t use Oreo or you are reading this from the future when a new LL version is available (to be more precise: if when you install a new app it is added automatically to the app drawer) then you do NOT need this script. Otherwise, if you have the mentioned bug, keep reading.
On Android Oreo the way to detect installed/uninstalled/updated apps was changed. Previously any app could register to a broadcast that was sent when a package was installed, uninstalled or updated. Since Oreo that feature was removed and the broadcast isn’t sent. There are two ways to fix this: register to the broadcast while the app is running (it will be lost if the app closes…and personally couldn’t make it work) or use a new function that tells you which packages were updated since a previous call.
I could make this second way work, with some caveats, but under normal circumstances it should work.
When running the script below the app drawer will be updated. It requires manual calling but it is fast so I recommend setting the script to run on the RESUMED event of the app drawer. This way when opening it will be updated.
Known bugs: when the device is restarted (turn off/on) the list is cleared, so if you install/uninstall an app and then restarts without running the script, that app won’t be updated correctly. Remember you can use the ‘refresh’ function from the app drawer to fix this.
Also, keep in mind this is a temporary fix that can have unknown bugs or work incorrectly on some devices/versions. Make a backup first!!! (just in case).
Comment anything you found, and if you know how to fix something or make the script more reliable don’t hesitate to do so and share!
To recap: make a backup, set this script to run in the resumed event of the app drawer, and keep in mind you will probably need to refresh after a device restart.
]]>I am having trouble getting background wallpaper to scroll.
can someone share an example script to change the background color of a panel.
I’m having trouble even identifying the panel via script.
var p = LL.getCurrentDesktop.getContainerById(‘#790001’);
does not work
var p = LL.getCurrentDesktop.getItemByName(‘myPanel’);
does not work
var p = LL.getEvent().getContainer();
does not work.
once I get the panel via code I’m also having trouble accessing the background color property.
Box documentation shows that I would use a string such as:
cn:0xffff0000
but where? example– item.SetBoxBackground(‘cn:0xffff0000’);
does not work. nor anything else I’ve tried.
I’ve found very little documentation about this. Any help would be appreciated.
]]>Is there any way to get LL to display correctly in reverse portrait mode.
Is there any way to get LL to display correctly in reverse portrait mode. I put my phone upside down in my charging cradle so I can utilize the microUSB port. I set LL to sensor and it will follow the orientation except when upside down it just displays normal portrait.
Is it possible to open a folder on top of the application?
How do I eliminate blank pages from my desktop? Thanks for any help.
How do I eliminate blank pages from my desktop? Thanks for any help.
This is a quick tutorial for a simple scrollable dock that’s found in most launchers its lengthy but I was going…
Recently I’ve been thinking about making an official Lightning Launcher Discord (https://discordapp.com/) because I…
I don’t have experience in running a Discord server (I’m an user of some, but not admin) so feel free to share your thoughts. The admins will be the same as here (if they want of course) and maybe in the future more will be promoted. We can take advantage to the fact this is not very active, and check how things go. Perhaps even it will help when Pierre comes back.
As I said this is just an idea, it doesn’t necessarily mean it will be done, but I just wanted to share it and see what do you think.
]]>