[Request] App with power button's function - Android Software Development

Hi all,
Could anyone develop an app that reproduces the power button's function? I really would like to turn off the screen WITHOUT locking the device and turning off the "smart lock" function. I have already tried almost 20 apps(like screen off & lock) and even with tasker and secure settings, without success. I don't know what to do..
This will be useful for all who want to use "smart lock" feature integrated by Google, like trusted devices and places, face recognition, physical contact.
These are automatically disabled if you use any of the app/widget that "locks the screen".
I'm kindly asking someone who knows how to make a simple app on Android :fingers-crossed:
Thanks in advance!

Related

Maybe Can This Disable X10i Lockscreen

Hey Ppl....
I've found a file called libphonelock.so under /system/lib/
Maybe if you remove it with the TB, that it remove X10i lock screen?
anyone as know it?
//
dong2007
newest version of Battery Indicator Pro can remove the lock screen, works perfectly from what ive seen
jomil said:
newest version of Battery Indicator Pro can remove the lock screen, works perfectly from what ive seen
Click to expand...
Click to collapse
ZOMG. This is definitely a step in the right direction.
I'm going to contact the developer and find out if I can get the code to the lockscreen disable portion of the app. Would love to see if I (or someone with actual Android programming experience) could tweak that into something that disables the swipe lock but can keep the pattern lock enabled.
-edit-
Email sent, though BIP's developer is out of town this weekend. If anyone knows of any other apps that accomplish this, I'd be interested to know.
lock 2.0 disables it, as well as the app "no-lock".
problem is, even with the new version of battery indicator, every app ive tried the stock slider still manages to come back someway somehow , battery indicator seems to be the best solution so far, and im wondering if its lock 2.0 that somehow brings back the stock slider.
saltorio said:
ZOMG. This is definitely a step in the right direction.
I'm going to contact the developer and find out if I can get the code to the lockscreen disable portion of the app. Would love to see if I (or someone with actual Android programming experience) could tweak that into something that disables the swipe lock but can keep the pattern lock enabled.
-edit-
Email sent, though BIP's developer is out of town this weekend. If anyone knows of any other apps that accomplish this, I'd be interested to know.
Click to expand...
Click to collapse
Hey have you ever been able to receive a response from the dev?
If you are seeking a "new" lock screen, or the "no slider" look.
I highly recommend Widget Locker.
It has a root bypass of the lock screen "5 second rule" which starts up the "old" lock screen.
I bought the app, used the root bypass option, and i havent seen my old lock screen yet.
They even have a keypress unlock, if you want a very simple lock screen, and you can hold your back button down for .5-2sec or so to unlock.
Though, I dont use the pattern lock, so i have no idea if it works in combination with this or not?
Edit: Disregard, I didn't realize the age of this thread D:
Sorry for resurrecting such an old thread. Funny thing is that I actually did start using WidgetLocker and I DO sometimes get the stock lock screen before it starts, so I was looking for a way to completely disable the stock lock. There are some apps out there that remove the stock lock but it causes every hardware button to wake the device up, which is no good. (This includes battery indicator as I just found out)
Yea, thats no good, it kinda defeats the purpose of having some sort of alternative lock screen when it wakes up on key press like that
I'm not sure why, but i have never got the lock screen to pop up again, unless i kill widgetlocker myself.
Well, if you indeed find out how to get rid of that lockscreen, i would love to know, it would be nice to not have a app constantly running pretending to be an alternate lockscreen, you know?
I am using the Extended Controls app from the market.
With it you can enable & disable just about everything the X10 uses (including the lock screen).

Closed

