maemo

How to get started with Maemo software development

A few months ego I purchased Nokia N800 device and since then I'm itching to write some code for it. I know that some of the application I'm running are written in Python and that there is a Mono port for the Maemo platform as well. Basically what I'm asking is: Is there a recommended development language for Maemo platform? What dev...

My scratchbox 2 installation is using an ARM gcc build to compile for the ARM target. How do I fix this?

I'm using scratchbox 2, the maemo development cross-compilation environment. When compiling code for the ARM target, I think scratchbox 2 is using the native ARM gcc compiler, which runs very slow on my x86 machine. I think it should be using an ARM cross-compiler, compiled for x86, that runs much faster. Sorry for the lack of details ...

How to handle back and forward buttons in the hildon.Seekbar?

The hildon.Seekbar widget consists of a scale widget and two buttons. What signals does the widget send when the buttons are clicked or how could I find out? Is there a way to monitor all signals/events that a widget sends in PyGTK? ...

maemo scratchbox compiler error with gtk+-2.0

I'm trying to follow section 3.4.2, starting on page 31 of this manual. However, as I have configured my target to be DIABLO_ARMEL rather than DIABLO_X86, I have gotten different results for this command: [sbox-DIABLO_X86: ~] > gcc -Wall -g gtk_helloworld-1.c \ ‘pkg-config --cflags gtk+-2.0‘ -o gtk_helloworld-1 \ ‘pkg-config --libs gt...

Qt Maemo resources screwed up in Scratchbox 1 for the armel target

When I compile my Qt Maemo application in Scratchbox 1, all of the image resources appear completely messed up and corrupted, and the program runs extremely slow. This only happens for the armel target, and works fine in i386. I also get these errors at the console: X Error: BadDrawable (invalid Pixmap or Window parameter) 9 Major op...

Code coverage tools for Symbian C++ and Maemo

What code coverage tools have you used with Symbian C++ and Maemo? What are the pros and cons of the tool you are using? ...

How to get started with mobile development

Now that Nokia will soon ship my pre-ordered n900, I thought I would familiarize myself with mobile development - maemo seems friendly enough for a guy who's done development only on Linux since days of Amiga and C=64 and is in love with Python. However, I have no clue whatsoever on stuff like UI:s and especially mobile UI:s - also, I w...

Using OSSOLOG in scratchbox (maemo development)

I am building a sharing-service for maemo5. In the example plugin they are calling ULOG_INFO_L at a lot of places, so I have adopted this for my service as well. The problem is that I can't find where the messages goes. Reading osso-log.h I should define DEBUG or OSSOLOGCOMPILE, which I do and OSSOLOG_STDOUT or OSSOLOG_SYSLOG. I have tr...

OpenCV with QT on Maemo 5 (N900)

Since the presentation by Eero Bragge at theAmterdam devdays about QT / QT-Creator I've been looking for an excuse to try my hands at mobile development. Now this excuse has arrived in the form of the Nokia N900, my new phone! My other hobby is computer vision, so my first Idea's for applications to try and build lie in that direction. ...

Running bash shell in Maemo

I have attempted to run the following bash script on my internet tablet (Nokia N810 running on Maemo Linux). However, it doesn't seem that it is running, and I have no clue of what's wrong with this script (it runs on my Ubuntu system if I change the directories). It would be great to receive some feedback on this or similar experiences ...

How do I deal with multiple common user interfaces?

I'm working on a python application that runs on 2 different platforms, namely regular desktop linux and Maemo 4. We use PyGTK on both platforms but on Maemo there are a bunch of little tweaks to make it look nice which are implemented as follows: if util.platform.MAEMO: # do something fancy for maemo else: # regular pygtk The...

Redirecting screen output from cell phone to monitor screen

Is there any way to redirect cell phone output to a standard screen? Would it be possible on Linux & X-server based devices - like Maemo? And on Android devices? ...

QListWidget on freemantle

Hi, I have a problem with QListWidget on freemantle (maemo, n900). I want to use two QListWidget on same window and allow the user to pick on number in each window. When the user use the second QListWidget, the "blue" color on it disparear. How to change the color of a item selected in QListWidget which is not active ? ...

How to start Qt development on Windows, but targeting Maemo 5?

Hello Everyone, I've recently heard about Qt and read about how fun it is to develop with. By the way, I'm also buying a Nokia N900 and I heard that its operating system, Maemo 5, supports Qt quite nicely, so I thought I'll give it a shot. I'm a .NET developer, so I'd prefer to develop on Windows, and if it is possible, using Visual St...

Python + QT + Gstreamer

Hi everyone, I'm working with PyQt and trying to get video from a webcam to play within a QT widget. I've found tutorials for C and Qt, and for python and gtk, but NOTHING for this combo of pyQt and gstreamer. Anybody get this working? This plays the video fine, but in a separate window: self.gcam = gst.parse_launch('v4l2src devic...

Setting checkstate on a ListWidgetItem

Hi, I'm trying to create a list of checkbox items that change the status on activation. I can connect the activate signal and everything seems to work, but changes on the screen. Am I missing some steps here? Here's the list creation: self.listField = QtGui.QListWidget(self) muted_categories = qb.settingsCollection['mutedCategories']...

How to port Maemo 5 to custom embedded device?

I want to port Maemo 5 to custom embedded device ( ARM9 450 Mhz running Embedded Linux), Is it possible? Where can I find source code? ...

Using C# to make Application for Maemo (convert code to QT)

Hi, I want to make an application for my phone (Nokia N900) It uses the Maemo Platform, which is a Linux variant. Most applications are made with either QT or Python, i only have experience in C#, and am wondering if it is at all possible to convert C# to QT, or would i have to use something like Mono or Vala to write the code in C# and...

How to poll a file in /sys

Hi, I am stuck reading a file in /sys/ which contains the light intensity in Lux of the ambient light sensor on my Nokia N900 phone. See thread on talk.maemo.org here I tried to use pyinotify to poll the file but this looks some kind of wrong to me since the file is alway "process_IN_OPEN", "process_IN_ACCESS" and "process_IN_CLOSE_NOW...

Read from "output" as from "input"

Hi Dear community! Some on of you saw this. So the question is, how to access mobile audio out in read mode? Thank you! ...