yashsingh1/xdaforums huggingface dataset:
[Android Apps and Games] elesbb:
Addressing the issues!

Hello everyone! Thanks for the awesome feedback for my app!

I would like to address the issues stated:

HOME BUTTON PRESSES

- This is next to impossible to completely consume. It was patched back in froyo or gingerbread i think. However, there are other methods I can take that will prevent this.

1st. I can make my app behave as a launcher app, meaning, when you press the home button, it will ask you which app to use as your launcher, you would select mine, then in my app, i would ask you which app to use as your actual home launcher. Then, when you press the home button, my app will get launched, it will do some checking, then if the screen lock is enabled, it will simply ignore the home button press, but if the screen lock is not enabled, it will navigate to your actual home screen. (Probably the prefered method)

2nd. The home button will take you to your home screen, however, the screen will remain locked. (Kind of like this option cause you can then detect if the friend or person was trying to be snoopy xD)

3rd. The home button will take you to your home screen, however, immediately after it will relaunch whichever app you locked and re-lock the screen.

I'm not too sure which option I will pick, mainly depends on device compatibility, I'm thinking the first and second options will be more compatible with more devices. So I will test those two options and if I like them both, I will include both options in the release.

UNABLE TO ACTIVATE IN FULLSCREEN

- Again, multiple fixes to this problem :)

1. You can use my "Clock in fullscreen" app to show a clock in fullscreen, then pressing the clock will expand the status bar.

2. I can listen for when the foreground app goes into a fullscreen state, then create an onscreen button, Clicking the button will lock the screen and remove the button, unlocking the screen will unlock the screen and show the button again. ( I probably will go with this approach) I might even make this an always showing button, or at least an option.

I think those were the extent of the issues, I will get working on it as soon as possible! Thanks again everyone for the support! Thats what makes any app wonderful, is the KIND support from the users instead of silly belly aching xD

Have a wonderful day everyone!
[Android Apps and Games] rayjr13:
The other issue wasn't addressed but it may be a nonissue with the planned fixes. But when the lock is active and the back or home button is pressed, the notification shade continuously rolls up. I also never attempted and also didn't hear anyone ever say they were able to unlock their phone with the gesture. :)
[Android Apps and Games] drdionysius:
Keep up the great work.

Here's a suggestion:

In SlimBean you have the option to "expand desktop" which hides the status bar as well as the soft navigation buttons (optional). Check the GitHub here: https://github.com/SlimRoms

Might have some leads on how to do that.:good:
[Android Apps and Games] wmiswm:
Thank you very much for your thoughts. On the full screen, if something appears on the full screen, then it is no more a full screen, hmmmm....... Can that little icon be invisible, at least, say placed right at the center of the screen. Or, you work out some means so that the notification can still be called upon even at full screen mode. Just another thought.
[Android Apps and Games] ynkamat:
Amazing app. This should definitely hit play store.

A v2.0 should have a logic of locking the phone (password) if screen pressed more than x times.
[Android Apps and Games] harps2013:
I had the same problem on my nexus 5 (I wish lol) 4 :)
[Android Apps and Games] elesbb:
UPDATED TO v1.01!

Fixes:

- Fixed the home button press

- Fixed the recent apps issue (sort of) it cancels the recent apps, but shows the home screen(however the screen is still locked)

Will work on a better recent apps preventer in the future. To come: full screen app locking method. Need to test a bunch of ideas to figure out which is best.

Please consider a donation and don't forget to click that thanks button! :)

Thanks a bunch everyone! Off to bed!
[Android Apps and Games] rayjr13:
What about the back button it kinda hasn't been mentioned. I'll try the new version.

---------- Post added at 01:35 AM ---------- Previous post was at 01:23 AM ----------

I still haven't gotten the app to recognize my gesture. It is discontinuous though dunno if that matters meaning I used like two digits as my gesture and I don't know if that was acceptable.