...................
I use Widget Locker by TeslaCoil. While it's a couple of dollars, it will give you whatever kind of lockscreen you want, and you set it to wake with any hardware button. You can also set it to unlock with a second press of a hardware button, or only a specific button (including the N1's capacitive buttons). I've got mine to wake with any button, and unlock with a custom on-screen slider.
Plus, I can put whatever I want on the lockscreen. If you want it too look like the default screen? You can do that. Widget it up? Perfectly fine. I also like the ability to make your own slider. I've got mine set so the left->right slider is unlock, and the other one launches the camera app, for those quick-or-you'll-miss-it shots.
I used to use MyLock (one of the free betas that was uploaded before the app was abandoned), but WL is more stable. Probably because you can pin it to the notification bar so Android won't kill it from time to time when it needs the memory. Or maybe because it's not beta code. I don't know, I'm not a dev, I only know the basic workings of the OS.
This sounds interesting.
But we still need something to lock the phone without using the power button.
I will purchase your suggested app and put Mixzing widget and the lock screen wigdet on it to search through music without unlocking the phone.
Thanks
If you put Widget Locker in your status bar (or launch it from app tray/homescreen, but for this purpose the status bar works better), you can go down and click it to put it in "Tool Mode" which is basically where you add all the widgets and such, as opposed to "Lock Mode" which can limit interaction (if you set it up that way). Neat trick is that you can go into the settings menu->Screen Timeout and select "Use Timeout in Tool Mode."
So you pull up WL in Tool Mode, it times out in 10 seconds, which puts the phone in lock mode, so you never have to touch the power button if you don't want to.
Neat little app eh?
..........
What if we need security a.k.a a pin code on the lockscreen?
Widgetlocker doesn't have a code system itself, so you slide to unlock then slide again then enter your pin. Pretty annoying.
Any way around this?

[Q] Keyboard/Lock Screen not working with tasker?

Basically I just want to use Tasker to turn on a PIN lock when I'm not connected to my home wifi. I've tried it multiple ways - using the keyguard on/off built into tasker, using the secure settings plugin, etc. I can't get it to work. Is there something I'm missing here? Does the Nexus 7 have problems with this function? Any tips would be appreciated, thanks!
rm79 said:
Basically I just want to use Tasker to turn on a PIN lock when I'm not connected to my home wifi. I've tried it multiple ways - using the keyguard on/off built into tasker, using the secure settings plugin, etc. I can't get it to work. Is there something I'm missing here? Does the Nexus 7 have problems with this function? Any tips would be appreciated, thanks!
Click to expand...
Click to collapse
I am having the same issue, did you ever find a solution for this?
PthPndr said:
I am having the same issue, did you ever find a solution for this?
Click to expand...
Click to collapse
It turns out that Android is no longer allowing applications to lock / unlock screen, this is a security feature (even Tasker has this info somewhere in the documentation). The way Tasker currently turns off the screen lock is by some messy work around. The closest I got to having this feature working on ICS and later on JB 4.1.1 was that it was working as expected most of the time, but whenever the screen lock was switched off by Tasker and I clicked on any notification in the notification bar, the screen would get locked and keep locking itself from then on. This is really annoying and makes this feature pretty messy and useless. So I finally resolved to setting the phone to lock automatically after a long period (eg. 30 mins), which is good enough when I'm at home. That way the chances are that if I forget to lock the phone and loose it, it will lock itself after 30 mins. I also created a shortcut on the screen (using Secure Settings plugin) to lock the phone manually whenever I remember about locking it. I doubt there is currently a better way of doing that.

[Q] widget / shortcut for lockscreen on/off ?

Hallo, I want something to switch lockscreen on-off
or better to switch from slide (if I say it correct in english) to pattern/pin
I use smart cover, but even without that, it would be useful to enable/disable pattern lock with a button
so we don't have to go into menus and settings every time we need extra security
widgetsoid has a button for that but doesn't seem to work, even with admin enabled
Thank you
It doesn't work even if I move it as system app.
is it a priority issue? is there any other app to do similar thing?
for anyone interested I made it with Tasker.
however I was hoping for a cheaper and more battery friendly way

Face recognition not working after lock with "screen off" app

Hello, I am using lock screen app such as "Screen Off" to lock my phone instead of using the power button.. Just find it a bit more convenient that way..
However, once i lock the phone that way, the face recognition doesnt work anymore when i unlock the phone.. I have tried 4 lock screen apps, all give the same problem..
Any of you facing the same issue> Any workaround? Thanks in advance..
Same here, I'm using OnePlus 5
I don't believe there is a workaround. Android requires a pin or pattern unlock after the phone has been locked by a 3rd party service.
There is a workaround!
Hi,
I had the exact same problem just now. Instead of using the "Screen Off" app, you can add a new "quick command" in Bixby called "Screen Off". After creating the command, there's a menu option on it to add it to the home screen. It behaves identically to the Screen Off app (albeit about 1 second slower), but will allow screen unlock using face detection afterwards.
Steve

Categories

Resources