[Q] Password required to close an app - Android Q&A, Help & Troubleshooting

Good day, i am new programming android and i have a lot of questions, but today i have a singular question that i havent found how to solve it.
i want to know if there is a way to request a pasword every time the user wants to change the app or go to home screen, tha idea is that this app will request a password to allow the user change the app or go to home screen.
i would really appreciate your help in this matter.
Best regards

Try to download any of those app that you can lock apps with password... and block the launcher.
It shoud work...
can I ask why you are doing this?

360porcento said:
Try to download any of those app that you can lock apps with password... and block the launcher.
It shoud work...
can I ask why you are doing this?
Click to expand...
Click to collapse
well, as far as i know (NOT THAT MUCH JEJEJE), those app help you to request a password to launch an app, but what i want is to request a password if you want to close or change of app.
i was thinking in some code to add to my project..
the reason why i am doing this, is because im trying to develop a little program to share with some students, and i dont whant them to quit the app and start to do different activities
thank you very much

Add some logic code inside the OnPause or OnDestroy methods.

Have you tried blocking the launcher?
Are you gonna provide the devices? If not... a app that require a password to quit should require root....
Sent from my R800i on 4.1.1

thank you for your answers
Jrcon, that seems to be a good idea, but, where can i find a similar code just to have a better idea?
360porcento, yes i am going to provide the devices, and i dont understand about "root"
i really appreciate your help
Best regards

Rooting is the procedure to enable access yo practically everything an android OS has. Example - system, boot...etc. It installs super user access in the linux system so when u will use ur phone, u will have full access to its systems.
Hop i helped .
Sent from my GT-S5360 using XDA-Developers App.

Hard/soft buttons or on screen? If on screen buttons you can download gmd gestures and hide the navigation bar with a 4 finger custom gesture. That would require root.
Other option would be put a password to close the app... but i think that for this you also need root as you are basically locking all the other functions on the device and a normal app shouldnt be able to do that....
Sent from my R800i on 4.1.1
---------- Post added at 02:48 AM ---------- Previous post was at 02:33 AM ----------
Ok...
I did some testing myself
Download the app " app lock" . Set up a password, lock all the apps but yours and voila
You can also block all system apps, the ability of installing /unistalling stuff, making calls etc... sometimes the will get to the launcher... but they can do nothing from there, you can also have a launcher that can hide all the app by a password... and you can spam the homescreen with your apps shortcut....
You dont learn nothing of programing but is the esiest solution and you dont have root...
Hope it helps
Sent from my R800i on 4.1.1

Related

[Q] Option to Hide .apk After install?

(This is my first post on the site)
I want to modify an app so that after installing, it doesn't show (Hidden) in the app section.
I don't have experience in this type of work.
I was fiddling around with root explorer thinking that I could find something that would allow me to make it hidden but, no luck.
I think and I really mean THINK that this type of setting would be in the apk xml?
but again were back to, how to extract that on windows 7?
If anyone can Help or assist me to the right direction It will be appreciated.
Got some views but not one single response, Did I post this in the wrong place?
apk hide
lilrepo said:
(This is my first post on the site)
I want to modify an app so that after installing, it doesn't show (Hidden) in the app section.
I don't have experience in this type of work.
I was fiddling around with root explorer thinking that I could find something that would allow me to make it hidden but, no luck.
I think and I really mean THINK that this type of setting would be in the apk xml?
but again were back to, how to extract that on windows 7?
If anyone can Help or assist me to the right direction It will be appreciated.
Click to expand...
Click to collapse
i was looking into the same issue..Can anybody suggest a way to hide an app from app list once the app is installed
Nemus
The only way I know of to do that is to use another launcher. I would recommend Nemus launcher in Google Play. It has settings to hide apps, plus it's a lot smoother than Craperola's launcher :good:
hide
JVital2013 said:
The only way I know of to do that is to use another launcher. I would recommend Nemus launcher in Google Play. It has settings to hide apps, plus it's a lot smoother than Craperola's launcher :good:
Click to expand...
Click to collapse
i'm a beginner to android
I'm developing an app that will call another apk internally(apk2)
hence apk2 will be installed on the device..
But i dont want apk2 to be visible to user in list of apks(my files/file browser).
And cant this be done without any 3rd party apps as u told..
Thanks in advance
---------- Post added at 01:48 PM ---------- Previous post was at 01:42 PM ----------
[email protected]#$%^ said:
i'm a beginner to android
I'm developing an app that will call another apk internally(apk2)
hence apk2 will be installed on the device..
But i dont want apk2 to be visible to user in list of apks(my files/file browser).
And cant this be done without any 3rd party apps as u told..
Thanks in advance
Click to expand...
Click to collapse
Atleast can i hide my source code..?
Incase the user installs third party apks ie..Astro/ES file manager, he'll be able to extract the apk and view my source code which i dont want to happen,
[email protected]#$%^ said:
i'm a beginner to android
I'm developing an app that will call another apk internally(apk2)
hence apk2 will be installed on the device..
But i dont want apk2 to be visible to user in list of apks(my files/file browser).
And cant this be done without any 3rd party apps as u told..
Thanks in advance
Click to expand...
Click to collapse
Oh, I see what you're saying. I'm not sure why you'd need to call another APK, why no code it all in one. On the other hand, I'm no coding pro ;P. Anyway, I would post your question in one of these forums, you can probably get more help.
JVital2013 said:
Oh, I see what you're saying. I'm not sure why you'd need to call another APK, why no code it all in one. On the other hand, I'm no coding pro ;P. Anyway, I would post your question in one of these forums, you can probably get more help.
Click to expand...
Click to collapse
ok thank you..can you please post it..and reply here as soon as possible..
the other apk is another standalone application.
Cant combine them into a single one