Anyway I still get into these weird loops of locked and not locked by switching apps. and/or using the home button and choosing the app as the launcher. Also theres is still the bug of the notification shade not staying down. I haven't quite figured out how to replicate the bugs yet.

but once I lock, then bypass the lock by switching apps, i see lock screen in my recent apps. If I select that...I get the notification shade and "locked screen" funtionality, but I can still hit home and/or switch apps.

Also when I hit the home button it locks the screen (if your app is default or I select as the launcher). Once that is performed pressing and holding the home button now becomes my app switcher function which it is normally not.

You may want to go back to the beginning and redetermine how you want to go about activating the mode and ensuring that it kills itself afterwards. Problems I have consistently is the app stays in memory and recent apps. Also like I said unless the two line gesture is no good. I still haven;t gotten it to unlock. Will try a more simple gesture.
[Android Apps and Games] dadvs1:
Excellent

Love the app. Its a great idea. I have to display my phone quite often at work and this will save customers seeing the wrong thing!

I have found a way to circumvent the protection on my Galaxy Note 3 (all stock). I believe it will also have an issue with any touchwiz rom on android 4.3.

You can hold the menu soft key to bring up the S Finder function and then reopen the gallery without any restriction. You are then able to browse anything you want. Doing this will cause certain other features to FC (i was unable to open settings) and will prevent you from going back in to your application. The only way to fix was to turn off and on the handset.

Hope this helps :)
[Android Apps and Games] himanshu.khanna:
excellent update

v1.0.1 works charm on my desire X now home button is disabled. thanks DEV..:good:
[Android Apps and Games] alirezaafkar:
I used home button for going to app drawer when I was in home screen and when I was in other apps go to home screen.

Now if I set your app as launcher I can't go to drawer with home button!
[Android Apps and Games] MatyiFKBT:
Subscribed, I like it ;)
[Android Apps and Games] elesbb:
You cannot use a multi-pattern unlock. Hence why when creating the pattern you draw the second pattern, the first one disappears. This is why you cannot unlock. And since you aren't unlocking it properly, my app still thinks it is locked and is preventing the status bar from being expanded. Once you unlock it properly, it will stop trying to hide the status bar. Also, the back button is consumed since the very first upload. So long as the lock is active, the back button will be consumed.

Also, recents activity behaves differently on each device/android version. So my method may not work to disable the recents menu, its more of a hack then an actual proper way of disabling it. Its not meant to be disabled.

I've tested this on four devices, Galaxy S2, S3, S4 and Asus TF300T tablet. No issues other than the recents not always canceling.

