If i want to link some special URL for automatic run the API on Music player which is…
If i want to link some special URL for automatic run the API on Music player which is “melonapp://play?cid=1901050&ctype=1&menuid=2079”; if I run that API then play favorite rank 100 as i set previously.
How can I handle function on LL. I can’t find on setting or shortcut , etc..
]]>« I’m trying to create a kid desktop. (Previous Post)
(Next Post) full container screenshot utility »
< ![CDATA[
A script is what you need:
var intent=new Intent(Intent.ACTION_VIEW,Uri.parse(“melonapp://play?cid=1901050&ctype=1&menuid=2079”))
LL.startActivity(intent);
Optionally you can use this to create a shortcut directly:
var intent=new Intent(Intent.ACTION_VIEW,Uri.parse(“melonapp://play?cid=1901050&ctype=1&menuid=2079”))
LL.getEvent().getContainer().addShortcut(“rank 100”,intent,0,0);
]]>
< ![CDATA[
TrianguloY could you better explain how this method works and its syntax? It sounds to be very interesting 🙂
]]>
< ![CDATA[
Simone Boccuzzi it’s only an intent, nothing difficult, nothing strange. The intent is created with that uri as parameter…and then it is launched (or in the second script a shortcut is made with it)
]]>
< ![CDATA[
TrianguloY I almost succeed about it. But when i run that script, add weird 1 song automatically at playlist, everytime.
]]>
< ![CDATA[
HEEKWON LEE I’m sorry but I can’t help more. Maybe the intent need an specific action or something.
As you already know the uri to use, maybe you know how the full intent need to be. In that case just modify it as needed…Or ask
]]>