Reply
Thread Tools
edgedemon's Avatar
Posts: 383 | Thanked: 209 times | Joined on Oct 2009 @ London UK
#1
OK, I have downloaded the SDK, had a look and have decided that I would like to write a simple n900 app.
I understand that Nokia are pushing Qt going forward, my question is what should I start reading up on or learning in order to write an900 app?

I have some vb script skills and I once wrote a very basic visual basic program - and I mean basic!!

I would like it to be a language that I can use elsewhere, not just for n900 as I come from a windows background. If I have read things correctly, I understand that I can use pretty much any language as long as it can hook into Qt??
Should I be trying to learn C++, or even Ruby? What is the best way going forward as I dont want waste my time following dead ends..

Many Thanks
__________________
Hi! I'm Martin, a Maemo Greeter!

Useful links for newcomers: New members say hello, New users start here, Community subforum , Beginners'wiki page, Maemo5 101, Frequently Asked Questions (FAQ)

If I can help with anything else, just ask!
 
qgil's Avatar
Posts: 3,105 | Thanked: 11,088 times | Joined on Jul 2007 @ Mountain View (CA, USA)
#2
 

The Following User Says Thank You to qgil For This Useful Post:
edgedemon's Avatar
Posts: 383 | Thanked: 209 times | Joined on Oct 2009 @ London UK
#3
Cheers qgil,
I did see the first link, but it seemed to n900 specific, I was looking for something a bit more general purpose and was getting confused as to what bits were general programming and what bits where purely applicable for the n900

I will go through the whole thing, make some notes and post in the developers forum...
__________________
Hi! I'm Martin, a Maemo Greeter!

Useful links for newcomers: New members say hello, New users start here, Community subforum , Beginners'wiki page, Maemo5 101, Frequently Asked Questions (FAQ)

If I can help with anything else, just ask!
 
Posts: 15 | Thanked: 17 times | Joined on Sep 2009 @ London
#4
Originally Posted by edgedemon View Post
I would like it to be a language that I can use elsewhere
...

Should I be trying to learn C++, or even Ruby? What is the best way going forward as I dont want waste my time following dead ends..
this thread might be helpful to give you an overview
http://talk.maemo.org/showthread.php?t=32988

My completely unbiased recommendation would be to learn Python. It is easy to learn, elegant and powerful and yes you can use it elsewhere.
 

The Following 5 Users Say Thank You to akazero For This Useful Post:
edgedemon's Avatar
Posts: 383 | Thanked: 209 times | Joined on Oct 2009 @ London UK
#5
Originally Posted by akazero View Post
this thread might be helpful to give you an overview
http://talk.maemo.org/showthread.php?t=32988

My completely unbiased recommendation would be to learn Python. It is easy to learn, elegant and powerful and yes you can use it elsewhere.
Just what I was looking for - off to have a look at c++ and python and I will make a choice once I have read a bit more..
__________________
Hi! I'm Martin, a Maemo Greeter!

Useful links for newcomers: New members say hello, New users start here, Community subforum , Beginners'wiki page, Maemo5 101, Frequently Asked Questions (FAQ)

If I can help with anything else, just ask!
 
Posts: 415 | Thanked: 732 times | Joined on Jan 2009 @ Finland
#6
There's a good Qt programming book freely available at: http://www.qtrac.eu/C%2B%2B-GUI-Prog...t-4-1st-ed.zip

It's the older edition of the book but the basics haven't changed. That's book I used to learn Qt.
 

The Following 9 Users Say Thank You to timoph For This Useful Post:
dwould's Avatar
Posts: 529 | Thanked: 262 times | Joined on Dec 2008 @ Eastleigh, Hampshire, UK
#7
I recently made some similar decisions. And after a brief dable with C++ and I chose Python. although I've written just for the n810 at the moment. as far as I can tell the only things that make it maemo are two calls to hildon program and hildon window. I could easily switch that and have everything work anywhere else.
I just put up a post on my blog about my first attempt to write a basic app (in this case a twitter client) using python
__________________
----------
N900
http://danielwould.wordpress.com
Check out Witter, a twitter client for N900
http://danielwould.wordpress.com/witter

If Witter isn't working for you, eg crashes/doesn't start, gives errors etc etc. Please run it from x-term using:
run-standalone.sh python2.5 /opt/witter/witter.py

This will generate diagnostic output. Without this I cannot help you.
 

The Following User Says Thank You to dwould For This Useful Post:
Posts: 74 | Thanked: 142 times | Joined on Oct 2009 @ Chicago, US
#8
I second other people in this thread and say C/C++ and Python are the most desirable languages to learn, not just for writing maemo applications, but in general.

What you have to understand that Python is an interpreted language, .i.e., there is an interpreter program which runs your Python script. This allows for higher level features (e.g., you don't have to declare the type of variable) but also incurs some overhead in terms of speed and memory requirements. C++ on the other hand runs natively (i.e. faster in general) but is also harder to learn.

So, if you don't have any programming experience, start playing around with Python and learn the basics. There are also Python bindings for Qt, so you can learn about that as well (using Qt in Python and C++ is very similar). If you like it and get more proficient after a while, you can start looking at C++.
 

The Following 2 Users Say Thank You to pinsh For This Useful Post:
Den in USA's Avatar
Posts: 1,390 | Thanked: 642 times | Joined on Nov 2007 @ California USA
#9
Am I the only one still programming in GWBASIC?
__________________
N800 / Diablo / 16gb int / 16gb ext / Globalsat BT-359 gps ..... Dell Streak 5 - Android 2.2.2
 
fpp's Avatar
Posts: 2,853 | Thanked: 968 times | Joined on Nov 2005
#10
Yes, Den, 'fraid so... you and those two other guys doing COBOL and FORTRAN should group together :-)
__________________
maemo blog

Last edited by fpp; 2009-11-09 at 20:10.
 

The Following 2 Users Say Thank You to fpp For This Useful Post:
Reply


 
Forum Jump


All times are GMT. The time now is 23:30.