[maemo-developers] Howto enable portrait mode support on Fremantle
From: David Weinehall david.weinehall at nokia.comDate: Mon Aug 24 23:07:06 EEST 2009
- Previous message: Howto enable portrait mode support on Fremantle
- Next message: Howto enable portrait mode support on Fremantle
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On mån, 2009-08-24 at 19:44 +0200, ext Cornelius Hald wrote: > Hello again :) > > Listening to the DBus messages and setting the SUPPORT/REQUEST flags > works and the outcome is as described. > > Now the only problem left is the orientation detection during startup. > When doing the call to MCE_DEVICE_ORIENTATION_GET I'm always getting the > following error message: > > "The name com.nokia.mce was not provided by any .service files" > > Does anyone know what I'm doing wrong? The code is as follows: > > DBusError error; > DBusMessage *message, *reply; > > message = dbus_message_new_method_call(MCE_SERVICE, > MCE_REQUEST_PATH, > MCE_REQUEST_IF, > MCE_DEVICE_ORIENTATION_GET); > > dbus_error_init(&error); > reply = dbus_connection_send_with_reply_and_block(connection, message, > -1, &error); > > > I hope someone can help, oh and by the way I'm a DBus noob, so it might > be that I'm missing something obvious. MCE only listens to the system bus, maybe this is your problem? Regards: David
- Previous message: Howto enable portrait mode support on Fremantle
- Next message: Howto enable portrait mode support on Fremantle
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]