maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Development (https://talk.maemo.org/forumdisplay.php?f=13)
-   -   [ANNOUNCE] The First N900 Coding Competition! 21st May-21st July. Open to all! (https://talk.maemo.org/showthread.php?t=53112)

mikec 2010-06-10 21:42

Re: [ANNOUNCE] The First N900 Coding Competition! 21st May-21st July. Open to all!
 
Put me down for $20

(and another 10$ if someone figures out HTF QAudioInput works using python):D

Mike C

Nathraiben 2010-06-11 00:06

Re: [ANNOUNCE] The First N900 Coding Competition! 21st May-21st July. Open to all!
 
Great, I already fail - at installing the SDK... :D

DanielW 2010-06-11 08:37

Re: [ANNOUNCE] The First N900 Coding Competition! 21st May-21st July. Open to all!
 
Quote:

Originally Posted by Nathraiben (Post 709692)
Great, I already fail - at installing the SDK... :D

Do you mean the Nokia Qt SDK from:
http://www.forum.nokia.com/info/sw.n...ia_Qt_SDK.html

How did it fail?

jessi3k3 2010-06-11 08:45

Re: [ANNOUNCE] The First N900 Coding Competition! 21st May-21st July. Open to all!
 
Quote:

Originally Posted by Nathraiben (Post 709692)
Great, I already fail - at installing the SDK... :D

I had the same problem (windows 7 pro, 64 bit). Dont use the online installer, use the offline (900mb) installer.

When I used the online installer it complained alot and failed to place tons of files in their proper directories. I had to ignore over 40 error prompts and, when it finished, the installation was broken.

Nathraiben 2010-06-11 08:56

Re: [ANNOUNCE] The First N900 Coding Competition! 21st May-21st July. Open to all!
 
Ah, didn't even know about that one - right now I was going to use the one from the Maemo WIKI

And it turned out to be a known issue with Lucid that (once found in the elusive Known Issues list :D) was easy to fix.

I guess I'll also take a look at the Nokia one, with all that talk about Qt being THE FYOOCHA and all that. Couldn't find it in the WIKI, is the default language C++ for that one?
(Not sure whether I'm up to the task to learn a new language in 6 days - though I have to admit that after a decade even C++ feels like a "new" language to me... :P)

DanielW 2010-06-11 10:38

Re: [ANNOUNCE] The First N900 Coding Competition! 21st May-21st July. Open to all!
 
Quote:

Originally Posted by Nathraiben (Post 710060)
I guess I'll also take a look at the Nokia one, with all that talk about Qt being THE FYOOCHA and all that. Couldn't find it in the WIKI, is the default language C++ for that one?

Yes, it is for C++.

If you want to use PyQt+python you don't need any SDK at all.

Just get a good text editor with some python syntax highlighting and indention support and write your code. Copy the files over to the n900 and run them (after installing pyqt on the N900).

You could use the QtDesigner (part of the Nokia Qt SDK) also for PyQt to Design GUIs.

Nathraiben 2010-06-11 11:38

Re: [ANNOUNCE] The First N900 Coding Competition! 21st May-21st July. Open to all!
 
Thanks, DanielW, that's good news!

Not sure about using python instead. Guess I'll take a look at the syntax to see whether learning python might even be easier than re-learning C++. ;)

kojacker 2010-06-11 20:43

Re: [ANNOUNCE] The First N900 Coding Competition! 21st May-21st July. Open to all!
 
Quote:

Originally Posted by mikec (Post 709514)
Put me down for $20

(and another 10$ if someone figures out HTF QAudioInput works using python):D

Mike C

Thanks Mike, I'll add you to the lists :)

Still having problems with that QtMultimedia, huh? :( I was hoping it would have been worked out by now, I know helex and noobmonkey are struggling a bit with it too. if it works in c++, is there anyway to call the api from within python like the example here for the contact list http://wiki.maemo.org/PyMaemo/Access...ython_bindings ? I hope you all get it sorted out soon, unfortunately it looks like you are pioneering a bit..

Oh and thanks Daniel and jessi for helping Nathraiben out with his sdk problems. I guess that's only 5 days left for you now, better get the snacks in and pull an all nighter or two :p I hope you get something completed, it'll be cool to see what you come up with... besides you got all those weekends up til the July 21 deadline :)

As well as Qt and PyQt, you can also use PyGame (the Python game framework) to make apps that run on the N900 without requiring Qt at all. It's just a matter of creating the app size to suit the n900 and transferring the py file onto the phone. Hmm if I grab a couple of hours before bed to myself I might do a teeny weeny mini tutorial thingy on using PyGame just cause.. well no reason.. just. I'll update if it happens :)

Nathraiben 2010-06-12 01:41

Re: [ANNOUNCE] The First N900 Coding Competition! 21st May-21st July. Open to all!
 
Quote:

Originally Posted by kojacker (Post 711182)
Oh and thanks Daniel and jessi for helping Nathraiben out with his sdk problems.

Already love this community! People are always eager to help, but without being stuck up like in most other Linux communities... ;)

Especially seeing various competitors actually helping out each other was a totally awesome novelty to me. So another round of thanks from me!

Quote:

I guess that's only 5 days left for you now, better get the snacks in and pull an all nighter or two :p
Hehe, non worries, we're still at 6 days left. I just sponaneously decided that getting started on the development was more important than getting some sleep between workdays... :P

Quote:

I hope you get something completed, it'll be cool to see what you come up with...
Hope so, too - but I'm optimistic. Working with business people is sucking all the fun out of programming, so I HAVE to give my private projects my all. ;)

Quote:

besides you got all those weekends up til the July 21 deadline :)
But... the weekends (minus spending some time with my neclected friends) ARE the 6 days... :D

