[maemo-developers] Problem running installed app (using icon)
From: b0unc3 b0unc3 at email.itDate: Fri May 14 01:41:12 EEST 2010
- Previous message: Problem running installed app (using icon)
- Next message: Qt question: How to automatically enable numeric input mode for a field?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Thu, May 13, 2010 at 9:50 PM, Daniil Ivanov <daniil.ivanov at gmail.com>wrote: > Hi b0unc3! > Hi Daniil! > On Thu, May 13, 2010 at 4:41 PM, b0unc3 <b0unc3 at email.it> wrote: > > > > > > On Thu, May 13, 2010 at 2:17 PM, saurabh aggarwal > > <aggarwal.saurabh at 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. > > No, not true! Only if you offer DBus methods. This not connected to > navigator menu, > whatever it is. > Uhm... I don't think that is true. Take for example wizard-mounter (one of my apps). This app didn't offer any DBus method itself, but it has a .service file. Once more, reading from : http://wiki.maemo.org/Documentation/Maemo_5_Developer_Guide/Application_Development/Writing_a_new_maemo_application the .service and the .desktop file are mentioned on the "Adding application to menu" paragraph. > >> > >> 2) What is the need when my application doesn't listen to any dbus > event? > > > > DBus and osso context are not related. > > No, not true! They are. Osso initializes dbus as well. > Probably you are right. I was confused. > > > > >> > >> BTW, my app is a QT application. > > > > You can browse the source of some other qt apps to see how to get this > done. > > > >> > >> -Saurabh > >> > >> On Thu, May 13, 2010 at 5:22 PM, b0unc3 <b0unc3 at email.it> wrote: > >>> > >>> > >>> On Thu, May 13, 2010 at 1:31 PM, saurabh aggarwal > >>> <aggarwal.saurabh at 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 bet you need a valid osso context reference in your app. And also a > >>> good .service file (post it here if you have still problems) > >>> Follow this guide : > >>> > http://wiki.maemo.org/Documentation/Maemo_5_Developer_Guide/Application_Development/Writing_a_new_maemo_application > >>>> > >>>> > >>>> On Thu, May 13, 2010 at 4:56 PM, Faheem Pervez <trippin1 at gmail.com> > >>>> wrote: > >>>>> > >>>>> Start by posting the desktop file. > >>>>> > >>>>> On Thu, May 13, 2010 at 12:23 PM, saurabh aggarwal > >>>>> <aggarwal.saurabh at gmail.com> wrote: > >>>>> > Any ideas on how to debug. > >>>>> > > >>>>> > >>>>> Best Regards, > >>>>> Faheem > >>>>> > >>>>> > Regards, > >>>>> > -Saurabh > >>>>> > > >>>>> > _______________________________________________ > >>>>> > maemo-developers mailing list > >>>>> > maemo-developers at maemo.org > >>>>> > https://lists.maemo.org/mailman/listinfo/maemo-developers > >>>>> > > >>>>> > > >>>> > >>>> > >>>> _______________________________________________ > >>>> maemo-developers mailing list > >>>> maemo-developers at maemo.org > >>>> https://lists.maemo.org/mailman/listinfo/maemo-developers > >>>> > >>> > >> > > > > > > _______________________________________________ > > maemo-developers mailing list > > maemo-developers at maemo.org > > https://lists.maemo.org/mailman/listinfo/maemo-developers > > > > > > If you have service file then you need to set application name on dbus > interface or it will be killed after start > of application in 2 seconds. Also you need X-Osso-Service line in > desktop file. However, this is not your case. > > Thanks, Daniil. > -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.maemo.org/pipermail/maemo-developers/attachments/20100514/282f7759/attachment.htm>
- Previous message: Problem running installed app (using icon)
- Next message: Qt question: How to automatically enable numeric input mode for a field?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]