[Q] Making photo using headphones button - Java for Android App Development

I wrote a code but I do not understand why it does not work
When I'm in the camera and press the button headphones not done any photo Although I set him
The project is attached to the application
Please help
Device Galaxy 1 or 2

Related

camera button

For some reason if i want to push the camera button to activate the camera,it wont allow it.Well it does nothing.But if i goto the camera application itself,then it works when pressed.The keys are not locked on the side either.Anyone have anysuggestions or advice on what the problem maybe?
southernint3l said:
For some reason if i want to push the camera button to activate the camera,it wont allow it.Well it does nothing.But if i goto the camera application itself,then it works when pressed.The keys are not locked on the side either.Anyone have anysuggestions or advice on what the problem maybe?
Click to expand...
Click to collapse
make sure you push hard on the camera button, there is two steps to it, make sure you press it all the way through
Yeah bit tricky and supprising, i thought i'll found 2 steps button for camera only on my digicam, but my athena have it to... great isn't it?
I have to push my camera button really firmly before it opens the camera.
You may have already done this but check the mapping for the button. Voice Command likes to take this button for itself.
got it!
Hey thanks!That worked!I thought that it was just me.The buttons were mapped correctly(meaning that they were not re-mapped)A firm press brings the camera up after a 1 second delay.The only thing that i was wondering,why was there no ms voice command included?I have the application(Since i kept all the applications that i had when i owned the JJ).Like i said,thank you for the quick response time and help!

Request to devoloppers (nobody interested)

Hello xda people,
Is there a programme (or can somebody make it) to emulate the left and right button with the headset button.
I explain a little bit more:
-1 click on the headset button emulate the left software button
-2 clicks on the headset button emulate the right software button
This will be very usefull to me, and maybe for others also
UP !
Yes it must be very usefull...
Assign specific applications to left and right then you can launch what you want !
This would be usefull for next and previous song while listening to music for instance
Nobody interested or is it just not possible??
Not possible. There is no unified API for the headset button. Some devices don't support it at all, others have low level implementations in the system (e.g. emulating the phone button or propietary extensions to the phone program). I don't know a single device that sends a common keyboard message (or any other window message).
It's about the same for the camera button in most newer devices, btw.
OK I think I understand, but would it be possible for headset's from one developer for one device, say HTC headset for Diamond or preferably Raphael. Iphone has this feature in their headsets. I really only need to skip a track and pause/play. My headset is able to call the last number I dialled (with 2 clicks).

Customizing voice memo function

My current device is the TYTN II (Kaizer) and I use the voice memo function extensively for note taking. I have customised one of my hard buttons to take me straight to recording voice notes. This only requires a one step procedure by depressing the customized button. Is it possible to do something similar with the Blackstone (HTC Touch HD).
Yes, I have this set up with AE button + to map the volume down button to a long press starts resco recorder (you could, of course, also use the voice recorder).
So, a long press on the volume down starts up resco for me.
Works just like on my old Tytn II.
Recording two way conversations
Cheesy Dave said:
Yes, I have this set up with AE button + to map the volume down button to a long press starts resco recorder (you could, of course, also use the voice recorder).
So, a long press on the volume down starts up resco for me.
Works just like on my old Tytn II.
Click to expand...
Click to collapse
Is it possible to record the other person's voice as well when using the recording function? I believe that due to hardware constraints it was not possible with the Tytn II.
Hi Cheesy Dave,
This setup presents me with the problem: I have to remove the phone from my ear (when involved in a conversation), switch the power button on (device switches off when call answered), long press on volume down button and then press record.
With the TYTN 2 I could record a reminder with a single push of an asigned button.
Any way around this?

Voice recording activation using headset button

As in topic...is it possible to start memo recording simply by using buttons of original headset or other bluetooth headset...I love recording some of my thoughts for further reviewing and it would be great to just press the button and start talking...it's really annoying that I have to take my hd2 out of my pocket, run voice recording app and press recording...
any ideas on how to make it work?
(sorry for my bad english, it's not my native tongue)
Have you tried setting the button 1 (hold) to recorder or/and the long_send.lnk method (copy and rename the recorder shortcut in the Windows folder) ?

[Q] Use power button as camera shutter?

Yesterday I went into a pool and tried to take pictures from my S5, but it was very difficult to activate the shutter under the water.
Does anyone know if there is a MOD to use the power button as the camera shutter or have any other ideas of how to take photos under water?
Thanks
arturox said:
Yesterday I went into a pool and tried to take pictures from my S5, but it was very difficult to activate the shutter under the water.
Does anyone know if there is a MOD to use the power button as the camera shutter or have any other ideas of how to take photos under water?
Thanks
Click to expand...
Click to collapse
In the settings of the camera you can set the volume keys to take a pic or rec video or zoom.
The default is take pic.
So just use the volume keys. works great
GG
Thanks man, I found that settings and works great
camera button
arturox said:
Thanks man, I found that settings and works great
Click to expand...
Click to collapse
I own a Galaxy Music, and it would be great to use its music button as camera shutter too... is there any post o help you can give me???... thanks
It would be best if some dev can mod the stock s5 camera.apk so that when you press the power button it would take a picture instead of locking the device. No one locks their phone while they're in the camera app, because they're gonna take pics so the power button is the perfect button for such a mod Please someone make this mod!

Categories

Resources