maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Development (https://talk.maemo.org/forumdisplay.php?f=13)
-   -   Starting out as N900 Developer (https://talk.maemo.org/showthread.php?t=38357)

VDVsx 2010-01-07 15:19

Re: Starting out as N900 Developer
 
Here is some code examples using Maemo5 specific stuff: http://qt.gitorious.org/+qt-develope...xamples/maemo5

More generic examples here: http://qt.gitorious.org/+qt-develope...antle/examples

me2000 2010-01-07 15:20

Re: Starting out as N900 Developer
 
This is where I would start.

"PluThon (Eclipse based)
PluThon is a full Python IDE for Maemo, based on Eclipse. While PluThon is easy to use and provides a complete solution, it is not necessary for basic Python development for Maemo. If you already use Eclipse for your development, PluThon might be your best option."

http://wiki.maemo.org/PyMaemo/QuickStartGuide

Eclipse rocks. Python rocks. Using both for Maemo device development sounds pretty sweet to me.

jebba 2010-01-08 01:50

Re: Starting out as N900 Developer
 
Quote:

Originally Posted by Sasler (Post 456863)
I've never used any other framework than .NET. And coming form that world, I really do miss the plethora of simple code examples on how to do different things. That is. other than just the Hello World. ;)

Just download the source code to a project similar to what you are doing and cut & paste. :)

Sasler 2010-01-08 06:25

Re: Starting out as N900 Developer
 
Quote:

Originally Posted by jebba (Post 458516)
Just download the source code to a project similar to what you are doing and cut & paste. :)

Now if only those source codes would have some good commentary, which would explain what it is actually doing and how. ;)

Fargus 2010-01-08 06:39

Re: Starting out as N900 Developer
 
Quote:

Originally Posted by jkq (Post 445595)
...
PS. Thus, I started to port my code written for Python/Qt to C++/Qt, and boy, am I missing Python. :)
...

But the result will be faster and smaller :)

Fargus 2010-01-08 06:41

Re: Starting out as N900 Developer
 
Quote:

Originally Posted by mmurfin87 (Post 444810)
Microsoft is always well documented. Google is too most of the time.

The quality of the MS documentation has been the source of jokes for years in the professional community though it is a lot better than it has been in the past. Be nice to see Maemo catch up but who will do the work?

Fargus 2010-01-08 06:53

Re: Starting out as N900 Developer
 
Quote:

Originally Posted by Sasler (Post 456863)
...
Unfortunately, I seem to be one of these "sissies". :p I've never used any other framework than .NET. And coming form that world, I really do miss the plethora of simple code examples on how to do different things. That is. other than just the Hello World. ;)

To make the matters worse for me, I chose to start using C++ which is a bad move, since all the documentation it is assumed that everyone who uses C++ has already done so for at least several centuries if not for millenniums. Before starting to develop for Maeomo, Visual Basic (yes, I already told that I am a "sissy" :D) was more than enough for my needs. Since I had to learn a new language anyway, I thought I learn a good one which is useful on many platforms.
...

If you are used to .NET then try playing with C# first so the object model is familiar. The syntax is close to C++ though arrays are not implimented properly in C#.

jebba 2010-01-08 12:21

Re: Starting out as N900 Developer
 
Quote:

Originally Posted by Sasler (Post 458690)
Now if only those source codes would have some good commentary, which would explain what it is actually doing and how. ;)

Some do, some don't, it's true. You can always email the authors directly and request they document. If it's something you really want to know about.

Have fun.

dwould 2010-01-08 12:47

Re: Starting out as N900 Developer
 
It seems like the best development environment is qt creator+madde, but that's c++ only?
esbox with pluthon is pretty good for python, but I cannot for the life of me get it to play with SVN which is what garage uses. So its a pain to use with svn

the suggestion of using qt with python seems to be dependent on waiting for some fix arriving at some point that would actually allow you to get the app out of extra-devel. But if you want to write a python app that people can actually use *now* then you have to stick with GTK?
Are there any guides on how you'd convert from gtk to qt?
I've been using gtkBuilder, is there some QT equivalent? or do I have to go back to coding everything integrated?

I am hoping to get back to working on witter, and I'm trying to decide if I should seriously consider switching to QT.

Bratag 2010-01-08 15:53

Re: Starting out as N900 Developer
 
I would like to know what the status is on getting the Qt 4.6 libs into the repos. Telling people to develop in Qt is all well and good but if we really are "going with the future of Maemo" then we need to be coding against 4.6.

krk969 2010-01-08 16:03

Re: Starting out as N900 Developer
 
Quote:

