Pierre Hébert​ I would expect this script to work when set in an item event. It does however crash the launcher.

Pierre Hébert​ I would expect this script to work when set in an item event. It does however crash the launcher.

I guess the item isn’t passed…

LL.bindClass(“java.lang.Integer”);

var i=new Intent();

i.setClassName(“net.pierrox.lightning_launcher_extreme”,”net.pierrox.lightning_launcher.activities.Dashboard”);

i.putExtra(“a”,new Integer(12));

LL.startActivity(i);

]]>

8 Commentsto Pierre Hébert​ I would expect this script to work when set in an item event. It does however crash the launcher.

  1. Anonymous says:

    < ![CDATA[

    I guess you need to pass extra data to the intent (id of the item maybe? )



    Oh, for the ‘pass an integer’ part you can use



    i[“putExtra(java.lang.String,int)”](“a”,12);

    ]]>

  2. Anonymous says:

    < ![CDATA[

    Indeed, the item is not given because the intent is processed as another event.


    There is LL.runAction but at the moment it does not allow an item to be passed neither. I should be able to add a variation of this method with an Item argument.

    ]]>

  3. Anonymous says:

    < ![CDATA[

    Yeah i tried the intent because the runAction wasn’t working. Maybe implement it as Data string? An item explicitely as argument is good too i guess.

    ]]>

  4. Anonymous says:

    < ![CDATA[

    An explicit Item argument is easier and more clear to use, at least when you already have it in the event context.

    ]]>

  5. Anonymous says:

    < ![CDATA[

    Waitng for it 🙂

    ]]>

  6. Anonymous says:

    < ![CDATA[

    Tomorrow most probably 🙂


    I have a list of bugs that I should be able to process tomorrow. As I am going to make big changes soon, I’ll publish an update before.

    ]]>

  7. Anonymous says:

    < ![CDATA[

    Big changes again? Cool! Waiting for that too 😉



    I don’t even have to ask what it is, it gonna be cool

    ]]>

  8. Anonymous says:

    < ![CDATA[

    More on this soon 🙂


    (hint: it has something to do with the editor UI)

    ]]>

Leave a Reply

Your email address will not be published. Required fields are marked *