Use Headset As Camera Remote Shutter
A place to make your Application dreams a Reality
by N82_Hacker » 23 Jun 2012, 07:57
Hi all
I recently brought telecope for my N8 and i have problems with blurry pictures when i try to capture distant object
so i got idea if i can use my old headset
Nokia AD-54 as Remote Shutter for built in Nokia camera app or SF new camera app
Edit:
I know that original app does not support this feature but Nokia music player does so if someone could find out how music player is controlled by headset.Than use this for camera app
I recently brought telecope for my N8 and i have problems with blurry pictures when i try to capture distant object
so i got idea if i can use my old headset
Nokia AD-54 as Remote Shutter for built in Nokia camera app or SF new camera app
Edit:
I know that original app does not support this feature but Nokia music player does so if someone could find out how music player is controlled by headset.Than use this for camera app
-
Rookie
-
Posts: 16
Joined: 27 May 2010, 12:40
Location: Slovakia
Phone model: N8, N82 Black (backup)
Firmware: 35.0.002
by wook » 23 Jun 2012, 09:09
indeed a good idea, i should consider this before 
you need ti inject hook into system so that you will listen to media keys.
once some key event occurs, you need to simulate camera key event and that should be it

you need ti inject hook into system so that you will listen to media keys.
once some key event occurs, you need to simulate camera key event and that should be it
-
.: [ VIP ]:.
-
Posts: 11893
Joined: 01 Apr 2008, 13:31
Location: rajvoSa.ba
Phone model: N9, E7 & C6-01, N97 mini, 6630
Firmware: 1.2,PR2.1,PR 1.1,v12.0.110,6.03.40
by N82_Hacker » 24 Jun 2012, 21:46
Hi me again i try to use phyton script keyviewer.py but only thing i capture is first position of camera button Scancode 226 - 0xe2 keycode 63616 (0xf880) i dont think python module can handle this kind of events there must by somekind background media events.
my bro tells me that this events are not simulated only some procces/service in phone listen to audio jack and when you press button on headset phone detect something like beep code.
Edit: I found something on developer.nokia (Capturing keys in background)
they have note for this thing: If someone want to use headset key he need to use TSS000432 - Utilising media keys.
(Utilising media keys in Symbian C++)
bad for me is that this is in c++ and i am only S60_phyton able :-/
my bro tells me that this events are not simulated only some procces/service in phone listen to audio jack and when you press button on headset phone detect something like beep code.
Edit: I found something on developer.nokia (Capturing keys in background)
they have note for this thing: If someone want to use headset key he need to use TSS000432 - Utilising media keys.
(Utilising media keys in Symbian C++)
bad for me is that this is in c++ and i am only S60_phyton able :-/
-
Rookie
-
Posts: 16
Joined: 27 May 2010, 12:40
Location: Slovakia
Phone model: N8, N82 Black (backup)
Firmware: 35.0.002
by wook » 25 Jun 2012, 13:30
yes, python can't handle this events.
tell your bro that he's wrong and that this "beeps" are not up to developers of apps to listen, this "beeps" are trapped in device drivers and interpreted as key events.
so, you need to look for media key events, i really never tried to play with it.
C++ can handle this events, that's for sure
tell your bro that he's wrong and that this "beeps" are not up to developers of apps to listen, this "beeps" are trapped in device drivers and interpreted as key events.
so, you need to look for media key events, i really never tried to play with it.
C++ can handle this events, that's for sure
-
.: [ VIP ]:.
-
Posts: 11893
Joined: 01 Apr 2008, 13:31
Location: rajvoSa.ba
Phone model: N9, E7 & C6-01, N97 mini, 6630
Firmware: 1.2,PR2.1,PR 1.1,v12.0.110,6.03.40
by N82_Hacker » 07 Jul 2012, 04:21
Thanks wook for your support you are really active person here.
Ok so i am unable to make this app in c++but if someone is able make it in Qt i found app audiowave that support media keys but only volume keys are working.
Anyway wook please you know someone that is able to make this app?
Its simple app just simulate anykey by headset if i press play on headset app simulates camera capture button
or user specify button he wants to get simulated by headset keys.
Thanks i hope someone make this kind app.
Ok so i am unable to make this app in c++but if someone is able make it in Qt i found app audiowave that support media keys but only volume keys are working.
Anyway wook please you know someone that is able to make this app?
Its simple app just simulate anykey by headset if i press play on headset app simulates camera capture button
or user specify button he wants to get simulated by headset keys.
Thanks i hope someone make this kind app.
-
Rookie
-
Posts: 16
Joined: 27 May 2010, 12:40
Location: Slovakia
Phone model: N8, N82 Black (backup)
Firmware: 35.0.002
by wook » 07 Jul 2012, 10:37
honestly, i am not so active in s60 world anymore, but, if you want this to be done properly, try to contact cyke64, he's old pythoner and i am pretty sure he knows this multimedia layer very good.
and, honestly, it would be pretty good to have python extension for multimedia keys, don't you agree?
i will write e-mail to cyke to see what's his opinion about this

