[Q] How can I take a quick picture by bypassing the lockscreen - Android Q&A, Help & Troubleshooting

Hi all.
I want my phone to be normally protected by a pincode but I'd like to disable it when my phone is locked and I press the camera key to take a quick picture.
I tried this solution : http://forum.xda-developers.com/showpost.php?p=28194573&postcount=8
I read this but without result : http://forum.xda-developers.com/showthread.php?t=1687405
I tried with tasker to create a profile that's like this:
trigger : - camera key pressed event
task : - disable lockscreen
- launch camera app
But it seems that tasker doesn't get that I press camera key even if I modify my camera & focus key declaration to wake in my system/usr/keylayout folder
See this for more info about key layout files : http://source.android.com/tech/input/key-layout-files.html
My phone is a Sony Ericsson Xperia Mini (St15i) and I'm running a custom rom (Serenity V3) based on stock. It's Android 4.0.4
Do you have any idea?
Thanks.
P.S if my question isn't clear, just tell me that I can explain more/better .

No one has an idea how to do it?

Related

[Q] Compiling power control widget (from settings app)

Hi,
I've been trying to compile the original code for the power control widget from the "settings" app, but it won't because of the missing / hidden / internal classes,
I remember seeing someone with a modified Settings apk with more or modified buttons in the widget but I can't find the post anymore :/
Do you guys know how it can be done, do I need a special sdk or something ?
Thanks
No one can help ?

[HELP] Home button not working on MIUI life 2.4.20 v4 (ST17i)

[HELP] Home button not working on MIUI life 2.4.20 v4 (ST17i)
Hi!
Today I've flashed MIUI life 2.4.20 v4 on my Xperia Active (ST17i) but home button is not working.
Tried reflashing, clearing cache & data, but there's some problem with the Android Configuration Assistant because it locks home button.
SOLUTION: (almost noob level)
AverageFury said:
[HELP] Home button not working on MIUI life 2.4.20 v4 (ST17i)
Hi!
Today I've flashed MIUI life 2.4.20 v4 on my Xperia Active (ST17i) but home button is not working.
Tried reflashing, clearing cache & data, but there's some problem with the Android Configuration Assistant because it locks home button.
Click to expand...
Click to collapse
1. Install a Root Explorer/Browser with which you can view and edit system files.
2. Navigate to:
system>usr>keylayout, and look for a file named as " cyttsp_key.kl "
3. Open it with a root text editor
(you need an editor with root permission for editing system files, mostly they come equipped along with the root browser)
4. Here you will find the list Capacitive touch buttons along with their functions listed
eg: for xperia active with 3 Capacitive touch buttons Back, Home, Menu it is something like this:
key 102 HOME VIRTUAL
key 139 MENU VIRTUAL
key 158 BACK VIRTUAL
5. So if your Home button is not working, you will notice the first line(key 102 HOME VIRTUAL) in missing. (102 is the button code, HOME is the function, & VIRTUAL I guess represents its a Touch Button)
6. Just add the line save the file & Restart your device, this should probably fix your problem.
Note:
1. The number the in each line after the "key" is a unique code for each button of your device, just google it to find the code & function of a particular button
2. If 1 of your hardware buttons are not working then repeat the same process with the file " pm8058-keypad.kl " in the same directory(system>usr>keylayout)
3. Make a backup of the file before you edit it.
4. You can disable a button by adding a "#" in front of the line that mentions its name/code.
eg: Change "key 139 MENU VIRTUAL" to "#key 139 MENU VIRTUAL"

Problem with home key

So far I can't post PM or message to developement board as new registered user, lets try to get answer to my problem this way
Problem and following ROM is related to Xperia GO
I downloaded, installed and started use ExtremeSecurity Stock Jelly Bean 6.2.A.1.100 European ROM http://forum.xda-developers.com/showthread.php?t=2328171. I did it as I need something to replace stock one with delays it have. I found one problem, I am unable to solve. After install and rooting I found I can't use the home key (the touch sense key under display - the one with "house"). I was trying to google and change mapping of this key and did not succeed. So I made some tests and did not move anywhere forward...
1) If I go to recovery, cwm allow me to display key numbers in some menu. Here key respond well it code as 102 (as it should)
2) If I add line like key 102 HOME WAKE to any file in /system/usr/keylayout nothing change (after editing I reboot, then put it back, so far I was not succesfull)
3) If I use any of "keypress test application" (try 3 of them) they report all keys well (back, settings, vol up/dwn power) but no report and no action for home.
There is no difference in press or long press of key. Simply no action follows.
Do you have any Idea what can be wrong?
Thanks a lot
Karel
P.S. If admins will forward it as message to munjeni or move to Developement part of forum for this ROM, please delete it here...

[Q] Lockscreen, Home & Recent Apps Button Not Working

Hi, I'm using sony xperia Z1 C6903, now the home and recent apps button on my phone is not working, I pressed but nothing happen, same with the lockscreen, even I set to PIN lock, after I unlock the screen, there is no PIN lockscreen, so my phone cannot be locked. I clear dalvik cache and wipe cache partition in recovery, but the problem did not disappear. How to fix this? Even in safe mode the button is not working too.
I'm using kitkat 4.4.2 14.3.A.0.757
and I found this on xda too, but my button still not working, the only working is the back button and menu.
for all those like me who have problems with the Home key (disappeared after flashing ROM or kernel), with the lockscreen and the poweroff button, and don't know how to use the ADB shell, here's a simple solution:
1) take the apk SQLite Editor from the Market;
2) using any root manager (I use Root explorer) follow this path: /data/data/com.android.providers/settings/databases/settings.db and open .db file with Sqlite;
3) select ''secure''
4) create a new record;
5) type device_provisioned (on name)
6) type 1 (on value)
7) reboot
Click to expand...
Click to collapse
up.. up.. up..

full screen ... with build.prop

i have just added qemu.hw.mainkeys = 0 to get rid of the navigation bar .... must be rooted
a day ago i turn on the mojo ... and i got "not supported" massage ,unplug & plug
and the navigation is back ...
any other tweaks without install any app?
any suggestion for rotation disable ... without install any app ?
haim.
Hi!
I wonder how that worked for you. The correct setting is
Code:
qemu.hw.mainkeys=[B][COLOR="Red"]1[/COLOR][/B]
because you want the device to act like it had hardware keys.
well i don't see any reason for those key to be used .... after all we have back & home on the controller
and to watch a movie in KODI .... thy always on ,other player hide them ...
btw i found an apk that can do it for you ... if you don't want to mess with it ... (install ,do the change & uninstall )
http://forum.xda-developers.com/devdb/project/dl/?id=1906
haim.
"any suggestion for rotation disable ... without install any app ?"
Settings>Display>When device is rotated

Categories

Resources