Launch the lockscreen activity? - Galaxy S II Q&A, Help & Troubleshooting

Is there a way to run a script or command to run the lockscreen? I find the lockscreen quick and easy for launching apps, sometimes it's nicer than using the proper launcher app. If my phone is unlocked I would like to be able to press a shortcut or run a script to directly launch the lockscreen.
I know I could simply hit the power button twice to lock then wake the phone. I also know I could use tasker to lock then wake the phone. Both of these solutions are slow and not very elegant.
There must be an intent or activity or shell command which can call and run the lockscreen. I know this is an odd question and it isn't essential to find an answer but I'm curious. Any ideas?
If it makes any difference I'm running deodexed ICS 4.03 XWLPG with JKAY mod. (GT-I9100)

Related

[Q] Home Key Double Press / Tap

Hi,
I've got Galaxy S2 on Android 2.3.4 (Basband I9100XXKH3 Kernel 2.6.35.7-I9100XXKH3-CL479037 Build GINGERBREAD.XXKH3)
There's a problem and another niggle I have.
The problem is that when I double-tap the home key, I get the Voice Talk asking me "what would I like to do?"
I want to disable this.
It seems that sometimes this happens by accident - either because I accidentally double-tap or because the hardware/software mis-interprets a single press as two. Read about this somewhere else on the web too.
All I really want to do is for double-tap to just return me to the home screen.
The slight delay that occurs when pressing the home key I'm told is because of the double-tap feature.
I've tried a few methods I found on line but none were actually solutions.
I found an alternative launcher but it turned out that the fix was an irreversible solution, which I don't want.
Surely this should not be that hard!??
How can I disabled the voice talk or double-press on the home key?
Can anyone help or advise?
Thanks in advance,
D
You need root to remove system apps.
You can use apps such as Titanium Backup Pro to remove or freeze the app, or use a file explorer such as Root Explorer to remove. Another easy way is to flash a custom ROM with that particular "bloatware" removed. These methods all require root access.
Sent from my GT-I9100 using xda premium
Not sure where I saw this option once but it removed double click. Tested it and it worked then reactivated it.
Maybe Google 'galaxy s2 remove double click'.
Sent from my GT-I9100 using xda premium
Check either this thread on how to do the edit yourself:
http://forum.xda-developers.com/showthread.php?t=1227479
Or use JKay's Theme + Settings app
http://forum.xda-developers.com/showthread.php?t=1154278
I disable double tap home key now I can't restore it. I reinstalled firmware but it doesn't work. How can I enable it again? Voice commands works but double tap doesn't start app.
Just tried this and it worked. Yay!!!!!! No more goddamn vilingo this was driving me crazy!!
No root, no custom rom, easy.
http://androidforums.com/4272402-post4.html
double tap a different behaviour
Awsome took me a month to find this answer, went back to twlauncher and the darn thing wasnt there anymore. Now is there anyway i can give the double tap a different behaviour? without rooting the device otherwise away goes my warranty.

Adding Voice Actions via Lock Screen to Galaxy Nexus (Verizon)

