February, 2016
now browsing by month
Hello.
Hello… Can I have some advice on how to auto refresh my app drawer? I use a lot of freezing and defrost apps to save battery. I noticed that the app icons won’t show in the drawer before I clicked on refresh.
Thanks
LL.bindClass(“java.math.BigDecimal”);
LL.bindClass(“java.math.RoundingMode”);
LL.bindClass(“java.math.MathContext”);
var a =3;
var b = RoundingMode.HALF_UP;
var c = new MathContext(a,b);
var d = new BigDecimal($cpu_total-$cpu_usage);
d.round(c);
i set this code to item’s binding (Label), but only shows “undefined”or”true”,”false”.
why?
]]>Hello!
Hello!
How can I customize LL as stock louncher? 4*4 big icons on screen and 5*1 icons on dockbar?
GUESS WHO’S BACK!!!!!!!!! But don’t get too excited. I’m on a Windows 10 desktop pc.
Hello there.
Hello there. How can I add swipe action to an item now? Tutorial on their site shows how to do it with earlier version of the UI
Hack for closing all folders on launching an app
In a situation like that a folder has sub-folders and panels, and its sub-folders/panels which have shortcuts or so, if user taps an shorcut(in folder/panel) to launch , then all opened folders will be closed.
01 // Desktop’s onPaused event handler
02 if (LL.getEvent().getContainer().getView().hasWindowFocus()) {
02 if (LL.getEvent().getContainer().getView().getAlpha() == 1) {
03 Â Â LL.runAction(EventHandler.CLOSE_ALL_FOLDERS);
04 }
Line 02 is a hack.
When user enters into edit mode, and then add items by using “All apps”, desktop’s onPaused event is called. If line 02 doesnt exist, to-be-added apps wil be added to desktop, not to a folder/panel where user wanted to add.
]]>Hi Pierre Hébert​​​, could you add a permission package with android.permission.STATUS_BAR
I’m testing some things, and I need that permission.
What I found so far is this (important! It won’t probably work on most devices)
Expand notification tray:
var sbservice = LL.getContext().getSystemService( “statusbar” );
sbservice.expandNotificationsPanel();
Expand quick settings:
var sbservice = LL.getContext().getSystemService( “statusbar” );
sbservice.expandSettingsPanel();
Hide clock (needs the permission, not sure if this work):
var sbservice = LL.getContext().getSystemService( “statusbar” );
sbservice.disable(sbservice.DISABLE_CLOCK);
]]>