This intent launches a certain playlist in Blackplayer i’d like to write a script to do it but I have no idea how to…
This intent launches a certain playlist in Blackplayer i’d like to write a script to do it but I have no idea how to code this its got things i’ve never seen before in an intent. Lil help.
#Intent;launchFlags=0x10008000;component=com.kodarkooperativet.blackplayerex/.activities.ShortcutActivity;S.mime_type=vnd.android.cursor.dir%2Fplaylist;B.open_player=true;i.id=3;S.title=BlackPlayer%20Favorites;B.shuffle=true;end
]]>« Is it possible to implement a widget or an object where we could use handy gestures ? (Previous Post)
(Next Post) Dear all »
< ![CDATA[
Run this from the item you want to edit. Paste that whole string (“#intent;launch…true;end”) and should be done. 🙂
var uri = prompt(“Write the intent uri here”,””);
if(uri==null) return;
var intent=Intent.parseUri(uri,0);
getEvent().getItem().setIntent(intent);
Edit: the script is a ‘intent setter’, it modifies the item you run it with the input intent. This means the script is necessary only to set the intent, not to launch it (don’t set the script as the tap event!)
]]>
< ![CDATA[
nice 1 👍
]]>