Originally Posted by Bratag (Post 459376)
I would like to know what the status is on getting the Qt 4.6 libs into the repos. Telling people to develop in Qt is all well and good but if we really are "going with the future of Maemo" then we need to be coding against 4.6.

libqt4-maemo-dev and likewise are all qt4.6 :)

http://maemo.org/packages/view/libqt4-maemo5-dev/

Sasler 2010-01-08 16:08

Re: Starting out as N900 Developer
 
Quote:

Originally Posted by Fargus (Post 458696)
The quality of the MS documentation has been the source of jokes for years in the professional community though it is a lot better than it has been in the past. Be nice to see Maemo catch up but who will do the work?

I have this funny feeling that Maemo and Qt have something to do with Nokia... It's just a hunch. :rolleyes: But if this turns out to be the case, one would think it would serve Nokia's best interests if there were good documentation available for developing in Qt. In fact, let me be so presumptuous as to suggest that Nokia should actually hire some capable people to write these much needed documents. Yes, for real money! :D

However, let us be honest here. The situation with documentation is not at all that hopeless. For instance, I'm rather fond of this E-learning thing. It's simple, well presented and, on top of that, there is a really nice and soothing female voice. :D Of course, one doesn't learn anything useful here, but the voice is nice. :p

Bratag 2010-01-08 16:20

Re: Starting out as N900 Developer
 
Quote:

Originally Posted by krk969 (Post 459400)
libqt4-maemo-dev and likewise are all qt4.6 :)

http://maemo.org/packages/view/libqt4-maemo5-dev/

Danke - I didnt realise they were out there already. Might find 10 minutes today to try write a few simple Qt apps and see how they play without being hildonised.

krk969 2010-01-08 16:29

Re: Starting out as N900 Developer
 
Quote:

Originally Posted by Bratag (Post 459439)
Danke - I didnt realise they were out there already. Might find 10 minutes today to try write a few simple Qt apps and see how they play without being hildonised.

AFAIK

I understand that QT apps will run on your N900 like normal apps. You dont need to do anything specific for maemo.
Except for hildonizing you can refer to some new stuff coming out
http://wiki.maemo.org/Maemo_Qt_Extra_Libraries

rdnetto 2010-01-10 00:30

Re: Starting out as N900 Developer
 
Quote:

Originally Posted by Sasler (Post 459410)
I have this funny feeling that Maemo and Qt have something to do with Nokia... It's just a hunch. :rolleyes: But if this turns out to be the case, one would think it would serve Nokia's best interests if there were good documentation available for developing in Qt. In fact, let me be so presumptuous as to suggest that Nokia should actually hire some capable people to write these much needed documents. Yes, for real money! :D

However, let us be honest here. The situation with documentation is not at all that hopeless. For instance, I'm rather fond of this E-learning thing. It's simple, well presented and, on top of that, there is a really nice and soothing female voice. :D Of course, one doesn't learn anything useful here, but the voice is nice. :p

You mean something like this: http://doc.trolltech.com/4.6/index.html ? It seems to have examples for the most common uses of each class as well as a fairly comprehensive reference. Downside is that it appears to assume a knowledge of the basics, but it's still pretty useful.

ravioli156 2010-01-10 01:07

Re: Starting out as N900 Developer
 
And you can replace 4.6 with 4.5 because if I remember well the QT implementation in maemo is 4.5

Sasler 2010-01-10 01:36

Re: Starting out as N900 Developer
 
Quote:

Originally Posted by rdnetto (Post 461834)
You mean something like this: http://doc.trolltech.com/4.6/index.html ? It seems to have examples for the most common uses of each class as well as a fairly comprehensive reference. Downside is that it appears to assume a knowledge of the basics, but it's still pretty useful.

Check this post. :) Yes, I'm using those documents quite frequently. They are the same as the QT Creators help files. I just often find it hard to understand from them how to use those classes I need. But hey, maybe it's just me. ;)

VDVsx 2010-01-10 02:22

Re: Starting out as N900 Developer
 
Quote:

Originally Posted by ravioli156 (Post 461859)
And you can replace 4.6 with 4.5 because if I remember well the QT implementation in maemo is 4.5

Maemo has both Qt 4.5 and 4.6, and you can use both, even in the same device in parallel ;)

I personally recommend Qt 4.6 if you're starting, since is much more complete in terms of Maemo5 support.

bbns 2010-01-10 02:27

Re: Starting out as N900 Developer
 
you can have QML as your UI overlay and your backend as C/C++ code (to store / pass data to QML, especially you want to write some 3D games without bending your head on GUI.

currently there is an issue regarding to pixelmap. however, I didn't see other problems.


All times are GMT. The time now is 19:14.

vBulletin® Version 3.8.8