Undefined reference error

2010-05-13 Thread Pallavi Kandhare
Hi, I have 2 files : list1.h and list1.c, and I call some functions defined in list1.h in main function of main.c. list1.h is included in both list1.c and main.c. Still i am getting the following error : /test1file/src/main.c undefined reference to function-name   The list1.o file is not created.

Re: Problem running installed app (using icon)

2010-05-13 Thread saurabh aggarwal
Here is the output of dpkg -L /. /usr /usr/share /usr/share/applications /usr/share/applications/hildon /usr/share/applications/hildon/myApp.desktop /usr/share/doc /usr/share/doc/myApp /usr/share/doc/myApp/changelog.Debian.gz /usr/share/icons /usr/share/icons/hicolor /usr/share/icons/hicolor/40x4

RE: Qt question: How to automatically enable numeric input mode for a field?

2010-05-13 Thread Sudheer K .
>Date: Fri, 14 May 2010 01:04:19 +0200 >From: rkma...@gmx.com >Subject: RE: Qt question: How to automatically enable numeric input mode for >a field? >To: scifi@hotmail.com; maemo-developers@maemo.org > >have you tried this hint ? ( this worked for the spin box, I could use the >

RE: Qt question: How to automatically enable numeric input mode for a field?

2010-05-13 Thread Ram Kurvakat
have you tried this hint ? ( this worked for the spin box, I could use the hardware keyboard without pressing Fn ) Qt::ImhDigitsOnly Qt::ImhFormattedNumbersOnly didnt work for me , for the spin box , I needed a dot (.) , since I was using a double spinbox. I'll be raising a bug for that, perha

RE: Qt question: How to automatically enable numeric input mode for a field?

2010-05-13 Thread Ram Kurvakat
have you tried this - Original Message - From: Sudheer K. Sent: 05/13/10 11:54 PM To: rkma...@gmx.com, Maemo Dev Mailing List Subject: RE: Qt question: How to automatically enable numeric input mode for a field? - >Date: Fr

RE: Qt question: How to automatically enable numeric input mode for a field?

2010-05-13 Thread Sudheer K .
>Date: Fri, 14 May 2010 00:34:48 +0200 >From: rkma...@gmx.com >Subject: RE: Qt question: How to automatically enable numeric input mode for >afield? >To: scifi@hotmail.com; maemo-developers@maemo.org > >hi sudheer, as far as I know this is what its actually supposed to do , else

Re: Problem running installed app (using icon)

2010-05-13 Thread b0unc3
On Thu, May 13, 2010 at 9:50 PM, Daniil Ivanov wrote: > Hi b0unc3! > Hi Daniil! > On Thu, May 13, 2010 at 4:41 PM, b0unc3 wrote: > > > > > > On Thu, May 13, 2010 at 2:17 PM, saurabh aggarwal > > wrote: > >> > >> Ok, here's the Noob question - > >> 1) Do all apps need a .service file > > > > Y

RE: Qt question: How to automatically enable numeric input mode for a field?

2010-05-13 Thread Ram Kurvakat
hi sudheer, as far as I know this is what its actually supposed to do , else it may be a bug. btw this works only in QT4.6. http://doc.trolltech.com/qt-maemo-4.6/qgraphicsitem.html#inputMethodHints http://doc.trolltech.com/qt-maemo-4.6/qgraphicsitem.html#inputMethodHints ive tried this in a s

RE: Qt question: How to automatically enable numeric input mode for a field?

2010-05-13 Thread Sudheer K .
>Date: Fri, 14 May 2010 00:15:25 +0200 >From: rkma...@gmx.com >Subject: Re: Qt question: How to automatically enable numeric input mode for a >field? >To: scifi@hotmail.com; maemo-developers@maemo.org > >I dont know whats wrong with my mail client now, a control C just sends the

Re: Qt question: How to automatically enable numeric input mode for a field?

2010-05-13 Thread Ram Kurvakat
I dont know whats wrong with my mail client now, a control C just sends the message so sorry my previous message(s) were sent before I finished typing... anyways use input method hints.. http://doc.trolltech.com/4.6/qt.html#InputMethodHint-enum http://doc.trolltech.com/4.6/qt.html#InputMethodHi

Re: Qt question: How to automatically enable numeric input mode for a field?

2010-05-13 Thread Ram Kurvakat
sorry my previous message was sent before I finished typing... anyways use input method hints.. http://doc.trolltech.com/4.6/qt.html#InputMethodHint-enum http://doc.trolltech.com/4.6/qt.html#InputMethodHint-enum something like this - Original Message - From: Sudheer K. Sent: 05/13/10

Re: Qt question: How to automatically enable numeric input mode for a field?

2010-05-13 Thread Ram Kurvakat
use input method hints - Original Message - From: Sudheer K. Sent: 05/13/10 11:04 PM To: Maemo Dev Mailing List Subject: Qt question: How to automatically enable numeric input mode for a field? Hi, I want to create a phone number field (QLineEdit) in my configuration widget. User can

Qt question: How to automatically enable numeric input mode for a field?

2010-05-13 Thread Sudheer K .
Hi, I want to create a phone number field (QLineEdit) in my configuration widget. User can enter numbers and '+' or 'p' characters in the field. The key thing is I don't want the users to use the Fn key everytime they have to edit the number. Application should automatically enable number

Re: Problem running installed app (using icon)

2010-05-13 Thread Daniil Ivanov
Hi Saurabh! Could you post output of the command: dpkg -L your_package_name Thanks, Daniil. On Thu, May 13, 2010 at 10:50 PM, Daniil Ivanov wrote: > Hi b0unc3! > > On Thu, May 13, 2010 at 4:41 PM, b0unc3 wrote: >> >> >> On Thu, May 13, 2010 at 2:17 PM, saurabh aggarwal >> wrote: >>> >>> O

Re: Problem running installed app (using icon)

2010-05-13 Thread Daniil Ivanov
Hi b0unc3! On Thu, May 13, 2010 at 4:41 PM, b0unc3 wrote: > > > On Thu, May 13, 2010 at 2:17 PM, saurabh aggarwal > wrote: >> >> Ok, here's the Noob question - >> 1) Do all apps need a .service file > > Yes, if you want your app to appear in the task navigator menu. No, not true! Only if you of

Re: Enhanced Recorder App

2010-05-13 Thread Thomas Waelti
Perhaps you could help me to add this function to my recaller widget? It's written in Python and the source can be downloaded fro the repos. That would be the easiest way for sure. -Tom > Hello, > > I am looking for a recorder which is able to start recording and stop > recording when the butto

Re: Problem running installed app (using icon)

2010-05-13 Thread b0unc3
On Thu, May 13, 2010 at 2:17 PM, saurabh aggarwal < aggarwal.saur...@gmail.com> wrote: > Ok, here's the Noob question - > 1) Do all apps need a .service file > Yes, if you want your app to appear in the task navigator menu. > 2) What is the need when my application doesn't listen to any dbus ev

Re: Using proc command in Maemo code

2010-05-13 Thread Dave Neary
Hi, Pallavi Kandhare wrote: > When /proc command is used in Maemo code it displays names of all > running applications on the system. I also want to display names (and > not PID) of all applications which are running / active in emulator. > Pls can anybody guide how can i do the same. The command

Re: Problem running installed app (using icon)

2010-05-13 Thread saurabh aggarwal
Ok, here's the Noob question - 1) Do all apps need a .service file 2) What is the need when my application doesn't listen to any dbus event? BTW, my app is a QT application. -Saurabh On Thu, May 13, 2010 at 5:22 PM, b0unc3 wrote: > > > On Thu, May 13, 2010 at 1:31 PM, saurabh aggarwal < > agga

Re: Problem running installed app (using icon)

2010-05-13 Thread b0unc3
On Thu, May 13, 2010 at 1:31 PM, saurabh aggarwal < aggarwal.saur...@gmail.com> wrote: > Here it is - > > [Desktop Entry] > Encoding=UTF-8 > Version=0.1 > Type=Application > Name=myapp > Exec=/usr/bin/myapp > Icon=myapp > X-Maemo-Category=Main > X-Window-Icon=myapp > X-Window-Icon-Dimmed=myapp I

Re: Problem running installed app (using icon)

2010-05-13 Thread saurabh aggarwal
If I replace Exec below with Exec=osso-xterm "/usr/bin/FiCall" The app now starts but it also launches an XTerm (with the app running in foreground) as expected. But, this is not what I want. I want to run the application without the console. -Saurabh On Thu, May 13, 2010 at 5:01 PM, saurabh ag

Re: Problem running installed app (using icon)

2010-05-13 Thread saurabh aggarwal
Here it is - [Desktop Entry] Encoding=UTF-8 Version=0.1 Type=Application Name=myapp Exec=/usr/bin/myapp Icon=myapp X-Maemo-Category=Main X-Window-Icon=myapp X-Window-Icon-Dimmed=myapp On Thu, May 13, 2010 at 4:56 PM, Faheem Pervez wrote: > Start by posting the desktop file. > > On Thu, May 13,

Re: Problem running installed app (using icon)

2010-05-13 Thread Faheem Pervez
Start by posting the desktop file. On Thu, May 13, 2010 at 12:23 PM, saurabh aggarwal wrote: > Any ideas on how to debug. > Best Regards, Faheem > Regards, > -Saurabh > > ___ > maemo-developers mailing list > maemo-developers@maemo.org > https://lists

Problem running installed app (using icon)

2010-05-13 Thread saurabh aggarwal
I have created a deb package of my application, and installed it on the device using dpkg. I can see the icon, and I can see that the binary has been copied to /usr/bin. But, when I try to run the app using the icon, it tries to launch, but then exits. I can see my process for a few seconds using

Re: Enhanced Recorder App

2010-05-13 Thread Rainer Dorsch
Am Donnerstag, 13. Mai 2010 schrieb Thomas Troy: > > I certainly tried recorder and filed a bug report > > https://bugs.maemo.org/show_bug.cgi?id=9903 some time ago. Since the > > author > > has a Nokia address Marko Nykanen I suspect > > recorder has a closed source license Nokia app. Since there

Re: upstart and dbus

2010-05-13 Thread Graham Cobb
On Thursday 13 May 2010 11:40:24 b0unc3 wrote: > I found that if I use : > start on started hildon-desktop > > as starting condition, I don't need to put the pre-start script You are probably right. If hildon-desktop has started, users could be running apps so everything must be set up correctl

Re: upstart and dbus

2010-05-13 Thread b0unc3
On Thu, May 13, 2010 at 11:33 AM, Graham Cobb > wrote: > On Thursday 13 May 2010 00:27:21 Faheem Pervez wrote: > > On 5/13/10, Graham Cobb > wrote: > > > Faheem, what were you using as the start condition for your upstart > > > script? I > > > would have assumed that if it were anything after "st

Re: Enhanced Recorder App

2010-05-13 Thread Thomas Troy
> > I certainly tried recorder and filed a bug report > https://bugs.maemo.org/show_bug.cgi?id=9903 some time ago. Since the > author > has a Nokia address Marko Nykanen I suspect > recorder has a closed source license Nokia app. Since there is no action on > the bug report I assume Nokia has no i

Re: Enhanced Recorder App

2010-05-13 Thread Aapo Rantalainen
> What I would appreciate are answers to > - Is there an app which I could take as starting point? I think you are talking this: apt-get source maemo-recorder Written in C, uses gstreamer, GPL2. Might handle some codecs with closed source plugins. -Aapo Rantalainen _

Re: upstart and dbus

2010-05-13 Thread Graham Cobb
On Thursday 13 May 2010 00:27:21 Faheem Pervez wrote: > On 5/13/10, Graham Cobb wrote: > > Faheem, what were you using as the start condition for your upstart > > script? I > > would have assumed that if it were anything after "start on started dbus" > > then the waitdbus would be unnecessary. >

RE: QR-Code

2010-05-13 Thread Simon Pickering
Hi Daniil, > QR is not mentioned in Debian package description. > http://packages.debian.org/sid/libzbar0 > I think maintainer should be contacted. It was introduced fairly recently (in 0.9 iirc) and fwiw we have 0.10 in the extras-devel feed iirc. See here: http://zbar.sourceforge.net/

Enhanced Recorder App

2010-05-13 Thread Rainer Dorsch
Hello, I am looking for a recorder which is able to start recording and stop recording when the button at the headset is pressed. Usecase: phone is somewhare in the pocket and I want to do recording. I did not see an app able to do this. Now I am wondering how much effort it would be to create

Re: QR-Code

2010-05-13 Thread Daniil Ivanov
Hi Simon! QR is not mentioned in Debian package description. http://packages.debian.org/sid/libzbar0 I think maintainer should be contacted. Thanks, Daniil. On Thu, May 13, 2010 at 11:50 AM, Simon Pickering wrote: > Hi Daniil, > >>   I think libzbar is for barcode reading, while libqrenco

RE: QR-Code

2010-05-13 Thread Simon Pickering
Hi Daniil, > I think libzbar is for barcode reading, while libqrencode > suits for QR reading. Libzbar decodes many 1D and also QR code barcodes (i.e. barcode -> text), libqrencode encodes text to create a QR code barcode (i.e. text -> barcode). I've no idea which direction the original quest

Re: QR-Code

2010-05-13 Thread Daniil Ivanov
Hi all! I think libzbar is for barcode reading, while libqrencode suits for QR reading. Thanks, Daniil. On Thu, May 13, 2010 at 11:26 AM, Simon Pickering wrote: > >> Is there a project to QT QR-Code ? > > Take a look at the Qt branch of the maemo-barcode Garage project, or install > mBarcode

RE: QR-Code

2010-05-13 Thread Simon Pickering
> Is there a project to QT QR-Code ? Take a look at the Qt branch of the maemo-barcode Garage project, or install mBarcode from extras-devel. We use libzbar for the QR decoding (thanks derf for writing the decoder) via a Gstreamer wrapper (thanks ensonic). More developers for the core of mBarc