Quote:

=As well as Qt and PyQt, you can also use PyGame (the Python game framework) to make apps that run on the N900 without requiring Qt at all. It's just a matter of creating the app size to suit the n900 and transferring the py file onto the phone. Hmm if I grab a couple of hours before bed to myself I might do a teeny weeny mini tutorial thingy on using PyGame just cause.. well no reason.. just. I'll update if it happens :)
Oh, I'll definitely have a look at that - my thanks!

By now I'm almost sure I'm going to get into python instead of C++. It will be hard getting used to having no delimitors (getting used to dots instead of semicolons was hard enough already :P), but other than that the syntax better "appeals" to my inner Java and PHP developers. And being an interpreter language is a bit of a plus, too. Especially when developing on the N900 itself, I guess.

Thanks again!
*off to read some tutorials on python*

kojacker 2010-06-13 00:14

Re: [ANNOUNCE] The First N900 Coding Competition! 21st May-21st July. Open to all!
 
Quote:

Originally Posted by kojacker (Post 711182)
As well as Qt and PyQt, you can also use PyGame (the Python game framework) to make apps that run on the N900 without requiring Qt at all. It's just a matter of creating the app size to suit the n900 and transferring the py file onto the phone. Hmm if I grab a couple of hours before bed to myself I might do a teeny weeny mini tutorial thingy on using PyGame just cause.. well no reason.. just. I'll update if it happens :)

Ive done a tutorial on using Pygame here if anyone's interested -
Intro to Building Simple Apps with PyGame... in 30 mins! It's a pretty simple introduction, and creates two simple 'apps'

A hello world basic app ("Hello Spaceship!") with a spaceship that moves to key presses on the N900 keyboard
http://i90.photobucket.com/albums/k2...aeStarShip.png

And a hammer app lol. You hold it like a hammer, and when it swings past horizontal it makes a hammer sound. Actually it's kinda addictive! The app reads the n900 horizontal orientation using the accelerometer and uses Pygame to play the sound file.
http://i90.photobucket.com/albums/k2...-maeHammer.png

Thanks to Nathraiben for thanking it :D I was updating the thread in bits and pieces whilst watching the world cup highlights on TV, and noticed loads of people were viewing the thread and only Nathraiben clicked on 'thanks' grrrr :p Ofcourse, it could mean that most people thought it was rubbish lol :D

Edit: and cheve now too :cool:


All times are GMT. The time now is 15:05.

vBulletin® Version 3.8.8