[maemo-developers] Is it possible to make a "well-behaved" pyGame app with maemo-python ?

From: Thomas D. Waelti twaelti at dplanet.ch
Date: Fri Nov 30 00:33:15 EET 2007
Exactly my feelings. Compared to development on Palm or Windows Mobile, this is hell :-)
I spent 2-3 evenings on mClock, and at least a dozen on the packaging etc.

Something else: make sure your service name is something like com.nokia.yourapp, and NOT com.yourdomainname.yourapp or so...
And in the osso context, only connect to the yourapp part of the service, not the full service name...

Oh darn...

> Thomas D. Waelti wrote :
>>> However, I have been unable to adapt the mClock example for the
>>> service file successfully. As soon as I reference the X-Osso-
>>> Service value in the desktop file, I get a lengthy "Loading..."
>>> banner and nothing else, even though I call osso.Context()
>>> early in my code. I must be missing something still...
>> Does the service really load your app?
>> Try to launch the application manually from xterm using the same
>> command that you wrote into the service file.
>> Does it come up then?
> Yes, it's exactly the same line as in the .desktop file, and it
> does load the app by itself.
> This is all very frustrating. I think it's bad for the app
> portfolio of the tablet, and its users in general, when amateur
> programmers like me have to spend hours after their program is
> finished, just to understand how to put its icon in a menu and
> actually get it launched from there... all because of an arcane and
> somewhat under-documented packaging system that's only really
> grokable if you have a good experience of Linux and Gnome
> beforehand.
> I'm willing to persevere, but I guess most normal people trying to
> port their useful or fun little python app to their tablet would
> have given up by now.
>>> Also, I've noticed that when pressing the Home button, in the
>>> task list the app has the correct icon by is listed as
>>> "unknown", although the code does call
>>> pygame.display.set_caption(). Is there a hack for this too ?
>> No, this is a known bug. Somewhere between SDL and Hildon, this
>> information gets lost. Identical on all pygame apps.
>> (NOT in Pymaemo, see my bug report in
>> https://garage.maemo.org/tracker/index.php?func=detail&aid=1597&group_
>> id=40&atid=229)
> Thanks for that -- at least I can stop worrying about that
> particular bit ! :-)
> _______________________________________________
> maemo-developers mailing list
> maemo-developers at maemo.org
> https://lists.maemo.org/mailman/listinfo/maemo-developers

More information about the maemo-developers mailing list