[Q] Password protect?...

Hey guys,
I'm new here so be gentle...
Is the Sony Tablet S password protected, or can just anyone pick it up and start using it?
And is it possible to protect certain programs? I'm thinking of email and Facebook/Twitter.
I can guarantee that I won't be the only person wanting to use this when I buy it, but I want to know that my personal stuff will remain private.
Thanks!
Dave
Guitardave said:
Hey guys,
I'm new here so be gentle...
Is the Sony Tablet S password protected, or can just anyone pick it up and start using it?
And is it possible to protect certain programs? I'm thinking of email and Facebook/Twitter.
I can guarantee that I won't be the only person wanting to use this when I buy it, but I want to know that my personal stuff will remain private.
Thanks!
Dave
Click to expand...
Click to collapse
Hi there!
yep, on the settings you can protect the tablet with a password..
About the programs, you cant pass protect by origin, but I have seen apps in the market that can do that..
Sent from my Sony Tablet S using Tapatalk
I have ZDBox installed (free on the market) it comes with an Applock feature. Just move the apps u want into the protected apps section and u'll be prompted to enter the password every time u open one of em.
Thanks for that - sounds like a good solution

[Q] Need Help to Set Password for Default Email,Gmail apps

Need Help to Set Password for Default Email,Gmail apps...My cousins,Friends use my mobile sometimes and I dont want them to see my mails..Any Idea how to Protect them by Keeping a Password before opening it? I have not rooted my mobile and dont want to.
https://market.android.com/details?id=com.androidpassword.core
Not being funny, but that was in the first screen of search results on google. This is xda-developers.com, not spoon-feed-the-lazy.com. Just a reminder
Also, there's lots of apps out there to do this, so if you don't like that particular one then just search the market...
https://market.android.com/search?q=app+protect&so=1&c=apps
Archer said:
https://market.android.com/details?id=com.androidpassword.core
Not being funny, but that was in the first screen of search results on google. This is xda-developers.com, not spoon-feed-the-lazy.com. Just a reminder
Also, there's lots of apps out there to do this, so if you don't like that particular one then just search the market...
https://market.android.com/search?q=app+protect&so=1&c=apps
Click to expand...
Click to collapse
I have seen the post you are talking already but it is thought there will be more good apps than that and link to app in that thread was paid one so I asked here...Thanks for the link will try the app..
EDIT: App is So Nice Thanks

[Request] how to get app in total stealth mode...

I happened to come to this app called "perfect app protector"...
In it I found a option which could get the app in stealth mode...
Once in stealth mode it would:
1) dissappear from app drawer <obviously>
2) dissappear from system application list too...!
3) it would simply not show that it's running in background...
Like u close the app and it would be out of notification panel...
4) it worked in the background but didn't show up in task manager...
5) only way to open the app wz by dailing the it's password in the dialer and calling... ( I wonder what wifi only user's do..)
I wanted to port it in other apps I have...
So I started learning the language but even after two weeks I cant get the coding which does all this....
Basically would anyone be able to hind me how to put all this in the apps...??
Apps that don't have them...
I will not be redistributing the modified apk and its purely for personal use only... for apps like my anti theft I need this.
Plus I have already brought in the donate version of app(perfect app protector) to support the dev and coz im taking inputs from his app ...
Im not talking about copying and pasting it. Just the feature in my preferred app which I'll b writing in it with the modification I want...
I'm talking about putting the code in the app , so I guess this iz the correct forum. If it's not direct me to one...(trying to learn the correct language to put in the app)
Sent from my GT-P3100 using xda premium
Im not sure, but if i could get a clue about this, ill inform u

[MOD][XPOSED] LockDown - Control phone access based on PIN entered

