In new to making apps, so I need a little help. I wanted to make some sort of security app, with admin privelages, but its extremely easy to reactive device admin, and uninstall the app. I saw an app called prey that activates the screen lock with a previously set password when you try and deactivate device admin, and you cannot use the phone at all till the password is entered. How exactly could I add this feature to my app? A step by step would be a great help. Thanks.
Here is a link to prey if you'd like to see it to get a better understanding. https://play.google.com/store/apps/details?id=com.prey
No one can help??
Sent from my Nexus 4 using XDA Premium 4 mobile app
Related
i have a very playful friend and she keeps uninstalling apps on my X8, is there a privacy lock that asks for a pin before installing? any help would be appreciated it
If you go to Settings > Location & security you'll find the 'unlock pattern' setting, where you can set a patern you need to enter every time you unlock the phone.
I would've prefered just a normal pin, but whatever..
Edit: Oh sorry, I didn't read the OP properly. No, I don't know of such a privacy lock. Does Android have 'parental tools'?
try to check this
http://www.android-password.com/
or maybe something similar, but better advice is not to share your phone with playful friends
LOOOOL
Sent from my E15i using XDA App
Thanks to xda main page I download this free app and was shocked to find that most apps wanted to know my location my imei and have access to my contacts.
This app is like uac for windows but better. Give it a try on the market
Sent from my Dell Streak
Does this mean most devs have a big brother fetish?
I downloaded LBE this morning. I'm surprised at just how many apps have phone state and identity as one of the permissions. Question is however whether the apps will update properly without this permission.
I have fring requesting contact information and access to sms twice an hour.
Sent from my Dell Streak
Well, from my limited research, read phone state and identity permission is related to one of three things:
1. Android 1.5 compatibility.
2. Registration check.
3. App needs to be shoved into the background when a call comes in.
The Amazon Appstore reads the phone number whenever you open it. This is because the Appstore needs to know what phone to sideload the.app to. It's currently the only app I have that does this. All my other.apps are free since I don't have spare cash to spend on the Market. So far none of those apps have triggered this permission.
You load tweetcaster pro from amazon that asks for stuff alot
Sent from my Dell Streak
Amazing how many stupid apps need to access stuff that they probably don't need to access. Blocked a BUNCH of garbage today...turned on the phone at 7am, and by 5pm, it had blocked 32 requests.
Lol. Had it installed for an hour, nothing happened until XDA Premium app asked for my IMEI...
sent from XDA Premium app on Streakdroid 1.9.1.4
I have been having a hard time trying to find an app that can mimic the functionality of iOS's "Guided Access". In iOS, this setting let's the user restrict exiting the foreground app without a pass code.
I let my niece play with my phone alot and she always presses my home button then start calling people and deleting things.
Maybe I'm over looking do anyone know an app that can perform such function?
Sent from my SGH-M919 using xda app-developers app
same here
If you found such an app, please let me know. I'm also searching for such a simple app.
Surelock will do that
yxd0018 said:
If you found such an app, please let me know. I'm also searching for such a simple app.
Click to expand...
Click to collapse
Application Surelock will do that.
Surelock Sure won't
wicpp said:
Application Surelock will do that.
Click to expand...
Click to collapse
I just tried Surelock- it is only useful for professionals that want to lock there phone/tablet for a kiosk - you need to restart your phone to get out of it and it is not designed for kids at all. The best thing I have seen is Kid Mode Kid Mode (won't let me post the URL <playstore-address-here>/store/apps/details?id=com.zoodles.kidmode) But the home key will still get them out of the app - it does give them a dialogue first though.
It's been annoying me so much. I just got the Redmi Note 4. I've been installing new apps. I'd installed Messenger first and I'd activated pop-up windows for messenger so that I could get chat heads.
Now every time I install a new app and it asks for permissions, I can't allow (but I can deny) the permissions until and unless I close the chat heads.
Anyone know a way around it? AND, yes, I do need the chat heads. I wanna be able to use chat heads and simultaneously allow permissions too.
Thank you.
Hi,
What ROM are you running, can you post an about phone screenshot here.
Sent from my Redmi Note 4 using Tapatalk
You cant. Its a measure by Google, to prevent malicious applications from drawing an overlay and enabling permissions by itself.
Wilderone said:
Hi,
What ROM are you running, can you post an about phone screenshot here.
Sent from my Redmi Note 4 using Tapatalk
Click to expand...
Click to collapse
Yeah.
Sorry for the late reply. Here.
I have the same problem too. It's something to do with downloaded apps that have the screen overlay pop-up permission.
You have to check out which of your downloaded apps are giving you the problem.
Simply better and quick fix: Whenever you end up in the permission manager inside any app, just switch to settings, installed apps and go to the app that needs permission. On that app page, you have the APP PERMISSIONS option. Open that and enable or disable whatever permissions you want.
Hope that should be of help!
Hello. I have an Android lock app application, I need help preventing its uninstall. I've already placed a device administrator's permission on it, and it can't be removed, but when you get into device management apps, the manager can be disabled and removed.
All I need if you can, little thing, is to pop the "lock" activity of the application as soon as you try to turn off the app's device management, and then it won't be uninstallable.
Can someone do this for me?
I will pay for him kindly for this little task.
Please contact with me.
[email protected] said:
Hello. I have an Android lock app application, I need help preventing its uninstall. I've already placed a device administrator's permission on it, and it can't be removed, but when you get into device management apps, the manager can be disabled and removed.
All I need if you can, little thing, is to pop the "lock" activity of the application as soon as you try to turn off the app's device management, and then it won't be uninstallable.
Can someone do this for me?
I will pay for him kindly for this little task.
Please contact with me.
Click to expand...
Click to collapse
Hello, I assume application is yours. You cannot do pretty much, normally the apps which have administrative permissions cannot be uninstalled without revoking administrative permission. But if you want to make an app uninstallable you should convert it to system app. That can be done with root.
Sent from my Redmi Note 8 Pro using Tapatalk
Paget96 said:
Hello, I assume application is yours. You cannot do pretty much, normally the apps which have administrative permissions cannot be uninstalled without revoking administrative permission. But if you want to make an app uninstallable you should convert it to system app. That can be done with root.
Sent from my Redmi Note 8 Pro using Tapatalk
Click to expand...
Click to collapse
Of course it can be done.
Like any parental control app.
When someone tries to access the device adminstration settings it locks the screen or pop ups a "lock pattern" activity, and if you don't enter the password you can't disable it's admin device management.
I don't know how to do so. Any help?
[email protected] said:
Of course it can be done.
Like any parental control app.
When someone tries to access the device adminstration settings it locks the screen or pop ups a "lock pattern" activity, and if you don't enter the password you can't disable it's admin device management.
I don't know how to do so. Any help?
Click to expand...
Click to collapse
Oh, sorry for misunderstood, well, you can create a receiver with onDisableRequired
Here is an example
https://stackoverflow.com/q/19856344/6302432
You can take a onDisable to create a overlay with password or pattern protection (needed permission to draw over another apps).
Sent from my Redmi Note 8 Pro using Tapatalk
Paget96 said:
Oh, sorry for misunderstood, well, you can create a receiver with onDisableRequired
Here is an example
https://stackoverflow.com/q/19856344/6302432
You can take a onDisable to create a overlay with password or pattern protection (needed permission to draw over another apps).
Sent from my Redmi Note 8 Pro using Tapatalk
Click to expand...
Click to collapse
I already know about onDisable and onDisableRequested functions.
I explain my problem, I have only the apk and not the source.
This applocker is not mine, I just edited it and added it some design and translations with APK Editor Pro.
Now that I have the apk of the applock, and I can see that there is "lock" activity that if you call it , the lock screen will pop-up,
maybe someone know how to edit it or tell me what to add to the apk file so when you try to deactivate device admin then the lock activity will be called?