<html dir="ltr">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style id="owaParaStyle" type="text/css">P {margin-top:0;margin-bottom:0;}</style>
</head>
<body ocsi="0" fpstyle="1">
<div style="direction: ltr;font-family: Tahoma;color: #000000;font-size: 10pt;">So it skips song when you wal around?<br>
<br>
<br>
:)<br>
<br>
Pedro.<br>
<div style="font-family: Times New Roman; color: rgb(0, 0, 0); font-size: 16px;">
<hr tabindex="-1">
<div style="direction: ltr;" id="divRpF605733"><font color="#000000" face="Tahoma" size="2"><b>From:</b> maemo-developers-bounces@maemo.org [maemo-developers-bounces@maemo.org] on behalf of ext Sudheer K. [scifi1947@gmail.com]<br>
<b>Sent:</b> Thursday, July 28, 2011 8:39 PM<br>
<b>To:</b> maemo-developers@maemo.org<br>
<b>Subject:</b> How to create a MAFW plugin for Harmattan in Qt?<br>
</font><br>
</div>
<div></div>
<div>
<div>I am trying to create a plugin for Harmattan audio player that can be used to skip current song by shaking the phone. I got it to work by creating a daemon and monitoring dbus signals for mafw renderer. But I am looking for a more cleaner approach if it
 exists.</div>
<div><br>
</div>
<div>I have looked at the very detailed Media Application Framework wiki on <a href="http://maemo.org" target="_blank">
maemo.org</a> [1] and the source code on maemo garage but I am still (more) confused.</div>
<div><br>
</div>
<div>These are the basic questions I have.</div>
<div><br>
</div>
<div>- How can the audio player (or MAFW) recognize that a plugin exists and it has to be loaded when the player is launched?</div>
<div><br>
</div>
<div>- Is a Renderer type of plugin/extension suitable for my use case? Can an extension just add on to what the default Renderer is doing (like modify only play/pause/next methods)?</div>
<div><br>
</div>
<div>- Is it possible to do any of these things using qmafw (Qt) without touching GLib?</div>
<div><br>
</div>
<div>Can anyone shed some light?</div>
<div><br>
</div>
<div>~Sudheer</div>
<div><br>
</div>
<div>[1] <a href="http://wiki.maemo.org/Documentation/Maemo_5_Developer_Guide/Using_Multimedia_Components/Media_Application_Framework_(MAFW)" target="_blank">
http://wiki.maemo.org/Documentation/Maemo_5_Developer_Guide/Using_Multimedia_Components/Media_Application_Framework_(MAFW)</a></div>
</div>
</div>
</div>
</body>
</html>