and, honestly, it would be pretty good to have python extension for multimedia keys, don't you agree?
i will write e-mail to cyke to see what's his opinion about this
-
.: [ VIP ]:.
-
Posts: 11893
Joined: 01 Apr 2008, 13:31
Location: rajvoSa.ba
Phone model: N9, E7 & C6-01, N97 mini, 6630
Firmware: 1.2,PR2.1,PR 1.1,v12.0.110,6.03.40
by N82_Hacker » 10 Jul 2012, 22:10
Yes it will be nice and better to have pys60 module for this like his keypress module.
And i will really happy to revamp my pys60 skills.
Since i bought N8 i still use the 1.4.5 version
But unfortunately i think he is not so active in this s60 world too
.Maybe is too late but i like this (Burning) platfom an i hope he can help.
Wook thanks for your time and if you know his e-mail please contact him about this idea/plugin.
Thanks
And i will really happy to revamp my pys60 skills.
Since i bought N8 i still use the 1.4.5 version
But unfortunately i think he is not so active in this s60 world too
Wook thanks for your time and if you know his e-mail please contact him about this idea/plugin.
Thanks
-
Rookie
-
Posts: 16
Joined: 27 May 2010, 12:40
Location: Slovakia
Phone model: N8, N82 Black (backup)
Firmware: 35.0.002
by wook » 10 Jul 2012, 23:22
well, i contacted him same day as i wrote post above, but no reply D: strange
anyhow, yes, s60 is very very inactive...unfortunately...but its to blame nokia...
anyhow, yes, s60 is very very inactive...unfortunately...but its to blame nokia...
-
.: [ VIP ]:.
-
Posts: 11893
Joined: 01 Apr 2008, 13:31
Location: rajvoSa.ba
Phone model: N9, E7 & C6-01, N97 mini, 6630
Firmware: 1.2,PR2.1,PR 1.1,v12.0.110,6.03.40
by wook » 18 Jul 2012, 19:40
pyler wrote:did you try 'play' with mediakeys module by watt? if you want help about pys60 then go to watt.eu5.org , you can chat with watt and cyke64 there...
it's not eu...:S it's ru D:

-
.: [ VIP ]:.
-
Posts: 11893
Joined: 01 Apr 2008, 13:31
Location: rajvoSa.ba
Phone model: N9, E7 & C6-01, N97 mini, 6630
Firmware: 1.2,PR2.1,PR 1.1,v12.0.110,6.03.40
10 posts • Page 1 of 1
Who is online
Users browsing this forum: No registered users and 2 guests
Online Friends
Birthdays
No birthdays today
Style switcher
Dark-Orange |
Light-Orange |
Dark-Red | Light-Red |
Dark-Blue | Light-Blue |
Dark-Green | Light-Green |
Dark-Red | Light-Red |
Dark-Blue | Light-Blue |
Dark-Green | Light-Green |