Either by ROM, App, or Rooting/Otherwise, is there a way to make the lock button have multiple functions on my Galaxy Nexus?
My goal is to be able to use Voice Actions from a locked phone (like in the car, for example).
I noticed some posts on editing hardware buttons, but that was neither for the Galaxy Nexus nor for a lock button.
Ideally, 2 quick clicks would pull up Voice Actions from a locked phone.
I guess if I could permanently have Voice Actions in the notifications section, I could drag down from a locked phone and accomplish the same thing. I use slide to unlock, so dragging down on notifications bar is still available.
Any suggestions? I have not rooted yet but would do so just for this functionality (I'm now a corporate tool so I try to hack as little as possible these days)...
I am really interested in getting this functionality, so please excuse my bump.
Here are the two solutions (possibly) I've found.
1. Bar Control would allow this functionality if we could choose the Voice Actions App.
2. Widget Locker (though I've seen review of it not working well on Galaxy Nex, any opinions there). Also, still need an actual app to choose.
Again, I'm reaching out to Android users to see if they've found any way of using the lock button to achieve this functionality, but I'd take anything right about now.
Voice Actions Automate Startup like Siri
Okay, apparently I will be using this thread to document how I get this working.
Looks like Tasker will be my best bet.
1. I need to figure out how to call up the true Voice Actions prompt (Voice input is provided via Tasker, but it's not doing what we need it to).
2. I need to come up with some valid gesture to summon this feature (Like a Shake = Unlock and then summons Voice Actions)
I will post results. Please, if anyone knows exactly how to get Voice Actions to open in ICS using Tasker, you'd be a godsend at this point. This is VERY important functionality, especially for users that are not to be using their phone and driving these days...
This is (a quick and dirty) way to get Voice Search (Voice Actions) from Lock Screen on the Galaxy Nexus.
I purchased WidgetLocker from Market. I then added the Google Search Widget to my lockscreen.
In the future, I'd like to see Tasker have access to the lock button - that way I could Long Press the Lock button (or double press, whatever) and have access to Voice Search.
If you want different Voice Search functionality, such as widgets, or using Bar Control to add it permanently to the notifications area, you'll need to have Root Access to your phone.
Use Root Explorer to go to /system/app/VoiceSearch.apk
Rename to VoiceSearch.apk.backup
Go to Market and Download Google's Voice Search
Add Shortcuts, icons to your homescreen, whatever you want to do
Rename VoiceSearch.apk.backup back to VoiceSearch.apk
Reboot
This is the only way I've found to get VoiceSearch as an app choice again in menus like Tasker's, WidgetLocker, BarControl, etc. For some reason, it's no longer accessible by default in ICS.
This is by far not the cheapest or most integrated way of getting things done, but for $3.00 it was worth it for me.
Hope this helps all the GN owners out there
Integrating Tasker into this
Once WidgetLocker was purchased, I am able to use WidgetLocker to Unlock my phone through Tasker.
Used the above mentioned way of getting VoiceSearch available as an app via Tasker.
Used WidgetLocker's plugin for Tasker to unlock my phone when I shake it along with starting up Voice Search.
So now, in my car, I just one click my GN Lock button to wake phone, shake, speak...that's as good as it's gonna get for awhile.
Hope this helps
Simple solution - Eva for Android
I've had the trial version of EVA for a month. When it expires, I'm purchasing the full version. This is hands down the most advanced and exciting app for Android since Tasker. It is for Voice Control what Tasker was/is for utility control.
You can set Eva to continue running when your phone is locked and use a voice command to "wake her up" and give a command. Also even if my phone is locked, if I get a text message Eva will let me know I have an incoming message and ask me if I want to hear it (all while the screen is still off and phone still locked). If I reply yes, Eva will read the message to me, then ask if I want to reply. If I say no, that's the end and my screen is still off, phone still locked. If I say yes, Eva will unlock my phone automatically and open up the Eva app to take my dictation for the reply.
All of the above is based on my settings, but Eva can be programmed to handle incoming text several different ways. Eva really is the "tasker" of voice commands. I'd highly recommend at least checking out the free trial for a month. Like Tasker, there is a learning curve. Took me about the full month to learn all the command words, but once you do, it's amazing.
Also to make it even better, the developer does have tasker integration on his to do list. It may take a while, but if it can be integrated with tasker, then you could trigger any task you have created in tasker by voice which would be super sweet!
Anyway, check it out - hopefully it'll allow you to do everything you want.
anthdroid, thank you so much for sharing. i'm lucky to have found this thread. your workaround let me get my voice search action back. cheers!
hollywoodfrodo, thanks for the info on Eva. that sounds promising for sure! i just "discovered" tasker recently so i'm loving that. can't wait till my tec tiles come in!

[Q] How to access core Android functions like app switching

Is there any way to access core Android functions like app switching (holding down the Home button for a few seconds), to be used in other contexts? Similar to how you can access Activities from the apps installed and use them as Shortcuts.
What I'd like to do is this:
press Home -> bring up app switching interface
long-press Home -> go to Home screen
Basically I want to reverse the two functions that short and long pressing the Home button does.
If not that, I'm also interested in being able to access the "app switching interface" via a Shortcut (like a Shortcut you place on your Home screen), or via an app.
For example, you can long-press on the Home screen and add a Shortcut (different than adding a shortcut to an App) which basically includes various context functions of some of the apps you have installed. I want to be able to do this - add a Shortcut - in which the Shortcut I add launches the "app switching interface" that you normally get by long-pressing the Home button. That way I can put that Shortcut in Wavelauncher or wherever else I want to be able to app switch without the annoyance of having to long-press something.
Maybe this kind of thing requires root and hacking, but that's why I'm here! I'd be grateful for any advice and help; thank you!
As far as I know you'll need a custom rom like cyanogenmod or aokp to do things like that.Being able to do that in a stock rom would compose of alot of work within the framework-res.apk, systemUI.APK, and button maps. To flash a custom rom require root and clockworkmod. I want to help you but first what type of device do you have?
eugeneeaster18 said:
As far as I know you'll need a custom rom like cyanogenmod or aokp to do things like that.Being able to do that in a stock rom would compose of alot of work within the framework-res.apk, systemUI.APK, and button maps. To flash a custom rom require root and clockworkmod. I want to help you but first what type of device do you have?
Click to expand...
Click to collapse
I'll be getting my new LG Optimus G Pro in a few days. I was hoping, if I can't reverse the functionality on the Home button, that I could maybe assign the "app switching interface" to the programmable button on the side. Thanks for helping out by the way.
Is your device rooted? Also thank me with the button
eugeneeaster18 said:
Is your device rooted? Also thank me with the button
Click to expand...
Click to collapse
I don't have it yet, but I would be willing to root it. I'm using my good ol' GS2 Skyrocket for the next few days until it arrives.
Well I have my Optimus G Pro and I've been using it for a few days. I saw an app by the makers of Tasker that allows you to build your own app. Could I possibly use that to accomplish what I want (build an app whose function is to show the "app switching interface" )? Or would I really need to root it (and if so, what then?)?

[Q] Lockscreen button/gesture alternative LS

Hi,
I did search for lockscreens and didn't find anything close to what i am looking for. I used to use a Jailbroken iPhone and one of the only things I miss is this lockscreen system I had in place;
If I wanted to lock the screen and not have to put in a pin number to open it every time I just pressed the sleep button. However if I wanted it to have pin lock I just held the sleep button for a second.
It's so simple and saves so much time.
So I suppose if I had the standard lockscreen (I am Note 3) with a pin unlock, and the alternative being WidgetLocker (with no pin unlock) then i could just switch between the two. If that's possible, then it would just be a question of assigning widgetlocker to a button/gesture.
Do you know of anyway to achieve what I want?
Thanks, Chris

[Q] Changing touch/Sense functions without root

Hello,
Not sure what the actual term for these functions are: when the screen is off and you pick up the phone and swipe in any of 4 directions it will shortcut to homescreen, blinkfeed, last used app, ? and what you turn to landscape and press down volume it will go to camera.
Is there any way to change what these commands shortcut to? For example, swiping up to activate flashlight.
thanks
There is no way to change these sense functions without root - If I recall, even rooting you still can't change these options - just have to use a different launcher/rom
This is about as close as you are going to get to the answer you want..its a common feature among custom ROMs..its called screen off gestures..and yes you have to be rooted,and no you don't have to be s-off in order to root the device...its recommended to s-off if you want to do things to the firmware, but I'm not sure of your experience do I'll stick to your question...
The feature I screenshot is from Bliss ROM...

Categories

Resources