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
]]>
« Quick question – somehow my App Drawer is frozen, it does not update if I add new apps through the store. (Previous Post)
(Next Post) groon LLX Theme\Template »
< ![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
]]>
< ![CDATA[
Try:
var i = new Intent(“com.android.music.musicservicecommand”);
i.putExtra(“command”, “togglepause”);
LL.getContext().sendBroadcast(i);
]]>
< ![CDATA[
You should be able to replace “togglepause” with “play” , “pause”, ” next” and “previous”. Not tested but should work I think.
]]>
< ![CDATA[
Thanks guys. Will give it a try.
]]>
< ![CDATA[
Thanks guys. Will give it a try.
]]>
< ![CDATA[
Says “reference error ‘intent’ is not defined.
]]>
< ![CDATA[
Is “var i = new Intent(……” all on 1 line?
]]>
< ![CDATA[
Just tried it works for me
]]>
< ![CDATA[
Yes all one line. I’m on a HTC one so I wonder if the path is different.
]]>
< ![CDATA[
Make sure you copy all capital letters correctly. It seems you copied intent instead of Intent
]]>
< ![CDATA[
Did a direct copy and paste into the script. Still no luck.
]]>
< ![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
]]>
< ![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)
]]>
< ![CDATA[
Are you in the latest version? 10.6 stable version, 10.7 beta version
]]>
< ![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.
]]>