|
2010-11-18
, 10:09
|
|
Posts: 74 |
Thanked: 27 times |
Joined on Jun 2010
@ France
|
#12
|
In symbian (N95) the auto answer was placed in the profiles. I remember setting a profile up so i would only have to insert my headphones (which was usually when i was driving) and the phone would answer automatically.
any other thoughts about the placement of the button?
|
2010-11-18
, 20:33
|
Posts: 44 |
Thanked: 34 times |
Joined on May 2010
|
#13
|
So you could go the other way around.
Use ProfilesX to define a new profile "Car Mode".
(Just to have a special named profile)
Now your autoanswer script could listen on dbus for
the active profile (profiled emits a dbus-signal if the
user changes the active profile).
And if the current profile has this special name,
enable autoanswer or speaker mode ...
nicolai
|
2010-12-13
, 04:40
|
Posts: 44 |
Thanked: 34 times |
Joined on May 2010
|
#14
|
bus = dbus.SessionBus() proxy = bus.get_object('com.nokia.profiled', '/home/user/.profiled/current')
The Following User Says Thank You to fuel__2001 For This Useful Post: | ||
|
2010-12-13
, 07:10
|
|
Posts: 1,637 |
Thanked: 4,424 times |
Joined on Apr 2009
@ Germany
|
#15
|
The Following 4 Users Say Thank You to nicolai For This Useful Post: | ||
|
2010-12-13
, 12:00
|
Posts: 44 |
Thanked: 34 times |
Joined on May 2010
|
#16
|
Looking at my code, how I listen to profile
changes, I realized it may be easier to include
this in profilesx. Even though I said profilesx
is only for managing profiles settings, my
statusbar plugin is listinig for profiles changes to
change the profile icon.
So, I can make an extra option in the settings dialog
for autoanswer and my statusbar plugin can
autoanswer the incomig call depending on the
current profile.
nicolai
|
2010-12-13
, 13:14
|
|
Posts: 1,637 |
Thanked: 4,424 times |
Joined on Apr 2009
@ Germany
|
#17
|
Or, to add a checkbox widget to the profile settings, so any selected profile could be set up to use the script?
The Following User Says Thank You to nicolai For This Useful Post: | ||
|
2010-12-13
, 13:29
|
Posts: 44 |
Thanked: 34 times |
Joined on May 2010
|
#18
|
The Following User Says Thank You to fuel__2001 For This Useful Post: | ||
|
2011-01-17
, 22:22
|
|
Posts: 1,637 |
Thanked: 4,424 times |
Joined on Apr 2009
@ Germany
|
#19
|
The Following 12 Users Say Thank You to nicolai For This Useful Post: | ||
ProfilesX can not be used to start specific actions. ProfilesX can
only change the profile settings (ringtone, vibra, ...)
But the whole benefit of ProfilesX is to define more than those
to builtin profiles.
So you could go the other way around.
Use ProfilesX to define a new profile "Car Mode".
(Just to have a special named profile)
Now your autoanswer script could listen on dbus for
the active profile (profiled emits a dbus-signal if the
user changes the active profile).
And if the current profile has this special name,
enable autoanswer or speaker mode ...
nicolai
my contributions:
Desktop Clock Widget|Calendar Home Widget|Lens Cover Reminder|ConnectNow|Scout|App Search Widget|ProfilesX|
Desktop-Switcher|SMS-Messageblocker
-Donate-