<br><div class="gmail_quote">On Thu, May 13, 2010 at 9:50 PM, Daniil Ivanov <span dir="ltr">&lt;<a href="mailto:daniil.ivanov@gmail.com">daniil.ivanov@gmail.com</a>&gt;</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 &lt;<a href="mailto:b0unc3@email.it">b0unc3@email.it</a>&gt; wrote:<br>
&gt;<br>
&gt;<br>
&gt; On Thu, May 13, 2010 at 2:17 PM, saurabh aggarwal<br>
&gt; &lt;<a href="mailto:aggarwal.saurabh@gmail.com">aggarwal.saurabh@gmail.com</a>&gt; wrote:<br>
&gt;&gt;<br>
&gt;&gt; Ok, here&#39;s the Noob question -<br>
&gt;&gt; 1) Do all apps need a .service file<br>
&gt;<br>
&gt; 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&#39;t think that is true. Take for example wizard-mounter (one of my apps). This app didn&#39;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 &quot;Adding application to menu&quot; 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>
&gt;&gt;<br>
&gt;&gt; 2) What is the need when my application doesn&#39;t listen to any dbus event?<br>
&gt;<br>
&gt; 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>
&gt;<br>
&gt;&gt;<br>
&gt;&gt; BTW, my app is a QT application.<br>
&gt;<br>
&gt; You can browse the source of some other qt apps to see how to get this done.<br>
&gt;<br>
&gt;&gt;<br>
&gt;&gt; -Saurabh<br>
&gt;&gt;<br>
&gt;&gt; On Thu, May 13, 2010 at 5:22 PM, b0unc3 &lt;<a href="mailto:b0unc3@email.it">b0unc3@email.it</a>&gt; wrote:<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; On Thu, May 13, 2010 at 1:31 PM, saurabh aggarwal<br>
&gt;&gt;&gt; &lt;<a href="mailto:aggarwal.saurabh@gmail.com">aggarwal.saurabh@gmail.com</a>&gt; wrote:<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; Here it is -<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; [Desktop Entry]<br>
&gt;&gt;&gt;&gt; Encoding=UTF-8<br>
&gt;&gt;&gt;&gt; Version=0.1<br>
&gt;&gt;&gt;&gt; Type=Application<br>
&gt;&gt;&gt;&gt; Name=myapp<br>
&gt;&gt;&gt;&gt; Exec=/usr/bin/myapp<br>
&gt;&gt;&gt;&gt; Icon=myapp<br>
&gt;&gt;&gt;&gt; X-Maemo-Category=Main<br>
&gt;&gt;&gt;&gt; X-Window-Icon=myapp<br>
&gt;&gt;&gt;&gt; X-Window-Icon-Dimmed=myapp<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; I bet you need a valid osso context reference in your app. And also a<br>
&gt;&gt;&gt; good .service file (post it here if you have still problems)<br>
&gt;&gt;&gt; Follow this guide :<br>
&gt;&gt;&gt; <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>

&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; On Thu, May 13, 2010 at 4:56 PM, Faheem Pervez &lt;<a href="mailto:trippin1@gmail.com">trippin1@gmail.com</a>&gt;<br>
&gt;&gt;&gt;&gt; wrote:<br>
&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt; Start by posting the desktop file.<br>
&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt; On Thu, May 13, 2010 at 12:23 PM, saurabh aggarwal<br>
&gt;&gt;&gt;&gt;&gt; &lt;<a href="mailto:aggarwal.saurabh@gmail.com">aggarwal.saurabh@gmail.com</a>&gt; wrote:<br>
&gt;&gt;&gt;&gt;&gt; &gt; Any ideas on how to debug.<br>
&gt;&gt;&gt;&gt;&gt; &gt;<br>
&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt; Best Regards,<br>
&gt;&gt;&gt;&gt;&gt; Faheem<br>
&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt; &gt; Regards,<br>
&gt;&gt;&gt;&gt;&gt; &gt; -Saurabh<br>
&gt;&gt;&gt;&gt;&gt; &gt;<br>
&gt;&gt;&gt;&gt;&gt; &gt; _______________________________________________<br>
&gt;&gt;&gt;&gt;&gt; &gt; maemo-developers mailing list<br>
&gt;&gt;&gt;&gt;&gt; &gt; <a href="mailto:maemo-developers@maemo.org">maemo-developers@maemo.org</a><br>
&gt;&gt;&gt;&gt;&gt; &gt; <a href="https://lists.maemo.org/mailman/listinfo/maemo-developers" target="_blank">https://lists.maemo.org/mailman/listinfo/maemo-developers</a><br>
&gt;&gt;&gt;&gt;&gt; &gt;<br>
&gt;&gt;&gt;&gt;&gt; &gt;<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; _______________________________________________<br>
&gt;&gt;&gt;&gt; maemo-developers mailing list<br>
&gt;&gt;&gt;&gt; <a href="mailto:maemo-developers@maemo.org">maemo-developers@maemo.org</a><br>
&gt;&gt;&gt;&gt; <a href="https://lists.maemo.org/mailman/listinfo/maemo-developers" target="_blank">https://lists.maemo.org/mailman/listinfo/maemo-developers</a><br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;<br>
&gt;<br>
&gt;<br>
&gt; _______________________________________________<br>
&gt; maemo-developers mailing list<br>
&gt; <a href="mailto:maemo-developers@maemo.org">maemo-developers@maemo.org</a><br>
&gt; <a href="https://lists.maemo.org/mailman/listinfo/maemo-developers" target="_blank">https://lists.maemo.org/mailman/listinfo/maemo-developers</a><br>
&gt;<br>
&gt;<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>