That is correct. Nothing i can do about it (at least i haven't looked into it yet) so you will have to use another option to accessing your app drawer.

Also, i have another option for activating the screen lock, since i am now overriding the home button, i can use a double click of the home button to activate the screen lock too. However, if you already have a double click home lock option (either on ROM IE Samsung's stock ROMs with S-Voice) then this won't work unless you disable that option.
[Android Apps and Games] elesbb:
I can't directly intercept that, however, I think I am going to go with a lock that will stay on the screen irregardless what app is showing. that is the only way to 100% lock the screen, However, the underlying app will be changed, i can also set it that if the app you locked gets changed, it will make the screen black and you won't be able to see whats behind the lock.
[Android Apps and Games] alirezaafkar:
Disabling Keys cant be inspired from this ?

xdaforums.com/showthread.php?t=2294274

I mean completely disable that button !

And for locking, My S3 hasn't Search button !

I've an idea, Instead of permanent notification, Show notification when user needs then after user clicked it, Lock and clear that notification
[Android Apps and Games] elesbb:
That is an xposed module dude, requiring xposed framework and root, not everyone has that nor wants it.

Im trying to make the app work for all devices not just xposed compatible :)

And you can do it that way, just go into my app, click the ongoing notification box, go to the app you wish to lock, lock it, then after unlocking, go back and uncheck the notification box.

As for the updated version,

I added a new version the b1 version that when a user will bypass the screen lock, either with recent apps or long pressing menu key on note 3, the screen will go black and any button pressed will not unlock the screen, only your pre-configured pattern will unlock the screen. This doesn't keep whatever app you were showing up, but it does prevent further snooping eyes.

As for alternative activation methods, i will include a double click home button option, and an always visible button, with the option of hiding itself if not in full screen. As well as notification.
[Android Apps and Games] rayjr13:
2xclick home sounds promising. More options the better. Currently, when i hit the home button I get the option to select HTC sense of your lock app as the default. When i chose your app and select always. It fails to relay a home command to the launcher so I lose the ability to use reach my launcher upon boot. Do you follow? It just sits at you app with a blank screen as it never launched HTC Sense afterwards.

I though the intended behavior was to replicate a home press to get you back to the previous default launcher when the device is not locked. It doesn't appear that it either does that or maybe it doesn't know which app to launch when replicating the home press. I waas able to access the drop down settings shade and go to setting>apps then clear the deafult for this app.I was then able to select HTC sense again when pressing home. Disabled the app rebooted reenabled it and it works correctly now. Go figure

When I boot there is no notification for your app to click to lock. Understood makes sense

So in order to use your app, I must launch the app. Understood makes sense

But the "Use ongoing notification is already checked but not active. Don't understand why that is

I make the notification active by unchecking to disable notification and rechecking to reenable notification. Then it shows up. Understand it but it is cumbersome and initially confusing.

It would be nice if the ongoing notification launched when checked, once the app is launched or if the check box matched the initial state of the ongoing notification..

As an update my recents doesn't appear to be consumed, it just seemed it is relocated to the home button when app is operated correctly. I understand you may not be able to address this behavior.

Things that are allowed for me when the device is screenlocked:

Home button: Recents relocated/remapped from press and hold multitask button
Press and hold Home Button: Google Now

And I agree with you when the app is correctly operated the back button is consumed.

Lastly when on the HTC sense launcher, pressing home should bring Blinkfeed back to the top but that does not work any longer; pressing home in the app drawer returned to the home panel of the launchers homescreens, but doesn't any longer; and pressing home on any homescreen returned you to the home panel. Basically any home button function while on the home screen no longer function..

I know you are aware of this, but it would be a great next thing to tackle if you are so inclined.

Hope I helped, for some reason I was having several weird issues with the first version but I hope my input for the new version helps you improve it. Thanks for dev'n and I'm looking forward to a full screen lock feature in the future.
[Android Apps and Games] elesbb:
This is a FREE app you know :)

But i will see what i can do.
[Android Apps and Games] Magicman500:
This looks promising! I had something similar to this on my jailbroken iPod (

WAY

back in the day).

I understand that you want this app to be free of root and xposed restrictions, but would it be at all possible for you to create a fork of this that uses root/xposed/whatever you need to make it function properly? I have root and xposed, and just want a solid locking app.

Also, would it be possible to add all the different things that can be blocked to the settings? My little cousins like to play games on my phone, but they get a little snoopy sometimes. I'd like them to be able to play the game, but not leave the game (If that makes sense).
[Android Apps and Games] rayjr13:
Don't be ridiculous lol! You continue to put your energy into perfecting this and you'll make yourself some money. community is supporting you, plenty of people are saying they been waiting and wanting for something like this, and hopefully this at least buys you a few beers
[Android Apps and Games] wmiswm:
No offence, just plain reporting.

The second version is so weird that I have to uninstall your app to make my phone alive again. It was stuck at the locked blank black home, unable to unlock by the pre-set pattern, and can do nothing. Reboot cannot help. I might have confused your app with unintentional setting; an indication of difficulty to set up, even if I am really a noob. You wish a population including noobs to be your beta tester, right?

By the way, I understand your point of trying to make it available to everybody. But if you cannot do it in a straight forward and promising way, and have to mess up with tricks here and there, the proper job cannot be properly done for the purpose, and the app is so tricky to set up, even if really possible, then I do not feel that it can become anything close to popular. Rather, a simple and straight forward app that can always work, even if only restricted to rooted or xposed devices, can be easily become popular. See the examples of greenify and titanium backup. Simple is always the best.

