maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Development (https://talk.maemo.org/forumdisplay.php?f=13)
-   -   I want to start developing. (https://talk.maemo.org/showthread.php?t=64433)

andil 2010-10-27 07:37

I want to start developing.
 
Hi,guys I want to start developing programs and other stuff,on the n900.

-What are the basic skills I should have?

Atm I know C language,and I actually studing the c++ and playing around with visual studio professional :cool: .Basically programming is my hobby.

-is n900 using c language?
-Can I start without owning a n900? (cus I'm saving money atm to buy one,lol )

thats it for now.Thank you in advance for any answers:)

help this beginner to become a pro!lol ;)

rash.m2k 2010-10-27 07:57

Re: I want to start developing.
 
Yeah - don't need to own an N900 - but it would be good to!

Follow the development above OR you can download a VMware Image which has everything installed and working - you don't need to do anything except run it.

andil 2010-10-27 08:15

Re: I want to start developing.
 
ok I was reading that and I realize that you can only work on linux right?but I have windows7 !?

Wikiwide 2010-10-27 08:22

Re: I want to start developing.
 
There are some Qt Creator, Nokia SDK, and Scratchbox, and MADDE, and I don't know what.

The recommended way is to develop in Qt C++. But you can also develop in Qt Python, in C, in Python, in Perl, in GTK C++.

Most people around develop on PC. There is an N900 emulator/virtual machine.

You can attach source code/compiled program to your posts for people around to test it on the real device.

When you consider your application workable, you can upload it to Maemo repository.

http://wiki.maemo.org/Documentation/Maemo_5_Final_SDK
http://wiki.maemo.org/Documentation/...Virtual_Images

It can be done on Windows.

http://maemovmware.garage.maemo.org/...Box_on_Windows
http://maemovmware.garage.maemo.org/...tallation.html

andil 2010-10-27 08:26

Re: I want to start developing.
 
Ok thanks guys....erm *my eyes are burning* lol it not possible to make a book of that? I will buy it!

hehe wow I'm so excited guys!cant wait to start making stuff on maemo!

benlau 2010-10-27 08:29

Re: I want to start developing.
 
Nokia QT SDK is the simplest way to get started.

http://www.forum.nokia.com/Library/Tools_and_downloads/

buchanmilne 2010-10-27 08:32

Re: I want to start developing.
 
The easiest way to start at present is by downloading the Nokia Qt SDK. On Linux, it comes with a symbian and Maemo toolchain and device simulator, tailored for Qt development. AFAIK, the Windows version provides the same feature set for Maemo, and more features for Symbian.

If you want to do other non-Qt develoment, the Maemo SDK might more feature complete.

I would recommend you start with Nokia Qt SDK on Windows for now.

mrsellout 2010-10-27 08:43

Re: I want to start developing.
 
I think this link might be useful.

danielwilms 2010-10-27 08:56

Re: I want to start developing.
 
Quote:

Originally Posted by buchanmilne (Post 852897)
I would recommend you start with Nokia Qt SDK on Windows for now.

I'd second that. Take the Nokia Qt SDK and start around playing with Qt and QML. There is as well a list of documents on Forum Nokia's site. These should help you as well.

Cheers,
Daniel

rash.m2k 2010-10-27 11:28

Re: I want to start developing.
 
Quote:

Originally Posted by andil (Post 852872)
ok I was reading that and I realize that you can only work on linux right?but I have windows7 !?

Not quite - download the VMWare image - it has Linux installed on it with ALL the tools you need to start development, even on Windows.

You will need to download vmware player as well (free). Here:

http://maemovmware.garage.maemo.org/...on_vmware.html

danielwilms 2010-10-27 11:33

Re: I want to start developing.
 
Quote:

Originally Posted by rash.m2k (Post 853240)
Not quite - download the VMWare image - it has Linux installed on it with ALL the tools you need to start development, even on Windows.

You will need to download vmware player as well (free). Here:

http://maemovmware.garage.maemo.org/...on_vmware.html

Why hassle around with VMWare if you can develop in the Nokia Qt SDK on your native system?

Daniel

Willem Liu 2010-10-27 11:41

Re: I want to start developing.
 
I've just started developing for Maemo 5 on my Windows 7 computer a month or something ago.

I'm using the Nokia Qt SDK which can build .deb files which you can install on a N900 directly.
You can also set your N900 as simulator which will actually run your application directly on the N900. Although I've only managed to get that working over WiFi and not over the USB connection.

It took me quite some headaches to finally get things uploaded to repositories and compiled OK by the autobuilder. I can give you pointers for that if you need any when you get to that point. But once you've got that going it's easy.

As a C/C++ programmer myself, I would suggest you to use Nokia Qt SDK.

chivar 2010-10-27 12:04

Re: I want to start developing.
 
hey i like this thread! im also interested in here :) thread bookmarked!

aseriesofdarkcaves 2010-10-27 12:24

Re: I want to start developing.
 
Quote:

Originally Posted by rash.m2k (Post 853240)
Not quite - download the VMWare image - it has Linux installed on it with ALL the tools you need to start development, even on Windows.

You will need to download vmware player as well (free). Here:

