Hi,
ext Tony Maro wrote:
> I'm trying to follow the instructions at
> http://maemo.org/development/documentation/how-tos/3-x/python_maemo_3.x_howto.html
>
> I have the icon launching my app just fine, but when I use the
> "X-Osso-Service" and a .service dbus file, I get something odd.
>
> It tel
Hi there.
On Thu, Aug 09, 2007 at 04:54:45PM -0400, Tony Maro wrote:
> It tells me "Starting app" in the top right, and the application starts just
> fine.
>
> Then, after about 20 seconds, the app closes. If I launch it without using
> X-Osso-service, it of course gives no notification that the
On 8/9/07, Eduardo Lima <[EMAIL PROTECTED]> wrote:
>
> Hi,
>
> You need to call osso.Context() somewhere in your code, preferably in
> the beginning of main function. You'll also need to call osso.close()
> in the end of your code.
Aha! Exactly what I needed. Thanks!
__
Hi,
You need to call osso.Context() somewhere in your code, preferably in
the beginning of main function. You'll also need to call osso.close()
in the end of your code. Something like this:
import osso
if __name__ == "__main__":
osso_ctx = osso.Context(thummim, , False)
...
...
I'm trying to follow the instructions at
http://maemo.org/development/documentation/how-tos/3-x/python_maemo_3.x_howto.html
I have the icon launching my app just fine, but when I use the
"X-Osso-Service" and a .service dbus file, I get something odd.
It tells me "Starting app" in the top right, a