Re: Quality assurance of stable software: my battery drained in few hours

2010-06-07 Thread Sivan Greenberg
On Sun, Jun 6, 2010 at 8:20 PM, Ian Stirling maemo-de...@mauve.plus.com wrote: Robin Burchell wrote: On Sun, Jun 6, 2010 at 2:23 PM, Ian Stirling maemo-de...@mauve.plus.com wrote: It's pretty hard to find out what's eating the battery on N900. First you have decide that the battery is

Re: DBus Methods and Signals Introspection or Documentation

2010-06-07 Thread Wei Li
But is there any doc for at least the object methods and signals under /com/nokia? Because HAL has its own DBus instances as well as docs. But I couldn't find the /com/nokia ones. On Mon, Jun 7, 2010 at 3:03 AM, Ian Stirling maemo-de...@mauve.plus.comwrote: Wei Li wrote: Hi all, I am doing

Re: DBus Methods and Signals Introspection or Documentation

2010-06-07 Thread Sivan Greenberg
If there is not such docs yet, we need to develop some or ask for some API docs. Who might know about this? Sivan On Mon, Jun 7, 2010 at 10:01 AM, Wei Li ttlee1...@gmail.com wrote: But is there any doc for at least the object methods and signals under /com/nokia? Because HAL has its own DBus

Re: DBus Methods and Signals Introspection or Documentation

2010-06-07 Thread Daniil Ivanov
Hi Wei! Can you use libhal and libhal-storage? http://maemo.org/api_refs/5.0/5.0-final/libhal/ http://maemo.org/api_refs/5.0/5.0-final/libhal-storage/ Thanks, Daniil. On Mon, Jun 7, 2010 at 10:01 AM, Wei Li ttlee1...@gmail.com wrote: But is there any doc for at least the object methods

Re: DBus Methods and Signals Introspection or Documentation

