Simone Boccuzzi (KLR)

now browsing by tag

 
 

Just a quick question

Just a quick question

Can scenes and transitions be used in LL?

EDIT: transitions works by using the rootView of a single item, what about scenes instead?

]]>

Hi guys, it’s been a little while from last time xD

Hi guys, it’s been a little while from last time xD

I have a question for the advanced users:

There is a way to call the “Add Item” menu in a specific container?

]]>

I’m trying to set a progressBar in a custom view.

I’m trying to set a progressBar in a custom view.

I set all things necessary but I can’t find out a way to set the horrizontal style (cause here there is not a XML file xD), so it shows me an indeterminate indicator…

Someone could help me??

]]>

There is a way to know if a script is still running?

There is a way to know if a script is still running?

Let me explain better…

I have this kind of script:

//start—

var script=LL.getScriptByName(“name”);

script.setTag(“something”,something)

LL.runScript(“name”,0);

/in the other script i do something and then i set a tag on that script/

var value=script.getTag(“otherthing”);

//do something with value

//end—

the other script takes time to do all its calculations and in the meanwhile the current script has already taken the tag from that script.

In this way the current script takes always the tag of the precedent execution!

That’s why i need to know if the other script is still running.

P.S. i already tried to use JSON for a faster data passing, but nothing has changed…

]]>

I’m trying to create a composed color using a color choosed by me and another preset color that goes in overlay.

I’m trying to create a composed color using a color choosed by me and another preset color that goes in overlay.

To do this i used some android classes and this is the outcome:

var color = LL.pickColor(“”,some color,false);

var add = 0x9050…..;

var drawable = new ColorDrawable(color);

drawable.setColorFilter(add,PorterDuff.Mode.OVERLAY);

var col = drawable.getColor();

It gives me no error, but it returns always the choosed color.

I tried with other different PorterDuff modes and the result is always the same…

Am I doing something wrong or this is impracticable on LL?

Please i need a quick answer!!

EDIT: I did some research and i realized that setting a color filter on a ColorDrawable has no effect…

There is still another way to do the same thing??

]]>

I don’t know if it is a bug or I am doing something wrong…

I don’t know if it is a bug or I am doing something wrong…

Someone could help me??

]]>

How can i change statusbar and navigationbar color in the App Drawer?

How can i change statusbar and navigationbar color in the App Drawer?

I searched on script api, but i don’t find nothing about it

]]>

Absurd question time

Absurd question time

i’ve noticed that when i go to “Change the desktop wallpaper…” and i pick an image through the LL file picker, appears a kind of LL integrated wallpaper cropper.

Could there be a way to retrieve it through scripts when i use pickImage method?

]]>

Is it possible to display an item only when the music is playing??

Is it possible to display an item only when the music is playing??

]]>

Quick question

Quick question

How can i detele an item through script??

]]>