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

From: Thomas Waelti twaelti at gmail.com
Date: Sat Nov 14 09:31:51 EET 2009
There is no difference, they are synonyms. From http://maemo.org/api_refs/5.0/5.0-final/mce-dev/mode-names_8h.html :
"Offline device mode; RF's disabled; alias for flight mode. "


> 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" ?
More information about the maemo-developers mailing list