http://maemovmware.garage.maemo.org/...on_vmware.html

The Ubuntu Desktop virtual image seems to have disappeared from the downloads page - I've been tearing at various limbs on my body for days now, trying to find a torrent - anything - so that I can get started...

So it looks like the Qt SDK is actually the easiest way to get started now, by default. I've practically given up trying to set up the SDK manually on Ubuntu as packaging is a pain.

I'm going to try the Qt SDK and see how it goes. Thanks guys.

danielwilms 2010-10-27 13:23

Re: I want to start developing.
 
Quote:

Originally Posted by aseriesofdarkcaves (Post 853344)
The Ubuntu Desktop virtual image seems to have disappeared from the downloads page - I've been tearing at various limbs on my body for days now, trying to find a torrent - anything - so that I can get started...

yeah, we had some problems with it. So that it is actually down at the moment.

Quote:

Originally Posted by aseriesofdarkcaves (Post 853344)
So it looks like the Qt SDK is actually the easiest way to get started now, by default. I've practically given up trying to set up the SDK manually on Ubuntu as packaging is a pain.

I'm going to try the Qt SDK and see how it goes. Thanks guys.

Cool. Let us know about your feedback. For any questions, just shoot ;)

Daniel

andil 2010-10-27 17:25

Re: I want to start developing.
 
So the nokia Qst is just like driving a car with automatic gear,and assisted brakes right?

and for maemo is a manual,and hard like a lamborgini?

btw I'm going to try them both,nokia looking noobish-friendly....but its ok

paulemm 2010-10-27 17:33

Re: I want to start developing.
 
If you want to start QT delelopment you do not need maemo SDK. All you need is Qt SDK and MADDE. You can integrate Madde with QT. Qt SDK is where you code, design etc. With Madde you can make .deb for maemo. I was playing with it for a while its quit easy

SavageD 2010-10-27 18:27

Re: I want to start developing.
 
Surprised no one mentioned this, Youtube :D my friend. If you get a problem understanding anything related to programming, classes, structures, functions, stacks, trees etc...Youtube is your friend. Its filled with c++ and java tutorials. Although I've never actually tried anything in QT. I've read that it's pretty close to c++, so yea, c++ should be the way to go if you want to get started with QT.

Unless Nokia has some excellent tutorials, In which case, you won't need to bother with c++, and just start learning QT. As no programmer can magically know a programming language without out doing tutorials first.

HeartJ 2010-11-02 15:40

Re: I want to start developing.
 
I just tried Nokia Qt SDK and it was very convinent!!!

dov 2010-11-02 15:58

Re: I want to start developing.
 
I personally find Python/Gtk to be the easiest platform to work with on the N900. I usually add a couple of whatifs in the beginning of the programs so that I can test and use the gtk programs on my desktop before scp'ing it to the N900 and running them there.

You can even develop the programs on the N900 if you are using Python (or any interpreted language). I use git to keep the versions synchronized between my desktop and my N900.

Here is a simple hello world program:
Code:

#!/usr/bin/python
# -*- Encoding: utf-8 -*-
"""
A python hello world program for the desktop and for maemo.

Dov Grobgeld <dov.grobgeld@gmail.com>
Tuesday 2010-11-02 17:55
"""
import gtk

# Use hildon or standard gtk
try:
    import hildon
    use_hildon=True
    w = hildon.Window()
    pa = hildon.PannableArea()
    tv=hildon.TextView()
except:
    use_hildon=False
    w = gtk.Window(gtk.WINDOW_TOPLEVEL)
    pa = gtk.ScrolledWindow()
    tv=gtk.TextView()

# Make program exit nicely when requested
w.connect("destroy", gtk.main_quit)

# Build the gui using whatever widgets wanted
v=gtk.VBox()
w.add(v)
v.pack_start(pa, True, True, 0)
pa.add(tv)
w.show_all()

tv.get_buffer().set_text("Hello world!")

# Enter gtk loop
gtk.main()


andil 2010-11-03 19:00

Re: I want to start developing.
 
*bang! hit my head against a wall*

lol guys,erm I have a problem....with the maemo sdk here my situation:
-I have read the documentations
-Install maemo sdk with ubuntu intrepid
-download Vmplayer
-Unzip,run everything....etc
-Run Vpm,open maemo,login
-Hit the wall
-Xephyr doesnt run.I have write the command to install,then he ask me about some packages two time,I confirm then I put the command to verify..... "xephyr is not installed"

oh man!this is so complicated!

I'm going to try Nokia Qt now....

edit:
I'm back,Nokia Qt is..is easy

I wish I can use the maemo sdk too..:D

tkmaster 2010-11-04 07:44

Re: I want to start developing.
 
I want to measure power consumption on a Nokia n810 or n900. I want to use the DVFS APIs to adjust freq/voltage. My aim is to minimize the total power consumed by a video encoder by lowering the freq/voltage when there is greater slack to frame-rate deadline.

Can I do this on some simulator for the n810 or n900? It looked like installing the Linux SDK was the best option. Can the included simulator estimate power consumption? Or, will I have to use an actual physical device?


All times are GMT. The time now is 21:34.

vBulletin® Version 3.8.8