[maemo-developers] how to manage phone Profiles in Maemo

From: Aniello Del Sorbo anidel at gmail.com
Date: Wed Nov 11 13:23:06 EET 2009
2009/11/11 daniel wilms <daniel.wilms at nokia.com>:
> Hi
>> thank you for the fast response;
>> #define MCE_DEVICE_MODE_CHANGE_REQ   "req_device_mode_change"
>> WoW!, that looks promising. But how can I use this inside my application
>> to force changing of the Profile/mode of the phone ??
> this describes a dbus-service. How to implement it, depends on the
> language you are using. Here an example using the dbus-send in the terminal:
> bus-send --system --type=method_call --dest="com.nokia.mce"
> --print-reply /com/nokia/mce/request com.nokia.mce.request.get_device_mode
> The reply is the device mode as a string. But with mce you can just
> switch between "normal", "flight" and "offline" mode. I will try to
> figure out if and how you can select the other profiles.
> Cheers Daniel

What's the difference between "flight" and "offline" ?

Sent from London, Eng, United Kingdom
More information about the maemo-developers mailing list