<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://www.mediamonkey.com/wiki/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Bhiefer</id>
	<title>MediaMonkey Wiki - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://www.mediamonkey.com/wiki/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Bhiefer"/>
	<link rel="alternate" type="text/html" href="https://www.mediamonkey.com/wiki/Special:Contributions/Bhiefer"/>
	<updated>2026-05-09T23:31:05Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.41.4</generator>
	<entry>
		<id>https://www.mediamonkey.com/wiki/index.php?title=MediaMonkey_for_Android_dev_docs&amp;diff=8779</id>
		<title>MediaMonkey for Android dev docs</title>
		<link rel="alternate" type="text/html" href="https://www.mediamonkey.com/wiki/index.php?title=MediaMonkey_for_Android_dev_docs&amp;diff=8779"/>
		<updated>2015-08-25T10:30:19Z</updated>

		<summary type="html">&lt;p&gt;Bhiefer: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;!------------Strapline immediately below banner----------&amp;gt; &lt;br /&gt;
{| style=&amp;quot;width:100%; background:none; margin:-.8em 0 -.7em 0;&amp;quot; class=&amp;quot;plainlinks&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;font-size:95%; padding:10px 0; margin:0px; text-align:left; white-space:nowrap; color:#000;&amp;quot; | &lt;br /&gt;
[http://www.mediamonkey.com/support/index.php?/Knowledgebase/List/Index/12/mediamonkey-for-android Android Knowledgebase]&amp;amp;nbsp;&#039;&#039;&#039;·&#039;&#039;&#039; [http://www.mediamonkey.com/forum/viewforum.php?f=25 Android Forum]&amp;amp;nbsp; &#039;&#039;&#039;·&#039;&#039;&#039; [http://www.mediamonkey.com/android Download] &lt;br /&gt;
| style=&amp;quot;font-size:95%; padding:10px 0; margin:0px; text-align: right; white-space:nowrap; color:#000;&amp;quot; | [[Special:Statistics|{{NUMBEROFARTICLES}}]] articles&amp;amp;nbsp;&#039;&#039;&#039;·&#039;&#039;&#039; [[Special:Allpages|Article Index]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
This page contains information for developers who wish to interface with MediaMonkey for Android.&lt;br /&gt;
&lt;br /&gt;
= Intents =&lt;br /&gt;
&lt;br /&gt;
MMA has broadcast receivers to listen for intents from external apps/remote devices. &lt;br /&gt;
&lt;br /&gt;
== android.intent.action.MEDIA_BUTTON ==&lt;br /&gt;
&lt;br /&gt;
Broadcast Action: This intent is sent when media button is pressed and you can use it to control MMA playback. This intent can control other Android players too.  &amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Input:&#039;&#039;&#039; Includes a single extra field, [http://developer.android.com/reference/android/content/Intent.html#EXTRA_KEY_EVENT EXTRA_KEY_EVENT], containing the [http://developer.android.com/reference/android/view/KeyEvent.html KeyEvent] that caused this event. MMA will respond on these key codes:&lt;br /&gt;
  &lt;br /&gt;
* KeyEvent.KEYCODE_HEADSETHOOK&lt;br /&gt;
* KeyEvent.KEYCODE_MEDIA_PLAY&lt;br /&gt;
* KeyEvent.KEYCODE_MEDIA_PLAY_PAUSE&lt;br /&gt;
* KeyEvent.KEYCODE_MEDIA_PAUSE&lt;br /&gt;
* KeyEvent.KEYCODE_MEDIA_NEXT&lt;br /&gt;
* KeyEvent.KEYCODE_MEDIA_PREVIOUS&lt;br /&gt;
* KeyEvent.KEYCODE_MEDIA_FAST_FORWARD&lt;br /&gt;
* KeyEvent.KEYCODE_MEDIA_REWIND&lt;br /&gt;
* KeyEvent.KEYCODE_MEDIA_STOP&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039; Output: &#039;&#039;&#039; nothing&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039; Examples of use: &#039;&#039;&#039;&lt;br /&gt;
&amp;lt;source lang=&amp;quot;java&amp;quot;&amp;gt;&lt;br /&gt;
Intent intent = new Intent();&lt;br /&gt;
intent.setAction(&amp;quot;android.intent.action.MEDIA_BUTTON&amp;quot;);&lt;br /&gt;
intent.putExtra(Intent.EXTRA_KEY_EVENT, new KeyEvent(KeyEvent.ACTION_DOWN, KeyEvent.KEYCODE_MEDIA_PLAY_PAUSE));&lt;br /&gt;
&lt;br /&gt;
// ATTENTION: Broadcast should be ordered.&lt;br /&gt;
sendOrderedBroadcast(intent, null);&lt;br /&gt;
&lt;br /&gt;
intent = new Intent();&lt;br /&gt;
intent.setAction(&amp;quot;android.intent.action.MEDIA_BUTTON&amp;quot;);&lt;br /&gt;
intent.putExtra(Intent.EXTRA_KEY_EVENT, new KeyEvent(KeyEvent.ACTION_UP, KeyEvent.KEYCODE_MEDIA_PLAY_PAUSE)); &lt;br /&gt;
&lt;br /&gt;
// ATTENTION: Broadcast should be ordered.&lt;br /&gt;
sendOrderedBroadcast(intent, null);&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== com.ventismedia.android.mediamonkey.ACTION_MEDIA_BUTTON ==&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Note:&#039;&#039;&#039; Implemented since 1.1.3.468.&lt;br /&gt;
&lt;br /&gt;
Broadcast Action: This intent has exactly the same usage as &#039;&#039;&#039;android.intent.action.MEDIA_BUTTON&#039;&#039;&#039; but it is received only by MMA. It is an alternative to &#039;&#039;&#039;android.intent.action.MEDIA_BUTTON&#039;&#039;&#039; which is also received by other players and it&#039;s therefore important which player receives it as first.&lt;br /&gt;
&lt;br /&gt;
== com.ventismedia.android.mediamonkey.ACTION_START_SYNCHRONIZATION ==&lt;br /&gt;
&lt;br /&gt;
Broadcast Action: Use it to start MMA wifi synchronization. This synchronization will start on background but it can request user interaction via notifications (like delete and upload confirmations or sync server selection). &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039; Input:&#039;&#039;&#039; nothing &amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039; Output:&#039;&#039;&#039; nothing &amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039; Examples of use: &#039;&#039;&#039;&lt;br /&gt;
&amp;lt;source lang=&amp;quot;java&amp;quot;&amp;gt;&lt;br /&gt;
sendBroadcast(new Intent(&amp;quot;com.ventismedia.android.mediamonkey.ACTION_START_SYNCHRONIZATION&amp;quot;));&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;/div&gt;</summary>
		<author><name>Bhiefer</name></author>
	</entry>
	<entry>
		<id>https://www.mediamonkey.com/wiki/index.php?title=MediaMonkey_for_Android_dev_docs&amp;diff=8778</id>
		<title>MediaMonkey for Android dev docs</title>
		<link rel="alternate" type="text/html" href="https://www.mediamonkey.com/wiki/index.php?title=MediaMonkey_for_Android_dev_docs&amp;diff=8778"/>
		<updated>2015-08-25T10:19:14Z</updated>

		<summary type="html">&lt;p&gt;Bhiefer: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;!------------Strapline immediately below banner----------&amp;gt; &lt;br /&gt;
{| style=&amp;quot;width:100%; background:none; margin:-.8em 0 -.7em 0;&amp;quot; class=&amp;quot;plainlinks&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;font-size:95%; padding:10px 0; margin:0px; text-align:left; white-space:nowrap; color:#000;&amp;quot; | &lt;br /&gt;
[http://www.mediamonkey.com/support/index.php?/Knowledgebase/List/Index/12/mediamonkey-for-android Android Knowledgebase]&amp;amp;nbsp;&#039;&#039;&#039;·&#039;&#039;&#039; [http://www.mediamonkey.com/forum/viewforum.php?f=25 Android Forum]&amp;amp;nbsp; &#039;&#039;&#039;·&#039;&#039;&#039; [http://www.mediamonkey.com/android Download] &lt;br /&gt;
| style=&amp;quot;font-size:95%; padding:10px 0; margin:0px; text-align: right; white-space:nowrap; color:#000;&amp;quot; | [[Special:Statistics|{{NUMBEROFARTICLES}}]] articles&amp;amp;nbsp;&#039;&#039;&#039;·&#039;&#039;&#039; [[Special:Allpages|Article Index]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
This page contains information for developers who wish to interface with MediaMonkey for Android.&lt;br /&gt;
&lt;br /&gt;
= Intents =&lt;br /&gt;
&lt;br /&gt;
MMA has broadcast receivers to listen for intents from external apps/remote devices. &lt;br /&gt;
&lt;br /&gt;
== android.intent.action.MEDIA_BUTTON ==&lt;br /&gt;
&lt;br /&gt;
This intent is sent when media button is pressed and you can use it to control MMA playback. This intent can control other Android players too.  &amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Input:&#039;&#039;&#039; Includes a single extra field, [http://developer.android.com/reference/android/content/Intent.html#EXTRA_KEY_EVENT EXTRA_KEY_EVENT], containing the [http://developer.android.com/reference/android/view/KeyEvent.html KeyEvent] that caused this event. MMA will respond on these key codes:&lt;br /&gt;
  &lt;br /&gt;
* KeyEvent.KEYCODE_HEADSETHOOK&lt;br /&gt;
* KeyEvent.KEYCODE_MEDIA_PLAY&lt;br /&gt;
* KeyEvent.KEYCODE_MEDIA_PLAY_PAUSE&lt;br /&gt;
* KeyEvent.KEYCODE_MEDIA_PAUSE&lt;br /&gt;
* KeyEvent.KEYCODE_MEDIA_NEXT&lt;br /&gt;
* KeyEvent.KEYCODE_MEDIA_PREVIOUS&lt;br /&gt;
* KeyEvent.KEYCODE_MEDIA_FAST_FORWARD&lt;br /&gt;
* KeyEvent.KEYCODE_MEDIA_REWIND&lt;br /&gt;
* KeyEvent.KEYCODE_MEDIA_STOP&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039; Output: &#039;&#039;&#039; nothing&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039; Examples of use: &#039;&#039;&#039;&lt;br /&gt;
&amp;lt;source lang=&amp;quot;java&amp;quot;&amp;gt;&lt;br /&gt;
Intent intent = new Intent();&lt;br /&gt;
intent.setAction(&amp;quot;android.intent.action.MEDIA_BUTTON&amp;quot;);&lt;br /&gt;
intent.putExtra(Intent.EXTRA_KEY_EVENT, new KeyEvent(KeyEvent.ACTION_DOWN, KeyEvent.KEYCODE_MEDIA_PLAY_PAUSE));&lt;br /&gt;
&lt;br /&gt;
getActivity().sendOrderedBroadcast(intent, null);&lt;br /&gt;
&lt;br /&gt;
intent = new Intent();&lt;br /&gt;
intent.setAction(&amp;quot;android.intent.action.MEDIA_BUTTON&amp;quot;);&lt;br /&gt;
intent.putExtra(Intent.EXTRA_KEY_EVENT, new KeyEvent(KeyEvent.ACTION_UP, KeyEvent.KEYCODE_MEDIA_PLAY_PAUSE));&lt;br /&gt;
&lt;br /&gt;
getActivity().sendOrderedBroadcast(intent, null);&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Attention:&#039;&#039;&#039; Broadcast should be ordered.&lt;br /&gt;
&lt;br /&gt;
== com.ventismedia.android.mediamonkey.ACTION_MEDIA_BUTTON ==&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Note:&#039;&#039;&#039; Implemented since 1.1.3.468.&lt;br /&gt;
&lt;br /&gt;
This intent has exactly the same usage as &#039;&#039;&#039;android.intent.action.MEDIA_BUTTON&#039;&#039;&#039; but it is received only by MMA. It is an alternative to &#039;&#039;&#039;android.intent.action.MEDIA_BUTTON&#039;&#039;&#039; which is also received by other players and it&#039;s therefore important which player receives it as first.&lt;br /&gt;
&lt;br /&gt;
== com.ventismedia.android.mediamonkey.ACTION_START_SYNCHRONIZATION ==&lt;br /&gt;
&lt;br /&gt;
Service intent: Use it to start MMA wifi synchronization. This synchronization will start on background but it can request user interaction via notifications (like delete and upload confirmations or sync server selection). &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039; Input:&#039;&#039;&#039; nothing &amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039; Output:&#039;&#039;&#039; nothing &amp;lt;br /&amp;gt;&lt;/div&gt;</summary>
		<author><name>Bhiefer</name></author>
	</entry>
</feed>