And a word on donation. I always do not mind to pay for working apps, but at least it should work, right? I understand that dev takes time and effort, and deserves to be well recognised, respected, and rewarded. But all these ought to be earned, this is life, applicable to everybody.

---------- Post added at 05:14 PM ---------- Previous post was at 05:02 PM ----------

By the way, the full screen issue can effectively be solved by the app Smart Statusbar.
[Android Apps and Games] elesbb:
I don't drink but i will surely buy food! xD And what i meant by that is its a free app, so there are other things that will have a higher priority, the two versions I posted work wondrously so I kind of left it at that for the time being.

I don't understand how you are having issues setting it up and using it lol. If you enter the correct pattern it will unlock the screen. However, i noticed that if you have no pattern set, its impossible to unlock xD I myself have done that xD So I will add a method, either when you try to lock, or on app start, a prompt stating you do not have a pattern set up so it will ask you to set one up.

But I really don't understand where you are having issues, if you care to elaborate that would be great.

And I can implement root, I will add it to the menu option. With root I should be able to disable recent apps dialog. However, intercepting home with just root, might not be possible, gotta look into it. Not everything is possible with root though :) And im not using an xposed module either, thats very limited to certain devices.
[Android Apps and Games] rayjr13:
Good cause I don't either. But that what I mean make it a paid app so you'll spend more time on it ;p
[Android Apps and Games] wmiswm:
It would always be nice to make an app noob proof, haha, so that there is no room for messing. Able to lock without an established unlock pattern is, frankly, a design flaw. I mean, you must provide an escape mechanism, otherwise mis-set up will call for factory restore, too unreasonable right?

Also, on the tightness of pattern recognition, how can the user know what is optimal? Isn't it be better if the app can learn by itself?
[Android Apps and Games] elesbb:
Um if you don't add a pattern and lock the device a simple reboot will fix it not a factory restore. And I didn't even think of it at the time cause common sense would say to create an unlock pattern. Lol. And what do you mean tightness of the pattern? You can adjust the accuracy by pressing menu then settings.
[Android Apps and Games] rayjr13:
Sounds exactly like what i was reporting then it stopped so I struck it from my post. Any ideas as to why this app may lock out the default launcher from running at boot. I think the comment about uninstalling is an exaggeration as I was able to launch google now from the capacitive button and then pull down my notification shade go to settings and remove the default from this app. Then when i hit home I could select run HTC Sense. That only happened to me once when i first set this app to be the default for home button and rebooted. Every other time i set as the default app it did not do this on boot.

Maybe this wasn't a fluke. But it certainly isn't a flame worthy situation, . Maybe something to check out.
[Android Apps and Games] elesbb:
Just a quick update for you guys,

Using root, I have successfully disabled recent apps. Using this same method I can disable other things that are launched from long key presses. I might make this version 99 cents on Google play, especially considering it since nobody has donated. Making it a priced app will certainly help motivate me to improving it. Thanks guys for your support!
[Android Apps and Games] imakul8:
Just happened to me..was testing the 2 apks and overwrote one so I thought my unlock code would be saved, but it wasn't. I couldn't use Pie to get to Titanium Backup to uninstall Screen Locker. I wound up having to battery pull and was still locked out after reboot..but this time somehow I was able to get to Titanium Backup thru Pie and uninstall. Whew! I thought I was gonna have to do a full wipe and reinstall. I really like the app, but I don't like that my home button doesn't work even when Screen Locker is not activated. Keep working on it and I will surely pay for it.:good:
[Android Apps and Games] rayjr13:
Didn't want to donate like three dollars and then you sell it for 1 :P

All jokes aside, I just honestly want to see it work worthily and help if I could. I hadn't really decided if I want to use it for myself yet.

sent from my M7DNA
[Android Apps and Games] Magicman500:
Any word on.. anything? This was a solid idea. I hope the developer didn't drop the project because no one gave him money for releasing it for free.
[Android Apps and Games] metaed:
how to defeat on the Samsung S3 mini

