Simone Boccuzzi (KLR)

now browsing by tag

 
 

This is the first of a list of Bug Report posts.

This is the first of a list of Bug Report posts.

In this way we can focus our attention and discuss them one by one.

Bindings are NOT updated in a “matryoshka” of containers

I saw that someone already report a similiar bug but with folders, maybe both are causes of the same thing…

For matryoshka of containers I mean many containers one inside the others (obviously).

For example, we suppose to be in this generic context:

Desktop (yes, it is also a container) -> container1 -> container2 -> item

Well, the bindings setted to that item (or container, dynamic text, customView..) will be not updated unless we restart LL.

This happen only when 3 or more cointainers are involved && every time LL is paused and then resumed.

The usual question

Someone has already addressed or can confirm this bug?

]]>

This morning, while I was “playing” with scripts, I saw two new methods suggested – setFrameCount() &…

This morning, while I was “playing” with scripts, I saw two new methods suggested – setFrameCount() & setFrameDuration() -.

I searched them in the script API but I can’t find them.

Anyone can tell me more about?

]]>

Pierre Hébert did you already know AndroidJSCore??

Pierre Hébert did you already know AndroidJSCore??

If no, you may find it interesting 😉

Source link: https://github.com/ericwlange/AndroidJSCore

https://github.com/ericwlange/AndroidJSCore
]]>

Pierre Hébert​ and this is the video that shows how the intent works

Pierre Hébert​ and this is the video that shows how the intent works

]]>

How should I use onActivityResult method in LL?

How should I use onActivityResult method in LL?

I used startActivityForResult(Intent, requestCode) to start the activity but I can’t find out a way to use correctly onActivityResult(requestCode, resultCode, data) in Lightning Launcher.

Someone could help me please?

Here is the documentation: http://developer.android.com/reference/android/app/Activity.html#onActivityResult(int,int,android.content.Intent)

]]>

Generally when a view like CheckBox, Switch, Seekbar(ecc…) is created and showed in lightning launcher context it…

Generally when a view like CheckBox, Switch, Seekbar(ecc…) is created and showed in lightning launcher context it takes a default color: the orange.

There is a way to change that default color through scripts?

]]>

I can’t import the class “android.provider.Settings.System” , LL says not defined to every object inherent: “System”…

I can’t import the class “android.provider.Settings.System” , LL says not defined to every object inherent: “System” not defined || “Settings” not defined and so on… 

Someone encountered the same problem?

]]>

A request for a new method

A request for a new method

Pierre Hébert Some days ago I explained my problem/request in this post:

https://plus.google.com/113118516831358902202/posts/BrotoGjPK28

With Lukas Morawietz and TrianguloY I found a solution but it is not so efficient ’cause it requires to be applied 2 times and also some restarts…

What I’m asking to you is if it could be possible to implement a new method in LL script API that aims to apply directly a style to a container with immediately visual results (namely that updates properties it-self).

Perhaps with a structure similar to this:

var path= LL.getContext().getFilesDir()+”/themes/”+styleName;

container.setContainerStyle(path);

It would be nice if it can automatically apply default item background images, masks ecc.

]]>

Hi guys

Hi guys,

There is a way to set styles to containers (through scripting obviously)?

]]>

How can i create a float array on LL?

How can i create a float array on LL?

I know, it’s the stupidest question i ever made here… But I can’t find out a way!

I tried different classic java syntaxes, but it always shows up “Syntax Error”

]]>