![]() |
2010-06-16
, 14:18
|
Posts: 44 |
Thanked: 14 times |
Joined on Mar 2010
|
#21
|
![]() |
2010-06-16
, 14:29
|
Posts: 3,428 |
Thanked: 2,856 times |
Joined on Jul 2008
|
#22
|
fatalsaint, that's great! thanks! will have much more questions in the future though...
![]() |
2010-06-16
, 14:30
|
|
Posts: 2,869 |
Thanked: 1,784 times |
Joined on Feb 2007
@ Po' Bo'. PA
|
#23
|
I, personally, develop in Python using the QT4 bindings. This is called PyQt4.
This can easily be developed directly on the device itself (N900), and it can be developed without any SDK or scratchbox or emulating environment on your Desktop PC. All you need, is the proper PyQt4 development apps on your system (Linux is easiest IMHO. Not sure how Windows PyQt4 is.)
Write the code, copy the files to N900, and run. No compiling, no converting, no hassel. And if you aren't doing anything weird (like dbus calls to an FM Transmitter your PC doesn't have..) then you can actually run the app right on your desktop, make sure it runs right, and then copy it to the N900 and watch it instantly become "Maemo-ized" for you.
As far as how to code for the N900... there are plenty of Tutorials covering that already.
The problem with developing for Maemo is not setting up the SDK or getting started with tutorials, but lack or scattered nature of comprehensive documentation.
There is no single place where you can find all documentation, and some stuff isn't even properly documented, and you have to read source code files (if Google finds them) or reverse-engineer. It's often a lot of trial and error.
For exercise, try to find out how to play a video in a window with MAFW and control the volume. Apart from what I've now written in Python (hey, am I the only one using MAFW in open source? It seems so...) you won't find much. But you'll find how to extend MAFW with new plugins (oh great). I'm really thinking about filing bug reports against the often useless state of even the Nokia-official developer documentation.
You can waste hours and days on reverse-engineering and trial-and-error.
[Desktop Entry] Encoding=UTF-8 Version=1.0 Name=tana_ap_ovi_store Comment=Open Ovi store in new window Exec=dbus-send --print-reply --dest=com.nokia.osso_browser /com/nokia/osso_browser/request com.nokia.osso_browser.open_new_window string:http://link.ovi.mobi/n900ovistore Icon=general_ovi_store Terminal=false Type=Application Categories=System;TerminalEmulator; X-HildonDesk-ShowInToolbar=true #X-Osso-Service=xterm X-Osso-Type=application/x-executable
Heh. I've expected these kind of reaction... Thanks andraeseus1 for understanding. I can't really give a specific answer because I don't know what to ask, I'm just a high school kid trying to learn programming... I have done some research, but the terms they used i just do not understand. I know some people might say if I'm don't even know the basic, why are you even bother to make apps for N900?
"well in order to develop for the n900 you need to download and install this program or that software. start off with something simple like x,y,z, and get your feet wet. there is a lot more info on basic programing tools at www.whatever"
Something like these would help me a lot.
Thanks guys.
![]() |
2010-06-16
, 14:35
|
|
Posts: 1,055 |
Thanked: 4,107 times |
Joined on Oct 2009
@ Norway
|
#24
|
![]() |
2010-06-16
, 14:42
|
Posts: 272 |
Thanked: 52 times |
Joined on Jan 2010
|
#25
|
![]() |
2010-06-16
, 14:44
|
Posts: 44 |
Thanked: 14 times |
Joined on Mar 2010
|
#26
|
![]() |
2010-06-16
, 14:46
|
Posts: 3,428 |
Thanked: 2,856 times |
Joined on Jul 2008
|
#27
|
Beyond that... what do you then do when it is time to package for distribution? I am not understanding this "Maemo-ized for you".
yourapp-1.0 yourapp-1.0/debian yourapp-1.0/debian/control yourapp-1.0/debian/changelog yourapp-1.0/debian/rules yourapp-1.0/debian/copyright yourapp-1.0/src yourapp-1.0/src/opt yourapp-1.0/src/opt/yourApp yourapp-1.0/src/opt/yourApp/yourapp.py
dpkg-buildpackage -rfakeroot
![]() |
2010-06-16
, 15:18
|
|
Posts: 2,427 |
Thanked: 2,986 times |
Joined on Dec 2007
|
#28
|
For exercise, try to find out how to play a video in a window with MAFW and control the volume. Apart from what I've now written in Python (hey, am I the only one using MAFW in open source? It seems so...) you won't find much.
apt-get source mafw-test-gui
The Following User Says Thank You to daperl For This Useful Post: | ||
![]() |
2010-06-16
, 16:03
|
Posts: 402 |
Thanked: 229 times |
Joined on Nov 2009
@ Missouri, USA
|
#29
|
![]() |
2010-06-16
, 16:23
|
Posts: 3,428 |
Thanked: 2,856 times |
Joined on Jul 2008
|
#30
|
@fatalsaint: i felt the same way about py2deb and ended up creating a helper script to add whatever py2deb was missing - app manager icon, correct bugtracker info etc. if you are interested i can get that to you.
btw its imported directly into the setup script so i still need only do python setup.py
![]() |
Tags |
please don't, we're doomed |
|