While the screen is locked, rapidly repeat the notification shade pulldown gesture. This will sometimes draw the shade down. When the shade does come down, quickly click the gear (settings) icon before the shade rolls up again. This will sometimes bring up the Settings app. Navigate to Application Manager and reset ScreenLock defaults. Press the Home button.

Cheers
[Android Apps and Games] elesbb:
No donations definitely put this on the back burner. Plus I have finals and a huge project due. Haven't even had time to work on my s4 ROM. And now my USB poets aren't working.. so yeah xD

I am still working on this tho. Figured out a way to intercept button presses without having a "home interceptor" and figured how to disable long press on buttons with root. It's definitely moving along! Once schools over I'll hopefully fix my laptop and work on it some more. I'll be posting future versions on Google play for 99 cents though. Thanks for the continued interest though!
[Android Apps and Games] Magicman500:
No offense, but you should polish the app before you start asking for money. I certainly don't want to spend money on something that doesn't look (<- Keyword) like much effort was put into it.
[Android Apps and Games] elesbb:
Are you being charged to download the version in the OP? No? OK then who said I'm asking money for the app? I was asking for donations for my time. Big difference between the two buddy.
[Android Apps and Games] rayjr13:
Good news. Sorry if I left you hanging. Bashed my screen before my partner's wedding and broke a connector on my mobo when replacing the screen. Just now getting my beast back to life.
[Android Apps and Games] Magicman500:
Like I said, your application doesn't

LOOK

like a copious amount of time went into it. I understand that you've worked very hard on it, but without reading this thread, the casual viewer/donator will have no idea that you've actually been working hard on this.

I'm just trying to help, I'm sorry if I came off as rude.
[Android Apps and Games] elesbb:
I understand where you are coming from, but the main settings window has 300 lines of code to it.. its not "easy" to do this. It requires A LOT of time. Apps don't make themselves ya know ;) Lots of logical planning and critical thinking are needed as well as actual time to type the code. I personally don't care how flashy something looks, i would rather have stability and effectiveness instead.

My next project is an app locker, locking someone into an app and not being able to leave said app unless correct password is entered.

But more on topic guys, what is the main feature/update you guys would like to see? I have solved long press on <insert button here> with root. So no other apps should be launchable (after some initial setup of course.) and i found a better way to intercept the home key, so no more "launcher" app is needed. What other issues updates were there?
[Android Apps and Games] Magicman500:
That's exactly what I was looking for in this app! How's that one coming?

Some bugs I've noticed:

You can't leave the settings app with the home button, have to hit back to leave. (Probably leftover debugging, right?)

The "Use ongoing notification?" box stays ticked, but the app isn't started at run time, so you have to toggle the box off and on again

Also, a suggestion. It might be better to build the app locker stuff into this app. You could have toggles in the settings that would allow users to enable and disable certain features of the app. For instance, can't leave the app, but the screen can still be used.
[Android Apps and Games] elesbb:
Nope, separate app friend :) And ongoing notification not being there after boot is a simple fix, i don't have the necessary code to start at boot. The version i have now does though. Thanks for the feedback! And the "locking in an app"... app ... is having the same issues this one is, once you long press the home button or other button, you can leave the app.. I have a couple fixes for that though.
[Android Apps and Games] Magicman500:
Any news?
[Android Apps and Games] elesbb:
Learning xposed modules so i can make it "perfect" :) Im trying to get everything ironed out and working perfectly.
[Android Apps and Games] Magicman500:
Still interested in this!
[Android Apps and Games] elesbb:
It's working I'm trying to figure out how to prevent it from being hacked. Plus if you have android 4.3 or higher, no root is needed to intercept the keys! :)
[Android Apps and Games] Magicman500:
Hacked how?
[Android Apps and Games] elesbb:
Meaning, bypassing the play store licensing check.
[Android Apps and Games] Magicman500:
You could just be the best dev ever and release it all for free! :P