Does anyone have a script to play music. Just want to press and it resume playing my music. Thanks

Does anyone have a script to play music. Just want to press and it resume playing my music. Thanks

]]>

15 Commentsto Does anyone have a script to play music. Just want to press and it resume playing my music. Thanks

  1. Anonymous says:

    < ![CDATA[

    Check on playstore for a music widget


    It’s fine with ZooperWidget and the music utility


    Or music utility and script


    Or a real music widget

    ]]>

  2. Anonymous says:

    < ![CDATA[

    Try:


    var i = new Intent(“com.android.music.musicservicecommand”);


    i.putExtra(“command”, “togglepause”);


    LL.getContext().sendBroadcast(i);

    ]]>

  3. Anonymous says:

    < ![CDATA[

    You should be able to replace “togglepause” with “play” , “pause”, ” next” and “previous”. Not tested but should work I think.

    ]]>

  4. Anonymous says:

    < ![CDATA[

    Thanks guys. Will give it a try.

    ]]>

  5. Anonymous says:

    < ![CDATA[

    Thanks guys. Will give it a try.

    ]]>

  6. Anonymous says:

    < ![CDATA[

    Says “reference error ‘intent’ is not defined.

    ]]>

  7. Anonymous says:

    < ![CDATA[

    Is “var i = new Intent(……” all on 1 line?

    ]]>

  8. Anonymous says:

    < ![CDATA[

    Just tried it works for me

    ]]>

  9. Anonymous says:

    < ![CDATA[

    Yes all one line. I’m on a HTC one so I wonder if the path is different.

    ]]>

  10. Anonymous says:

    < ![CDATA[

    Make sure you copy all capital letters correctly. It seems you copied intent instead of Intent

    ]]>

  11. Anonymous says:

    < ![CDATA[

    Did a direct copy and paste into the script. Still no luck.

    ]]>

  12. Anonymous says:

    < ![CDATA[

    Jinx x Is the same error? (The ‘intent is not defined’ one)


    If it is, place this line at the beginning:


    LL.bindClass(“android.content.Intent”);


    Otherwise write here the error you are getting

    ]]>

  13. Anonymous says:

    < ![CDATA[

    The error is – At line 1: ReferenceError: “Intent” is not defined. (Script 1)


    With that line added error is – At line 1: TypeError: Cannot find function bindClass in object net.perrox.lightning_launcher.c.a.i@44153978.(Script 1)

    ]]>

  14. Anonymous says:

    < ![CDATA[

    Are you in the latest version? 10.6 stable version, 10.7 beta version

    ]]>

  15. Anonymous says:

    < ![CDATA[

    Sorted! I didn’t update LL (I have auto updates turned off). Haven’t for a while Stupid really, should have checked that first! Original script worked. Thanks everyone. 

    ]]>

Leave a Reply

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