Am Sonntag, den 28.12.2008, 18:42 +0100 schrieb Gian Uberto Lauri:
> Quoting arne anka <openm...@ginguppin.de>:
> 
> >> It it the frameworkd itself that will play sounds?
> >
> > yepp.
> >
> >> Where is this configured?
> >
> > /etc/freesmartphone/opreferences/conf/phone/default.yaml
> 
> So you need to hack the frameworkd to do something like playing a custom tone
> when there's a call from a certain number ?

Frameworkd offers oeventsd -- which is a customizable rules interpreter
-- used for simple plugging triggers to actions. With frameworkd, we
ship a set of rules, which happen to cover some of the basics such as
- shutting down the system on low battery
- glowing the led on charging
- playing a sound on incoming phone call
- changing the audio scenario if on-call
- adjusting the audio scenario, if you plug in a headset
etc. etc.

You have to realize that these rules are just something we _offer_ for
convenience, i.e. for console installations and giving a kickstart to
folks who want to work on their own phone software.

If you're writing a full-fledged (ui) phone stack, you will usually want
to strip down the rules file to the bare necessities and handle all
things like ringtone notification in your (ui) app.

Cheers,

:M:



_______________________________________________
Smartphones-userland mailing list
Smartphones-userland@linuxtogo.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/smartphones-userland

Reply via email to