maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Nokia N9 / N950 (https://talk.maemo.org/forumdisplay.php?f=51)
-   -   [Anounce] [N9] Volume/Power Button Monitor (https://talk.maemo.org/showthread.php?t=82538)

wolke 2012-05-03 15:50

Re: [Anounce] [N9] Volume/Power Button Monitor
 
again, an oversight on my part because i dont use the built-in music app. AAAARGH, this is so annoying. i guess i just have to work on disabling the buttons, which means writing quite a bit of c++.

also means i cant develop it without a computer because ****ING NOKIA DOESNT RELEASE ALL THE DEV SOURCE PACKAGES IN THE DEV REPO.

just so you know, a good deal of the development for this was done on the phone while riding the train, with a btkb. HATE HATE HATE HATE HATE

late88 2012-05-03 15:50

Re: [Anounce] [N9] Volume/Power Button Monitor
 
Quote:

Originally Posted by wolke (Post 1201379)
**** .

actually it is default action to increase and decrease volume in lowpower screen.

sorry, my mistake.

wolke 2012-05-03 15:56

Re: [Anounce] [N9] Volume/Power Button Monitor
 
Quote:

Originally Posted by late88 (Post 1201384)
actually it is default action to increase and decrease volume in lowpower screen.

sorry, my mistake.

yea, still sucks; this means whole goddam thing is fairly useless when running the music player. such stupid design. you should be able to do exactly one thing while the phone is locked, and thats unlock it.

Rusnak-COBRA 2012-05-03 17:44

Re: [Anounce] [N9] Volume/Power Button Monitor
 
Hello Wolke. Sorry for my question, maybe it is answered somewhere in this topic... is there any chance to bind an action - start camera app from locked screen? I mean, I will hold on vol+ for a while and it will unlock screen and launch camera app. is it possible?

wolke 2012-05-03 17:53

Re: [Anounce] [N9] Volume/Power Button Monitor
 
sure! just make a binding with the CMD action, and place the path for your script for doing it in the CMD action param.

your script just needs to unlock the phone, and call camera-ui

Dousan 2012-05-03 17:55

Re: [Anounce] [N9] Volume/Power Button Monitor
 
Quote:

Originally Posted by Rusnak-COBRA (Post 1201455)
Hello Wolke. Sorry for my question, maybe it is answered somewhere in this topic... is there any chance to bind an action - start camera app from locked screen? I mean, I will hold on vol+ for a while and it will unlock screen and launch camera app. is it possible?

@wolke stated in an earlier post that he will work on snap picture from locked device (lp screen) ;)

Regards Dousan...

wolke 2012-05-03 17:57

Re: [Anounce] [N9] Volume/Power Button Monitor
 
Quote:

Originally Posted by Dousan (Post 1201465)
@wolke stated in an earlier post that he will work on snap picture from locked device (lp screen) ;)

Regards Dousan...

thats, in my opinion, the good longterm fix for quick snapping, but rusnak, you can do what you asked for right now, with the latest version.

Rusnak-COBRA 2012-05-04 01:08

Re: [Anounce] [N9] Volume/Power Button Monitor
 
hm, i must admitt that I really do not know how should this cmd syntax look like for this kind of task.

wolke 2012-05-05 01:27

Re: [Anounce] [N9] Volume/Power Button Monitor
 
yay, quick snap works!
as root anyway, gotta make sure that aegis perms are sufficient, add the shutter sound, action bindings, and as many configs as i can think of and reasonably implement.

ill stick em here for now: ~/MyDocs/quicksnap/`date +%s`.py

anyone have any ideas/inputs/etc?

-quicksnap can have flash auto/on/off. i think auto makes sense. i could add actions for each so you could pick on the fly {double-click is no flash, treble-click is always flash, etc}, or make a separate config item so you can pick once {tom likes flash always off, mary likes flash auto}

-quicksnap can focus first, or there can be a separate focus action, or both. there can be a config, too, for how long to give it to focus, etc

-video recording doesnt seem feasible

-shutter sound makes sense to use whatever's at '/usr/share/sounds/ui-tones/snd_camera_shutter.wav', but maybe an option as well

Dousan 2012-05-05 10:40

Re: [Anounce] [N9] Volume/Power Button Monitor
 
Great news about the quick snapper :)

I have a question:
When using the headset listning to music and the device is locked (lp lockscreen/lockscreen) the volume button on the remote has the same actions as the HW volume buttons, changing song and play/pause. So when i have to turn up sound I have to long press volume up on the remote and sound is turning up until the torch starts lighting. Sometimes i just want to take it up/down one nudge and ends up pausing/skipping songs.
Here's my question, can you somehow comment out the volume button app to not work with the media when the jackstick is pkugged in while still work with the camera?
It's no biggie though it would be more convinient if it was 'turned off' as described above :)

Ohh i think about the quick shutter you should make it as custom options wich actions you'll like it to do when quick snapping.

Regards Dousan...


All times are GMT. The time now is 16:13.

vBulletin® Version 3.8.8