2010-06-07 Thread Sivan Greenberg
Daniil, maybe he was referring to something more platform (e.g. mobile device) specific ? Or are those docs already containing this? (I haven't looked into it in detail). Sivan On Mon, Jun 7, 2010 at 11:25 AM, Daniil Ivanov daniil.iva...@gmail.com wrote: Hi Wei!  Can you use libhal and

Re: DBus Methods and Signals Introspection or Documentation

2010-06-07 Thread Sivan Greenberg
Wei, If you need to access storage stuff, this might be of help, although mind you, it is in Python (you could use Python as well to do the initial prototyping) - however, the storage keys are the same ofcourse.

Re: DBus Methods and Signals Introspection or Documentation

2010-06-07 Thread Daniil Ivanov
Hi Sivan! Well, HAL is Hardware Abstraction Layer. Thanks, Daniil. On Mon, Jun 7, 2010 at 11:27 AM, Sivan Greenberg si...@omniqueue.com wrote: Daniil, maybe he was referring to something more platform (e.g. mobile device) specific ? Or are those docs already containing this? (I haven't

Re: DBus Methods and Signals Introspection or Documentation

2010-06-07 Thread Faheem Pervez
Hi, On Mon, Jun 7, 2010 at 12:15 AM, Wei Li ttlee1...@gmail.com wrote: I am doing a project of middleware on Maemo/N900. I need to find the methods and signals related to the hardware, for example, HAL (especially the objects under /com/nokia since it is somehow proprietary). However, I

Re: Qt SDK beta, N900 PR1.2 and qt-mobility-examples

2010-06-07 Thread Daniil Ivanov
Hi Lorenzo! Which SDK? As far I can tell it's not Nokia Qt SDK. Thanks, Daniil. On Mon, Jun 7, 2010 at 11:54 AM, Lorenzo Bettini bett...@dsi.unifi.it wrote: On 05/26/2010 10:15 PM, Antonio Aloisio wrote: Hi guys, Calm down! Mobility packages for scratchbox are in Tools and the pkgs for

Re: DBus Methods and Signals Introspection or Documentation

2010-06-07 Thread Wei Li
Thanks for all your help! As I mentioned, I am doing a middleware (for energy efficiency) project on N900, hence I need to get the device status information such as battery, WLan card, mce. I need to use DBus to communicate with other components in my work. So the refs on DBus methods and signals

Re: DBus Methods and Signals Introspection or Documentation

2010-06-07 Thread Daniil Ivanov
Hi Wei! CSD stands for cellular services daemon and name explains why API is closed. Thanks, Daniil. On Mon, Jun 7, 2010 at 12:15 PM, Wei Li ttlee1...@gmail.com wrote: Thanks for all your help! As I mentioned, I am doing a middleware (for energy efficiency) project on N900, hence I need to

Re: Qt SDK beta, N900 PR1.2 and qt-mobility-examples

2010-06-07 Thread Lorenzo Bettini
On 06/07/2010 10:54 AM, Lorenzo Bettini wrote: On 05/26/2010 10:15 PM, Antonio Aloisio wrote: Hi guys, Calm down! Mobility packages for scratchbox are in Tools and the pkgs for the device are in Nokia Application repositories. Both are enabled by default, developers and users don't need to add

Re: DBus Methods and Signals Introspection or Documentation

2010-06-07 Thread Wei Li
Hi Daniil, So you mean the API references are object (component) dependent hence there is no unified reference to all the services of /com/nokia objects? I've got to say it is a little bit inconvenient. A unified reference document will be much helpful. So how about mce and icd? I found the

Re: DBus Methods and Signals Introspection or Documentation

2010-06-07 Thread Daniil Ivanov
Hi Wei! On Mon, Jun 7, 2010 at 2:02 PM, Wei Li ttlee1...@gmail.com wrote: Hi Daniil, So you mean the API references are object (component) dependent hence there is no unified reference to all the services of /com/nokia objects? Each component has it's own team responsible for it and it's

Re: Qt SDK beta, N900 PR1.2 and qt-mobility-examples

2010-06-07 Thread Paul Hartman
On Mon, Jun 7, 2010 at 4:06 AM, Daniil Ivanov daniil.iva...@gmail.com wrote: Which SDK? As far I can tell it's not Nokia Qt SDK. It's from the maemo readme file which is included in the Nokia Qt SDK (beta) ___ maemo-developers mailing list

Re: Qt SDK beta, N900 PR1.2 and qt-mobility-examples

2010-06-07 Thread Daniil Ivanov
Hi Paul! That's weird since you cannot install packages neither enable repositories with Nokia Qt SDK. Thanks, Daniil. On Mon, Jun 7, 2010 at 5:26 PM, Paul Hartman paul.hartman+ma...@gmail.com wrote: On Mon, Jun 7, 2010 at 4:06 AM, Daniil Ivanov daniil.iva...@gmail.com wrote:   Which SDK?

Re: Qt SDK beta, N900 PR1.2 and qt-mobility-examples

2010-06-07 Thread Antonio Aloisio
Hi, That readme file has been written before the PR 1.2 and mobility packages were in extras-devel. IIRC that readme file explain how to install mobility on the device... Cheers, Antonio On Mon, Jun 7, 2010 at 5:28 PM, Daniil Ivanov daniil.iva...@gmail.comwrote: Hi Paul! That's weird

Re: Qt SDK beta, N900 PR1.2 and qt-mobility-examples

2010-06-07 Thread Lorenzo Bettini
OK, so for the time being, that file can be considered obsolete, can it not? cheers Lorenzo On 06/07/2010 04:46 PM, Antonio Aloisio wrote: Hi, That readme file has been written before the PR 1.2 and mobility packages were in extras-devel. IIRC that readme file explain how to install

maemo 5 on beagleboard C4: exception in Xorg

2010-06-07 Thread Jim Wang
Hi all, I got a beagleboard C4 recently. I followed instructions at http://www.omappedia.org/wiki/Maemo_Getting_Started to install maemo 5 on it. A DVI monitor was attached to the board. Both SGX and X server were up and running correctly but I could not see hildon desktop. I checked the process

mobility examples with nokia qt sdk

2010-06-07 Thread Lorenzo Bettini
Hi we're trying to compile the player example from the mobility examples from git (http://qt.gitorious.org/qt-mobility). now the compilation fails with this error: /usr/bin/ld: cannot find -lQtMedia collect2: ld returned 1 exit status is it a known issue? cheers Lorenzo -- Lorenzo

Hacking hardware keyboard key press sequences

2010-06-07 Thread Dawid Lorenz
Once upon a time I have hacked /usr/share/X11/xkb/symbols/nokia_vndr/rx-51 file in order to make typing Polish national characters easier using hardware keyboard. Namely, I've managed to work around Fn-Ctrl key sequence to disable on-screen keypad to appear and use Fn+Ctrl+letter combination to

Re: mobility examples with nokia qt sdk

2010-06-07 Thread Lorenzo Bettini
On 06/07/2010 05:01 PM, Lorenzo Bettini wrote: Hi we're trying to compile the player example from the mobility examples from git (http://qt.gitorious.org/qt-mobility). now the compilation fails with this error: /usr/bin/ld: cannot find -lQtMedia collect2: ld returned 1 exit status is it a

Re: mobility examples with nokia qt sdk

2010-06-07 Thread Daniil Ivanov
Hi Lorenzo! Qt Simulator is simply Qt for Desktop and doesn't support Qt Mobility. Use Maemo or Symbian (on Windows) targets. Thanks, Daniil. On Mon, Jun 7, 2010 at 6:05 PM, Lorenzo Bettini lorenzo.bett...@gmail.com wrote: On 06/07/2010 05:01 PM, Lorenzo Bettini wrote: Hi we're trying to

Re: Hacking hardware keyboard key press sequences

2010-06-07 Thread Matan Ziv-Av
On Mon, 7 Jun 2010, Dawid Lorenz wrote: Once upon a time I have hacked /usr/share/X11/xkb/symbols/nokia_vndr/rx-51 file in order to make typing Polish national characters easier using hardware keyboard. Namely, I've managed to work around Fn-Ctrl key sequence to disable on-screen keypad to

Re: mobility examples with nokia qt sdk

2010-06-07 Thread Lorenzo Bettini
we're using Linux... does this mean that we can't target the simulator? On 06/07/2010 05:26 PM, Daniil Ivanov wrote: Hi Lorenzo! Qt Simulator is simply Qt for Desktop and doesn't support Qt Mobility. Use Maemo or Symbian (on Windows) targets. Thanks, Daniil. On Mon, Jun 7, 2010 at 6:05

Re: mobility examples with nokia qt sdk

2010-06-07 Thread Daniil Ivanov
Hi Lorenzo! Absence of Qt Mobility in Qt Simulator means that you cannot run applications using Qt Mobility in Qt Simulator. Since you on Linux, you can install scratchbox, Qt Mobility there and use x86 and Xeprhyr for testing. But of course it's much better to test applications on real

Re: mobility examples with nokia qt sdk

2010-06-07 Thread Andrea Grandi
Hi, On 7 June 2010 17:26, Daniil Ivanov daniil.iva...@gmail.com wrote: Hi Lorenzo!  Qt Simulator is simply Qt for Desktop and doesn't support Qt Mobility.  Use Maemo or Symbian (on Windows) targets. I cannot compile QtMobiity examples neither. I'm trying to compile the Player example, I'm

Re: mobility examples with nokia qt sdk

2010-06-07 Thread Andrea Grandi
Hi, On 7 June 2010 17:41, Andrea Grandi a.gra...@gmail.com wrote: Hi, On 7 June 2010 17:26, Daniil Ivanov daniil.iva...@gmail.com wrote: Hi Lorenzo!  Qt Simulator is simply Qt for Desktop and doesn't support Qt Mobility.  Use Maemo or Symbian (on Windows) targets. I cannot compile

Re: mobility examples with nokia qt sdk

2010-06-07 Thread Daniil Ivanov
You can ask this question on FN DiBo http://discussion.forum.nokia.com/forum/forumdisplay.php?f=221 ~Daniil On Mon, Jun 7, 2010 at 6:42 PM, Andrea Grandi a.gra...@gmail.com wrote: Hi, On 7 June 2010 17:41, Andrea Grandi a.gra...@gmail.com wrote: Hi, On 7 June 2010 17:26, Daniil Ivanov

RE: mobility examples with nokia qt sdk

2010-06-07 Thread Felipe Crochik
In fact, there is qt mobility on nokia qt sdk/simulator. Of course it is just a simulation but for some testing works. You just need to have all the maemo5 specific code between #ifdef - what is not a bad thing anyway. What we don't have is the release 1.0 of qt mobility libraries for the madde

Re: mobility examples with nokia qt sdk

2010-06-07 Thread Daniil Ivanov
Hi Felipe! On Mon, Jun 7, 2010 at 6:50 PM, Felipe Crochik fel...@crochik.com wrote: In fact, there is qt mobility on nokia qt sdk/simulator. Of course it is just a simulation but for some testing works. You just need to have all the maemo5 specific code between #ifdef - what is not a bad thing

Re: mobility examples with nokia qt sdk

2010-06-07 Thread Andrea Grandi
Hi, On 7 June 2010 17:59, Daniil Ivanov daniil.iva...@gmail.com wrote: What we don't have is the release 1.0 of qt mobility libraries for the madde so you can't compile applications that target the n900 and use qt mobility 1.0 on the qt sdk. It is a big pain - right now I have to write the

Re: Hacking hardware keyboard key press sequences

2010-06-07 Thread Dawid Lorenz
On 7 June 2010 16:29, Matan Ziv-Av ma...@svgalib.org wrote: The sticky keys for shift and fn are implemented in gtk input filter (hildon-input-method-framework package), rather than in xkb. Since your fn+ctrl map is done in xkb, it is not helped by the filter. You probably need to change this

RE: mobility examples with nokia qt sdk

2010-06-07 Thread Felipe Crochik
Hi Daniil, Thanks for the clarification. So far I have only played with the contacts module and, I have to say, it has been a pain! I thought of updating the libraries but did not know if it was possible. I don't know how madde works and was not sure I could just replace the libraries/headers.

Re: mobility examples with nokia qt sdk

2010-06-07 Thread Daniil Ivanov
Hi Andrea! On Mon, Jun 7, 2010 at 7:03 PM, Andrea Grandi a.gra...@gmail.com wrote: Hi, On 7 June 2010 17:59, Daniil Ivanov daniil.iva...@gmail.com wrote: What we don't have is the release 1.0 of qt mobility libraries for the madde so you can't compile applications that target the n900 and

Re: mobility examples with nokia qt sdk

2010-06-07 Thread Lorenzo Bettini
Hi out of curiosity, mobility is available in qt 4.7 right? so one could do some testing as a desktop application first, right? cheers Lorenzo On 06/07/2010 05:38 PM, Daniil Ivanov wrote: Hi Lorenzo! Absence of Qt Mobility in Qt Simulator means that you cannot run applications

Re: Hacking hardware keyboard key press sequences

2010-06-07 Thread Matan Ziv-Av
On Mon, 7 Jun 2010, Dawid Lorenz wrote: On 7 June 2010 16:29, Matan Ziv-Av ma...@svgalib.org wrote: The sticky keys for shift and fn are implemented in gtk input filter (hildon-input-method-framework package), rather than in xkb. Since your fn+ctrl map is done in xkb, it is not

Re: Help with dependencies needed

2010-06-07 Thread Chris Walker
On 02/06/10 15:32, Chris Walker wrote: On 02/06/10 13:27, daniel wilms wrote: That has 2 lines of output :- GNU nano 1.2.4 and 5.0update5 Fremantle There is one newer update, but this should contain all the Qt libraries. Can you clarify your first line please? Do you mean that the

Re: mobility examples with nokia qt sdk

2010-06-07 Thread lorn.potter
On 8/06/10 2:03 AM, ext Andrea Grandi a.gra...@gmail.com wrote: Hi, On 7 June 2010 17:59, Daniil Ivanov daniil.iva...@gmail.com wrote: What we don't have is the release 1.0 of qt mobility libraries for the madde so you can't compile applications that target the n900 and use qt mobility 1.0

RE: mobility examples with nokia qt sdk

2010-06-07 Thread Felipe Crochik
Lorn, The Nokia Qt sdk is still beta quality. It will come with QtMobility and will be able to use it for developing apps that use the mobility API's. No need to compile mobility. Any chance you know if there is an easy way to update the qtmobility on the current qt sdk by ourselves right

Re: mobility examples with nokia qt sdk

2010-06-07 Thread Daniil Ivanov
Hi Lorn! On Mon, Jun 7, 2010 at 9:23 PM, lorn.pot...@nokia.com wrote: On 8/06/10 2:03 AM, ext Andrea Grandi a.gra...@gmail.com wrote: Hi, On 7 June 2010 17:59, Daniil Ivanov daniil.iva...@gmail.com wrote: What we don't have is the release 1.0 of qt mobility libraries for the madde so

answer phone call via DBUS

2010-06-07 Thread Roman Morawek
Hello, I need the possibility to accept an incoming phone call from my Qt application. I try this using the following DBUS method: dbus-send --system --print-reply --dest=com.nokia.csd.Call /com/nokia/csd/call/1 com.nokia.csd.Call.Answer However, this raises a

osso_initialize: how to make it work?

2010-06-07 Thread maemo . mexon
I've been scouring the documentation on maemo.org and getting pretty frustrated. Almost none of it is up to date, and almost none of it is relevant to a beginning developer. So: Here is my code: #include stdio.h #include libosso.h int main(int argc, char* argv[]) { osso_context_t*

Re: osso_initialize: how to make it work?

2010-06-07 Thread Daniil Ivanov
Hi Maemo! You need either gtk_init or hildon_init first. Thanks, Daniil. On Mon, Jun 7, 2010 at 10:41 PM, maemo.me...@spamgourmet.com wrote: I've been scouring the documentation on maemo.org and getting pretty frustrated.  Almost none of it is up to date, and almost none of it is relevant

Re: osso_initialize: how to make it work?

2010-06-07 Thread Faheem Pervez
OSSO == Open Source Software Operations (which is funny and now defunct, but I won't go into it here). If you're running on the device, make sure you're running as user and not root (or at least using run-standalone.sh). If you're running in Scratchbox, make sure to af-sb-init.sh start and run

Re: osso_initialize: how to make it work?

2010-06-07 Thread maemo . mexon
OK, it's the run-standalone.sh thing. I remember now, that was a constant irritation when I was trying to fix bugs in Modest. I never fully understood it. Is that thing documented anywhere, is there any in-depth discussion of why it's necessary and how to use it? It really makes every step

Strange problem with Maemo5ShowProgressIndicator

2010-06-07 Thread Sascha Mäkelä
Hi, I'm having a strange problem with Maemo5ShowProgressIndicator. My code looks like this: QMessageBox::StandardButton reply; reply = QMessageBox::warning(this, tr(Warning!), QMessageBox::Yes | QMessageBox::No); if (reply == QMessageBox::Yes) {

RE: Strange problem with Maemo5ShowProgressIndicator

2010-06-07 Thread Felipe Crochik
The window manager has to get a chance to process the message queue in order to show the Progress Indicator. It works not because is outside the if but because it is before you show the dialog window. One possible approach is to set the progress indicator but start the processing using a

Something quite amazing (and simple): QtContacts 1.0 on qt Nokia SDK beta

2010-06-07 Thread Felipe Crochik
I don't know if this was just a happy accident but I just compiled my application using Qt Contacts 1.0 mobility library on qt sdk beta and was able to have it deployed to my phone automatically. As most using qt sdk probably knows the mobility packages included with the sdk are not release 1.0.