scifi1947 at gmail
Jul 28, 2011, 1:20 PM
Post #3 of 3
Unless you can walk sideways rapidly, No :)
Re: How to create a MAFW plugin for Harmattan in Qt?
[In reply to]
Jokes apart, it is only triggered when you shake the phone sideways. Check
this clip -> http://www.youtube.com/watch?v=lwfXHgGAktc
And in harmattan accelerometer is paused/disabled when the display times
out. I also use a threshold to avoid accidental triggers, which can be
configured. So this should prevent accidental triggers in most common
On Thu, Jul 28, 2011 at 11:57 AM, <pedro.larroy [at] nokia> wrote:
> So it skips song when you wal around?
> *From:* maemo-developers-bounces [at] maemo [
> maemo-developers-bounces [at] maemo] on behalf of ext Sudheer K. [
> scifi1947 [at] gmail]
> *Sent:* Thursday, July 28, 2011 8:39 PM
> *To:* maemo-developers [at] maemo
> *Subject:* How to create a MAFW plugin for Harmattan in Qt?
> 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.
> I have looked at the very detailed Media Application Framework wiki on
> maemo.org  and the source code on maemo garage but I am still (more)
> These are the basic questions I have.
> - How can the audio player (or MAFW) recognize that a plugin exists and
> it has to be loaded when the player is launched?
> - 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)?
> - Is it possible to do any of these things using qmafw (Qt) without
> touching GLib?
> Can anyone shed some light?