<br><div class="gmail_quote">On Thu, May 13, 2010 at 9:50 PM, Daniil Ivanov <span dir="ltr"><<a href="mailto:daniil.ivanov@gmail.com">daniil.ivanov@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
Hi b0unc3!<br></blockquote><div><br>Hi Daniil!<br><br></div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<div class="im"><br>
On Thu, May 13, 2010 at 4:41 PM, b0unc3 <<a href="mailto:b0unc3@email.it">b0unc3@email.it</a>> wrote:<br>
><br>
><br>
> On Thu, May 13, 2010 at 2:17 PM, saurabh aggarwal<br>
> <<a href="mailto:aggarwal.saurabh@gmail.com">aggarwal.saurabh@gmail.com</a>> wrote:<br>
>><br>
>> Ok, here's the Noob question -<br>
>> 1) Do all apps need a .service file<br>
><br>
> Yes, if you want your app to appear in the task navigator menu.<br>
<br>
</div>No, not true! Only if you offer DBus methods. This not connected to<br>
navigator menu,<br>
whatever it is.<br></blockquote><div><br>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.<br>Once more, reading from : <a href="http://wiki.maemo.org/Documentation/Maemo_5_Developer_Guide/Application_Development/Writing_a_new_maemo_application">http://wiki.maemo.org/Documentation/Maemo_5_Developer_Guide/Application_Development/Writing_a_new_maemo_application</a><br>
the .service and the .desktop file are mentioned on the "Adding application to menu" paragraph.<br><br></div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<div class="im"><br>
>><br>
>> 2) What is the need when my application doesn't listen to any dbus event?<br>
><br>
> DBus and osso context are not related.<br>
<br>
</div>No, not true! They are. Osso initializes dbus as well.<br></blockquote><div><br>Probably you are right. I was confused. <br></div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<div><div></div><div class="h5"><br>
><br>
>><br>
>> BTW, my app is a QT application.<br>
><br>
> You can browse the source of some other qt apps to see how to get this done.<br>
><br>
>><br>
>> -Saurabh<br>
>><br>
>> On Thu, May 13, 2010 at 5:22 PM, b0unc3 <<a href="mailto:b0unc3@email.it">b0unc3@email.it</a>> wrote:<br>
>>><br>
>>><br>
>>> On Thu, May 13, 2010 at 1:31 PM, saurabh aggarwal<br>
>>> <<a href="mailto:aggarwal.saurabh@gmail.com">aggarwal.saurabh@gmail.com</a>> wrote:<br>
>>>><br>
>>>> Here it is -<br>
>>>><br>
>>>> [Desktop Entry]<br>
>>>> Encoding=UTF-8<br>
>>>> Version=0.1<br>
>>>> Type=Application<br>
>>>> Name=myapp<br>
>>>> Exec=/usr/bin/myapp<br>
>>>> Icon=myapp<br>
>>>> X-Maemo-Category=Main<br>
>>>> X-Window-Icon=myapp<br>
>>>> X-Window-Icon-Dimmed=myapp<br>
>>><br>
>>> I bet you need a valid osso context reference in your app. And also a<br>
>>> good .service file (post it here if you have still problems)<br>
>>> Follow this guide :<br>
>>> <a href="http://wiki.maemo.org/Documentation/Maemo_5_Developer_Guide/Application_Development/Writing_a_new_maemo_application" target="_blank">http://wiki.maemo.org/Documentation/Maemo_5_Developer_Guide/Application_Development/Writing_a_new_maemo_application</a><br>
>>>><br>
>>>><br>
>>>> On Thu, May 13, 2010 at 4:56 PM, Faheem Pervez <<a href="mailto:trippin1@gmail.com">trippin1@gmail.com</a>><br>
>>>> wrote:<br>
>>>>><br>
>>>>> Start by posting the desktop file.<br>
>>>>><br>
>>>>> On Thu, May 13, 2010 at 12:23 PM, saurabh aggarwal<br>
>>>>> <<a href="mailto:aggarwal.saurabh@gmail.com">aggarwal.saurabh@gmail.com</a>> wrote:<br>
>>>>> > Any ideas on how to debug.<br>
>>>>> ><br>
>>>>><br>
>>>>> Best Regards,<br>
>>>>> Faheem<br>
>>>>><br>
>>>>> > Regards,<br>
>>>>> > -Saurabh<br>
>>>>> ><br>
>>>>> > _______________________________________________<br>
>>>>> > maemo-developers mailing list<br>
>>>>> > <a href="mailto:maemo-developers@maemo.org">maemo-developers@maemo.org</a><br>
>>>>> > <a href="https://lists.maemo.org/mailman/listinfo/maemo-developers" target="_blank">https://lists.maemo.org/mailman/listinfo/maemo-developers</a><br>
>>>>> ><br>
>>>>> ><br>
>>>><br>
>>>><br>
>>>> _______________________________________________<br>
>>>> maemo-developers mailing list<br>
>>>> <a href="mailto:maemo-developers@maemo.org">maemo-developers@maemo.org</a><br>
>>>> <a href="https://lists.maemo.org/mailman/listinfo/maemo-developers" target="_blank">https://lists.maemo.org/mailman/listinfo/maemo-developers</a><br>
>>>><br>
>>><br>
>><br>
><br>
><br>
> _______________________________________________<br>
> maemo-developers mailing list<br>
> <a href="mailto:maemo-developers@maemo.org">maemo-developers@maemo.org</a><br>
> <a href="https://lists.maemo.org/mailman/listinfo/maemo-developers" target="_blank">https://lists.maemo.org/mailman/listinfo/maemo-developers</a><br>
><br>
><br>
<br>
</div></div>If you have service file then you need to set application name on dbus<br>
interface or it will be killed after start<br>
of application in 2 seconds. Also you need X-Osso-Service line in<br>
desktop file. However, this is not your case.<br>
<br>
Thanks, Daniil.<br>
</blockquote></div><br>