Camera lock button
Yesterday I saw video from Windows mobile 7 showing dedicated camera button working even if the phone was locked. Today I bring this feature for HD2 on WM6.5.
Update:
7.9.2010 - I've uploaded version 1.1 see FAQ.
9.9.2010 - Version 1.2 brings support for CHT.
13.9.2010 - Version 1.2.1 fixes loading issue.
What is it and what it does
This little application starts phone's camera when user press home button when the phone is locked.
It is aware of proximity sensor status, so it won't start camera in your pocket.
It won't do anything if pda is not locked.
If your pda is locked and display is switched off, you must click home button twice.
Current limitations
Only for HD2, because of proximity sensor hardware.
Only works with original non-customized lockscreen, because unlocking is performed by sending mouse move events.
v1.1 has unlock gesture learning ability.
Planned features
Camcorder on windows button.
Support for pin.
Installation
Download cab file and run it on your device.
If you want application application to start with your device use camera_lock_button_with_autostart.cab otherwise you'll have to start it manually.
You must turn off this application before uninstallation or reinstallation.
FAQ
Q: Nothing happens when I start the application?
A: That's normal behaviour. Lock your device and try to click home button.
Q: How do I turn it off?
A: Run application again.
Q: How do I start it with device startup?
A: Download cab that ends with '_autostart' or add shortcut do your \Windows\StartUp folder.
Q: I'm getting "This application is not designed for your device!" message.
A: This application is only for HTC HD2. If you have HD2 then there's something wrong with your OEMINFO value. Check "\Windows\ModelName.txt" whether it contains 'HD2' or 'LEO' string.
Q: What is licence for icon?
A: I used free icon from dryicons.com .
Q: Why installer ignores location I picked for installation?
A: NEVER EVER install this application on Storage Card, always use device.
Q: Is there source code available?
A: Nope. Last time I published something under GPL everyone was ignoring it (GPL) completely.
Following FAQ applies only to v1.1
Q: How to learn it unlock gesture?
A:
Q: Why isn't there autostart version of v1.1?
A: Because it needs beta testing and I don't want you to brick your device.
Q: Do I need to learn it gesture if I'm using unmodified lockscreen?
A: No. If there isn't learned gesture it uses default gesture from v1.0.
Q: Where is stored learned gesture?
A: In file \Windows\camera_lock_button_gesture.bin
(You will be asked if you want to remove it at the end of uninstallation.)
Q: What about unlocking the device with password?
A: If device is locked after camera application is closed, it won't be security hole. Maybe next time I'll implement it.
Changelog
v1.2.1:
v1.2:
v1.1:
v1.0:
Initial release.
Compatible lockscreens
Yesterday I saw video from Windows mobile 7 showing dedicated camera button working even if the phone was locked. Today I bring this feature for HD2 on WM6.5.
Update:
7.9.2010 - I've uploaded version 1.1 see FAQ.
9.9.2010 - Version 1.2 brings support for CHT.
13.9.2010 - Version 1.2.1 fixes loading issue.
What is it and what it does
This little application starts phone's camera when user press home button when the phone is locked.
It is aware of proximity sensor status, so it won't start camera in your pocket.
It won't do anything if pda is not locked.
If your pda is locked and display is switched off, you must click home button twice.
Current limitations
Only for HD2, because of proximity sensor hardware.
Only works with original non-customized lockscreen, because unlocking is performed by sending mouse move events.
v1.1 has unlock gesture learning ability.
Planned features
Camcorder on windows button.
Support for pin.
Installation
Download cab file and run it on your device.
If you want application application to start with your device use camera_lock_button_with_autostart.cab otherwise you'll have to start it manually.
You must turn off this application before uninstallation or reinstallation.
FAQ
Q: Nothing happens when I start the application?
A: That's normal behaviour. Lock your device and try to click home button.
Q: How do I turn it off?
A: Run application again.
Q: How do I start it with device startup?
A: Download cab that ends with '_autostart' or add shortcut do your \Windows\StartUp folder.
Q: I'm getting "This application is not designed for your device!" message.
A: This application is only for HTC HD2. If you have HD2 then there's something wrong with your OEMINFO value. Check "\Windows\ModelName.txt" whether it contains 'HD2' or 'LEO' string.
Q: What is licence for icon?
A: I used free icon from dryicons.com .
Q: Why installer ignores location I picked for installation?
A: NEVER EVER install this application on Storage Card, always use device.
Q: Is there source code available?
A: Nope. Last time I published something under GPL everyone was ignoring it (GPL) completely.
Following FAQ applies only to v1.1
Q: How to learn it unlock gesture?
A:
- Start it with shortcut named "Camera lock button toggle learning".
- Lock device.
- Make sure proximity sensor is not covered.
- Press "windows" hw button. "Learning mode!" text should appear on screen.
- Unlock device.
- Done. Message informing you about success should appear. Learning mode is now switched off automagically.
- You can delete "Camera lock button toggle learning" shortcut from start menu.
Q: Why isn't there autostart version of v1.1?
A: Because it needs beta testing and I don't want you to brick your device.
Q: Do I need to learn it gesture if I'm using unmodified lockscreen?
A: No. If there isn't learned gesture it uses default gesture from v1.0.
Q: Where is stored learned gesture?
A: In file \Windows\camera_lock_button_gesture.bin
(You will be asked if you want to remove it at the end of uninstallation.)
Q: What about unlocking the device with password?
A: If device is locked after camera application is closed, it won't be security hole. Maybe next time I'll implement it.
Changelog
v1.2.1:
- Fixes forgetting of learned gesture after application was switched off.
v1.2:
- Support for CHT.
v1.1:
- Volume buttons are working again.
- Gesture learning (= maybe S2U2 compatible).
- Setup dll, so you don't need to make sure application is not running before uninstallation.
v1.0:
Initial release.
Compatible lockscreens
- WM6.5 default (Confetti lock screen)
- Co0kie's Home Tab lockscreen [worked for me, not worked for Guus_]
- Maybe others but nobody informed me about it.
- Not working with S2U2, I contacted author of S2U2 about it.
Attachments
Last edited: