Active Topics

 

Showing results 1 to 13 of 13 @ 0.06 seconds. Search: Posts Made By: jarmniku
Forum: Maemo 5 / Fremantle 2010-12-31, 09:03
Replies: 1
Views: 2,349
Posted By jarmniku
N900: Starting camera from command line (XTerm)

How can I start camera from command line? When I try "camera-ui" nothing happens, except a long delay before the prompt gets back. On the other hand, from a ssh-prompt I got an error:

# camera-ui...
Forum: Maemo 5 / Fremantle 2010-06-14, 06:06
Replies: 5
Views: 3,492
Posted By jarmniku
Re: "End current task" for a native X application

_MB_CURRENT_APP_WINDOW(WINDOW): window id # 0x2600002
_HILDON_NON_COMPOSITED_WINDOW(INTEGER) = 1
WM_STATE(WM_STATE):
window state: Normal
icon window: 0x0
_NET_FRAME_EXTENTS(CARDINAL) = 0,...
Forum: Maemo 5 / Fremantle 2010-06-12, 16:46
Replies: 5
Views: 3,492
Posted By jarmniku
"End current task" for a native X application

I am developing a native X application that is thus not using GTK. As a result, it seems that system does not automatically provide "End current task" option at the power-switch menu, as it does for...
Forum: Maemo 5 / Fremantle 2010-06-10, 10:45
Replies: 9
Views: 4,404
Posted By jarmniku
End current task - basic

Hi!
I have a self-made application that doesn't get the "End current task" onto the power-switch menu. Because of that, it failed Ovi-testing (plus one another problem). How do I get the menu item...
Forum: Development 2010-06-02, 06:32
Replies: 9
Views: 3,013
Posted By jarmniku
Re: Accelerometer changed on N900 PR1.2

The problem was probably wrong flash image. I have relatively old hardware and accidentally flashed an image that was for the latest HW only. Changing to another pr1.2 image (suitable for all HWs)...
Forum: Development 2010-06-01, 08:41
Replies: 9
Views: 3,013
Posted By jarmniku
Re: Accelerometer changed on N900 PR1.2

That is strange. In my device it happens like this:

Nokia-N900:~# cat /sys/class/i2c-adapter/i2c-3/3-001d/coord
cat: can't open '/sys/class/i2c-adapter/i2c-3/3-001d/coord': No such file or...
Forum: Development 2010-05-31, 12:58
Replies: 9
Views: 3,013
Posted By jarmniku
Accelerometer changed on N900 PR1.2

Hi!
My program reads accelerometer from "/sys/class/i2c-adapter/i2c-3/3-001d/coord". This does not work any more after I updated to PR1.2. How should I read accelerometer now, and how to get...
Forum: Development 2010-05-31, 12:31
Replies: 13
Views: 3,867
Posted By jarmniku
Re: How to forbid multi-running an application?

Sounds reasonable, but I haven't. Maybe I can do that, any pointers to a simple example?
Forum: Development 2010-05-31, 12:28
Replies: 13
Views: 3,867
Posted By jarmniku
Re: How to forbid multi-running an application?

In fact, lock file isn't very good: if the program is killed before it exits voluntarily, the lock file may not be deleted. That forbids the program to start any more!

Better way would be to...
Forum: Development 2010-05-31, 12:15
Replies: 13
Views: 3,867
Posted By jarmniku
Re: How to forbid multi-running an application?

Okay, so the cows are still not flying. I mean that there is no simple way like a flag in the .desktop file or something. I have to do it the hard way, as usually. Probably a lock file then... Thank...
Forum: Development 2010-05-31, 10:24
Replies: 13
Views: 3,867
Posted By jarmniku
How to forbid multi-running an application?

Hi!

I have a computational intensive animation application that I want to run only as a single instance. In other words, if user tries to start the same application again, it should not start. How...
Forum: General 2010-05-26, 11:55
Replies: 5
Views: 3,011
Posted By jarmniku
Re: Getting Screen State to Save Power

Fine, is there also a way to detect when power charger is plugged/unplugged?
Forum: General 2010-05-25, 11:53
Replies: 5
Views: 3,011
Posted By jarmniku
Getting Screen State to Save Power

Hi!

I would like to stop my computation intensive animation when screen is powered down to save battery.

This is a very common need and mentioned as an example use of D-Bus, but I can't find an...
Showing results 1 to 13 of 13



 
Forum Jump

All times are GMT. The time now is 12:04.