Reply
Thread Tools
mikec's Avatar
Posts: 1,366 | Thanked: 1,185 times | Joined on Jan 2006
#241
Put me down for $20

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

Mike C
__________________
N900_Email_Options Wiki Page
 

The Following 2 Users Say Thank You to mikec For This Useful Post:
Nathraiben's Avatar
Posts: 267 | Thanked: 408 times | Joined on May 2010 @ Austria
#242
Great, I already fail - at installing the SDK...
 

The Following User Says Thank You to Nathraiben For This Useful Post:
Posts: 51 | Thanked: 32 times | Joined on Jan 2010
#243
Originally Posted by Nathraiben View Post
Great, I already fail - at installing the SDK...
Do you mean the Nokia Qt SDK from:
http://www.forum.nokia.com/info/sw.n...ia_Qt_SDK.html

How did it fail?
 

The Following 2 Users Say Thank You to DanielW For This Useful Post:
Posts: 304 | Thanked: 176 times | Joined on Oct 2009
#244
Originally Posted by Nathraiben View Post
Great, I already fail - at installing the SDK...
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.
 

The Following 2 Users Say Thank You to jessi3k3 For This Useful Post:
Nathraiben's Avatar
Posts: 267 | Thanked: 408 times | Joined on May 2010 @ Austria
#245
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 ) 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)
 

The Following User Says Thank You to Nathraiben For This Useful Post:
Posts: 51 | Thanked: 32 times | Joined on Jan 2010
#246
Originally Posted by Nathraiben View Post
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.
 

The Following 4 Users Say Thank You to DanielW For This Useful Post:
Nathraiben's Avatar
Posts: 267 | Thanked: 408 times | Joined on May 2010 @ Austria
#247
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++.
 

The Following User Says Thank You to Nathraiben For This Useful Post:
Posts: 1,086 | Thanked: 2,964 times | Joined on Jan 2010
#248
Originally Posted by mikec View Post
Put me down for $20

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

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 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
__________________
Follow me on my neglected twitter @kojacker

Cybot950 - Control a robot with your N9/N950
SMSPetFeeder - Build a Bluetooth/SMS dog feeder with Qt, N950, and arduino
Nerf950 - Use your N9/N950 to fire a Nerf gun

Last edited by kojacker; 2010-06-11 at 21:37.
 

The Following 4 Users Say Thank You to kojacker For This Useful Post:
Nathraiben's Avatar
Posts: 267 | Thanked: 408 times | Joined on May 2010 @ Austria
#249
Originally Posted by kojacker View Post
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!

I guess that's only 5 days left for you now, better get the snacks in and pull an all nighter or two
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

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.

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...

=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*
 

The Following User Says Thank You to Nathraiben For This Useful Post:
Posts: 1,086 | Thanked: 2,964 times | Joined on Jan 2010
#250
Originally Posted by kojacker View Post
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


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.


Thanks to Nathraiben for thanking it 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 Ofcourse, it could mean that most people thought it was rubbish lol

Edit: and cheve now too
__________________
Follow me on my neglected twitter @kojacker

Cybot950 - Control a robot with your N9/N950
SMSPetFeeder - Build a Bluetooth/SMS dog feeder with Qt, N950, and arduino
Nerf950 - Use your N9/N950 to fire a Nerf gun

Last edited by kojacker; 2010-06-13 at 00:20.
 

The Following 4 Users Say Thank You to kojacker For This Useful Post:
Reply


 
Forum Jump


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