Displaying the information of the MMC card and the phone memory

2010-05-11 Thread Pallavi Kandhare
Hi All I want to write code in Maemo for the foll: 1. Displaying the information of the MMC card and the phone memory (ie. used space, free space)   When i use functions in libhal-storage.h i get an error: undefined reference to function_name   2. On mobile certain aplications are running at a t

Re: Keeping backlight on

2010-05-11 Thread Yves-Alexis Perez
On 11/05/2010 12:54, David Weinehall wrote: > An (undocumented) alternative is: > > gconftool -s --type int /system/osso/dsm/display/inhibit_blank_mode 3 > > Replace the 3 for whatever inhibit mode you want: > > 0 -- No display blanking inhibit > 1 -- Inhibit dimming/blanking if charger is conne

Re: pyqt localization

2010-05-11 Thread Attila Csipa
On Tuesday 11 May 2010 16:14:38 SC wrote: > Can someone please provide some basic pyqt localization examples or point > me to some? > I know I can use the "tr(...)" method but where should the actual > translations be kept? See http://doc.trolltech.com/4.6/qtranslator.html for details (it works th

pyqt localization

2010-05-11 Thread SC
Hello, Can someone please provide some basic pyqt localization examples or point me to some? I know I can use the "tr(...)" method but where should the actual translations be kept? Thanks, Shing ___ maemo-developers mailing list maemo-developers@maemo.o

Re: Keeping backlight on

2010-05-11 Thread David Weinehall
On Tue, 2010-05-11 at 12:45 +0200, ext saurabh aggarwal wrote: > Our application on Maemo requires that the backlight be kept on for > the entire time we do a process. How do we achieve that? > > I have already tried calling the command below (every 10 seconds), but > that didn't work. > usr/bin/d

Keeping backlight on

2010-05-11 Thread saurabh aggarwal
Our application on Maemo requires that the backlight be kept on for the entire time we do a process. How do we achieve that? I have already tried calling the command below (every 10 seconds), but that didn't work. usr/bin/dbus-send --system --dest=com.nokia.mce /com/nokia/mce/request com.nokia.mce

Re: Audio Routing API

2010-05-11 Thread saurabh aggarwal
Sorry about the confusion - I am interested in routing between the speaker and the phone speaker. The script you sent is for the wired headphone which the N900 automatically switches to once it detects a connected device. Regards, -Saurabh On Thu, May 6, 2010 at 2:30 PM, Daniil Ivanov wrote: > H