LockDown - XPOSED​
LockDown is a security module for Xposed.
It allows you to add multiple PINs to unlock your phone. Every PIN is a profile and you can restrict certain apps from launching when using a certain profile. You can even choose to hide the apps from the drawer completely so the user will not know if they are locked out.
There is a free version for testing before you purchase the full module. Please verify it works before making a purchase.
Features
Add PINs that can unlock your device
Lock apps from launching depending on PIN entered
Hide apps from the phone completely while profile is active
Compatibility
Works with most ROMs that are similar to AOSP. Will NOT work with the following:
Heavily modified ROMs
Any lockscreen with quick unlock enabled
Troubleshooting
How do I launch the app?
To launch Lock Down for the first time call *#*#54321 from your phone app. This is the default launch key. It is recommended you change this key after opening Lock Down.
Dialing the PIN won't launch the app
Make sure you have a PIN set in your system settings already. LockDown can only be launched when the phone has been unlocked via the system PIN.
Reinstall the module and reboot your phone.
If you are still unable to launch the app please post your xposed log and a detailed summary of exactly what you did to try to launch the app.
The free version works but the paid version does not.
This is due to Android putting paid apps in /mnt/asec/ instead of /data/app/ where xposed can properly load them. Until there is an official fix for this you can install XMOD which will move apps from /mnt/asec/ to /data/app/. To use it, simply install the XMOD and then install LockDown. XMOD can be removed after LockDown has been installed.
LockDown: https://play.google.com/store/apps/details?id=com.nitishkasturia.lockdown
LockDown Free: https://play.google.com/store/apps/details?id=com.nitishkasturia.lockdownfree
To join the beta channel you can join this community:
https://plus.google.com/communities/101675482688950686918
XDA:DevDB Information
LockDown, App for the Android General
Contributors
nitishk
Version Information
Status: Stable
Created 2014-03-05
Last Updated 2014-08-28
Reserved
can you make it compatible with Gingerbread plz?
killoid said:
can you make it compatible with Gingerbread plz?
Click to expand...
Click to collapse
I plan on adding Gingerbread support soon. Only reason that it is not in this release is because I don't know where xposed for GB currently stands. If it is stable enough I will gladly add support for it!
Now just to get a phone that runs GB.....
Any ideas for troubleshooting other than the ones you have listed on the play store page? I made sure all my lockscreen settings were back to default and rebooted but dialing *12345 just takes me to voicemail still.
Jack117 said:
Any ideas for troubleshooting other than the ones you have listed on the play store page? I made sure all my lockscreen settings were back to default and rebooted but dialing *12345 just takes me to voicemail still.
Click to expand...
Click to collapse
What phone and ROM do you have?
nitishk said:
What phone and ROM do you have?
Click to expand...
Click to collapse
I have a nexus 4 running stock 4.4.2
Jack117 said:
I have a nexus 4 running stock 4.4.2
Click to expand...
Click to collapse
That is very strange. I have tested it myself on a Nexus 4 running KitKat and it works. Try this:
1. Disable all xposed modules including lockdown
2. Make sure you have a PIN set via system settings
3. Restart phone
4. Enable lockdown
5. Restart phone
6. Unlock phone using the PIN you set in the system settings
7. Dial *#*#54321 and call it
cool, gonna try it
btw can it set to change the settings in different profile?
JOKERz said:
cool, gonna try it
btw can it set to change the settings in different profile?
Click to expand...
Click to collapse
Not yet but that is coming for sure. I have planned for that and a few other features I'm really excited about! Stay tuned
EDIT: Also please feel free to suggest any settings you have in mind specifically. I cannot make this into a DevDB yet so I can take requests here but as soon as I hit the minimum post count I will convert this thread. (Really should have joined xda sooner eh?)
nitishk said:
Not yet but that is coming for sure. I have planned for that and a few other features I'm really excited about! Stay tuned
Click to expand...
Click to collapse
Kewl!! :good::good:
another request, please integrate it with tasker or create intents for it
JOKERz said:
Kewl!! :good::good:
another request, please integrate it with tasker or create intents for it
Click to expand...
Click to collapse
ahhhh you guessed what I was planning on doing..
Tasker is next on the to-do list!
Pattern unlock
Can you make pattern unlock an option rather than pin?
simonwil said:
Can you make pattern unlock an option rather than pin?
Click to expand...
Click to collapse
Yes I am working on it. It is quite tricky so it is a few updates away, but I am working on it.
For people who don't want to search, here is the link to the Play Store: https://play.google.com/store/apps/details?id=com.nitishkasturia.lockdownfree
nitishk said:
ahhhh you guessed what I was planning on doing..
Tasker is next on the to-do list!
Click to expand...
Click to collapse
Thanks for this MOD and especially for integrating Tasker support. I imagine it would be even more awesome to set different PINs/profiles based on the particular WiFi that the phone is connected to by MAC address
I locked one app, well, but nos i want see my app. How i can enter un my app?dialer doesnt work for lockdown. Thanks
Doesn't work for me.. Whenever I dial *#*#54321, it just dials that number. Samsung Galaxy S3. Official 4.3.
Sent from my GT-I9300 using Tapatalk
---------- Post added at 09:02 AM ---------- Previous post was at 08:56 AM ----------
One question, what do you mean by, when you say "make sure you do not have quick unlock or similar feature enabled"?? What is quick unlock feature ??
Sent from my GT-I9300 using Tapatalk
confused
same issue i hide my apps now i am unable to access them and ... i uninstalled lockdown but my apps are still hidden ..
anyway dev its a gud concept
Can you please make the app accessible by a normal icon? The dialer doesn't seem to be working for me... im on SlimKat 3.0 gs3 VZW. I could see that you made it accessible through the dialer so another user can't change the settings but we can always just restrict the lockdown app from opening in a profile if it is accessible by a normal icon
Sent from my SCH-I535 using Tapatalk

Categories

Resources