![]() |
Any Python apps, for N9?
I'm trying to get my head around developing apps. using Python/QML, but with a severe lack of information or tutorials out there, regarding programming specifically to the N9, it is baffling me.
I've attempted to create some small apps., but either they don't work as expected, or do not launch. So, is any one aware of any apps., for the N9, that have been developed in Python? I'm asking as looking over the source code would be a great aid in helping me to understand how it all comes together. Thanks. |
Re: Any Python apps, for N9?
|
Re: Any Python apps, for N9?
i suggest you to learn Qt. it embedded in system and have better performance than python. And it not harder than python. Maybe just in a bit ;)
|
Re: Any Python apps, for N9?
Performance is not that much worse. Better to have applications than not. So please no cliches. How much memory and clock speed?. The qml Side is identical, the pyside straight forward.
There is a repository with examples somewhere, github?! I'll post the link when I get home. |
Re: Any Python apps, for N9?
gpodder would be a prominent example of Python on the N9, and in the Nokia Store.
|
Re: Any Python apps, for N9?
Python for Newbies
http://temporaryland.wordpress.com/2...n-for-newbies/ |
Re: Any Python apps, for N9?
Cheers for the replies I'll take a look at the apps. mentioned.
@SamGan, thanks but it's not Python tutorials I'm after, I already have a fair bit of knowledge in the language, I'm trying to learn how to interact with QML using Python, and vice versa. |
Re: Any Python apps, for N9?
Here is how I interact between Python and QML in FeedingIt. Not sure it's the best way to do it, but you can see in there how the Controller object is declared with its various slots that can be called from QML in this file:
https://garage.maemo.org/plugins/ggi...dca7f1;hb=HEAD gpodder is probably be a much better example (but might be more complicated, due to its size). |
Re: Any Python apps, for N9?
I think thp has done a great pyside+qml guide.
http://thpmaemo.blogspot.se/2011/01/...meego.html?m=1 |
Re: Any Python apps, for N9?
Quote:
Quote:
|
Re: Any Python apps, for N9?
Quote:
AFAIK, there is no SDK which supports Python, and so using the N9 simulator is not an option. The only option I see is SSH'ing to the device and coding away without the use of an IDE, and running the code nativley on it, which seems a bit cumbersome. Is this the method you used? |
Re: Any Python apps, for N9?
Have a look at the Harmattan organisation on github - https://github.com/harmattan . There are a few python/qml apps there.
|
Re: Any Python apps, for N9?
Pyside already supports QtSimulator. Get Pyside sources from github and build them against SDK simulator libs. After that, create a virtualenv environment an install Pyside modules.on it. This approach works for me
|
Re: Any Python apps, for N9?
Quote:
Later, I moved the project into the Qt SDK (mainly to create the part that uses the synchronization framework which needs to be in C++), and added a few lines in the .proj file to deploy the python files. So I let the Qt SDK create the package and deploy to the device. |
Re: Any Python apps, for N9?
Check out Mieru, modRana & RePho in my Github repository. They are all written in Python and use QML. :)
|
Re: Any Python apps, for N9?
In case you would like to have some examples, I wrote several apps in Python+QML for the N9.
See http://www.ruinelli.ch/harmattan or http://store.ovi.com/publisher/George%20Ruinelli for a list. For some of them I also already provided the source on my website or the OBS build server. As for the testing, I either start them directly on my device (copy down through SSH and start in SSH shell), or since I work under Linux, I just can start the directly on my PC. |
All times are GMT. The time now is 20:13. |
vBulletin® Version 3.8.8