01/02/2010, 12:22 AM
|
#1 (permalink) |
|
Member
![]() Join Date: Jul 2009
Posts: 10
Likes Received: 1
Thanks: 2
Thanked 3 Times in 1 Post
|
I wrote my first patch today: Launch Camera when Held Sideways and Unlocked.
In Short: Your phone quickly switches to camera mode if you hold it sideways while unlocking. Why: This is how you hold a normal camera, and goes the extra mile of also capturing pictures using the volume key -- which is where your fingers expect the shutter button on a camera to be. Thanks to Capture Photo with Volume Button for that. The patchfile is attached, so you can see what it's doing. I'm still waiting for it to be accepted and packed into PreWare. I'll update when it's available to install as a homebrew patch. If you like this patch, let me know so I know I'm on the right track. If you don't, I'd still like to know why it doesn't seem practical. Regards, ~Jordan |
01/02/2010, 12:29 AM
|
#2 (permalink) |
|
Member
![]() Join Date: Aug 2009
Location: plɹoʍ ǝɥʇ ɟo ǝpıs ɹǝɥʇo ǝɥʇ
Posts: 3,470
Likes Received: 0
Thanks: 215
Thanked 942 Times in 551 Posts
|
I like idea its just that sometimes when im browsing the internet ill leave it in landscape and then leave it on my desk and then when i come back i assume that it would launch camera which would be kind of difficult is there a way to disable it while im browsing but otherwise great work and good idea
|
01/21/2010, 01:10 AM
|
#3 (permalink) |
|
Member
![]() Join Date: Nov 2009
Location: Lithuania
Posts: 139
Likes Received: 0
Thanks: 8
Thanked 18 Times in 11 Posts
|
The patch is great, but need's some improvments, since it lounchers camera sometimes when i pick up the phone pfom the table and unlock it.
How do you uninstall the patch? |
01/21/2010, 12:20 PM
|
#4 (permalink) |
|
Member
![]() Join Date: Jun 2009
Posts: 2
Likes Received: 0
Thanks: 0
Thanked 0 Times in 0 Posts
|
I agree with pman, the patch needs improvement where is only works when you phone is completely in landscape position. It would also be nice it you could toggle it on or off. How do you uninstall the patch?
|
01/21/2010, 12:25 PM
|
#5 (permalink) |
|
Member
![]() Join Date: Jul 2009
Posts: 1,599
Likes Received: 2
Thanks: 88
Thanked 274 Times in 210 Posts
|
I'm not sure if it is the patch's fault, I'm sure the phone's doing plenty of battery-saving things with the motion sensor when you take it out of sleep, but I eventually did uninstall it because it opened the camera about 1 in 3 times I unlocked the phone in landscape.
|
02/27/2010, 06:43 AM
|
#8 (permalink) |
|
Member
![]() Join Date: Jun 2009
Posts: 16
Likes Received: 0
Thanks: 4
Thanked 2 Times in 2 Posts
|
IS it possible to only allow the slider mechanism to unlock the camera, rather than a landscape unlock, which happens frequently by accident? I I could launch my camera by holding my phone in landscape, and sliding out the keyboard that would be perfect. Just the unlock alone causes too many accidental camera launches.
|
03/11/2010, 04:42 PM
|
#10 (permalink) |
|
Member
![]() Join Date: Feb 2010
Posts: 1
Likes Received: 0
Thanks: 0
Thanked 0 Times in 0 Posts
|
I tried this - very nice idea dude - but the camera was constantly opening and although I'd catch it many times before it opened, it got too annoying. this is how I disabled it:
a) Get yourself to the linux command line (use webOS Quick Install). b) Move (mv) the current 'cameraLaunch.js' (with the code for this tweak) out of the way: mv /usr/palm/applications/com.palm.app.phone/app/extensions/cameraLaunch.js /usr/palm/applications/com.palm.app.phone/app/extensions/cameraLaunch.js.lcwhsau.old c) then, for good measure, copy the original, which shud be there beside it (even though it's 0 bytes): cp /usr/palm/applications/com.palm.app.phone/app/extensions/cameraLaunch.js.webosinternals.orig /usr/palm/applications/com.palm.app.phone/app/extensions/cameraLaunch.js d) restart the handset. |
06/07/2011, 01:30 AM
|
#13 (permalink) |
|
Member
![]() Join Date: Dec 2010
Posts: 14
Likes Received: 0
Thanks: 0
Thanked 2 Times in 2 Posts
|
There is a lot of buzz about iOS 5 right now, stealing functionality and whatnot. I'll just suggest a similar idea compared to the jailbreak tweak I was using on my iPhone 3GS before I bought my Pre 2. The idea works well with the current patch that allows me to use my volume keys to snap a photo within the camera app. So, I suggest making a patch that allows users to unlock the phone and take users directly into the camera app by holding one of the volume keys for an extended period of time, like two seconds or something. Currently, holding the volume key(s) when the phone is locked does nothing, so I don't see a conflict. I don't want to have to press the unlock button, then remember to hold my phone a certain way before sliding the little unlock ball. It is a great idea, your patch, but I don't think I would use it as is. Thanks for the work, and great job on your first patch! (I've never written one, so I can't really hold a candle to ya lol)
|
06/07/2011, 05:57 AM
|
#14 (permalink) |
|
Member
![]() Join Date: Jul 2007
Posts: 64
Likes Received: 0
Thanks: 27
Thanked 1 Time in 1 Post
|
I like the idea of using the volume keys. What I think it may works well is using it together with the normal gesture unlock.
When holding the phone with the left hand, just unlock it as usual with the right hand while hold the volume keys with the left hand's thumb will bring you straight into the camera app. Will it be possible?
|
06/08/2011, 08:35 PM
|
#15 (permalink) |
|
Member
![]() Join Date: May 2011
Posts: 4
Likes Received: 0
Thanks: 0
Thanked 0 Times in 0 Posts
|
Could you make it launch the camera only if you swipe the unlock down in land scape mode? just a thought that would make it better for me.
Last edited by xs-sxs; 06/08/2011 at 08:40 PM. Reason: clarity |
01/02/2012, 07:47 AM
|
#17 (permalink) |
|
Homebrew Developer
![]() Join Date: Dec 2009
Location: Here.
Posts: 624
Likes Received: 82
Thanks: 22
Thanked 167 Times in 84 Posts
|
From the look of things, it looks like the patch is checking orientation constantly while the phone is unlocked. Would it not be better to check it while locked?
__________________
Stuff and Things that I had a hand (or two) in: WiFi File Sharing - Simple Network Sharing for webOS (Now available in Preware!) Enyo Smooth Scrolling, Mojo Smooth Scrolling, Mojo FPS Booster, Mojo Tap Responsiveness, Mojo Flick Regulator, Mojo Speedy Switch, Pre3 Just Type Scrim Fix, HP webOS Carrier String, EDGE Icon Patches. If you like any of the above and are feeling generous, why not ? :]
|
01/06/2012, 11:57 AM
|
#19 (permalink) |
|
Homebrew Developer
![]() Join Date: Dec 2009
Location: Here.
Posts: 624
Likes Received: 82
Thanks: 22
Thanked 167 Times in 84 Posts
|
The patch is broken in 2.2.4, using quick install won't make any difference. The patch will have to be rewritten before it'll install. And it's apparently quite buggy at the moment, it needs to be improved a bit to be practical.
|
![]() |
|
| Tags |
| camera |
| Thread Tools | |
| Display Modes | |
|
|



