APK with no Uinstall option - Android Q&A, Help & Troubleshooting

i want to develop an application for Android Devices but there are no possible for users to remove it from phone unless a password is used?
is that even possible?

Please use the Q&A Forum for questions &
Read the Forum Rules Ref Posting
Moving to Q&A

Apps installed to /system/ can't be uninstalled I don't think, but you can I believe only move an app to /system/ on rooted phones, and I don't believe you could do it to the currently running app (i.e. an app couldn't move itself to /system/). EDIT: Of course, on rooted phones, the app could also be removed easily by any number of root tools.
I think also if an app has a service installed, it can't be removed without first disabling the service. You would have to have the app install a service, and get the user to enable it. I think this would stop the app being uninstalled unless the user disables the service (which could be done outside the app, so you can't stop it with a password or whatever).
I am not 100% certain on either of these, but I think this is right.
Anyway, presumably the reason there is not a "better" way to do what you want is to prevent hard to remove malware. (Something like what you want couldn't be removed without root if it were possible).

Related

[Q] Is it possible to create a real anti-theft software?

We have tons of Anti-Theft apps in Android market, all of them do more or less the same thing - track and report your lost / stolen phone's location, disable features or lock the phone remotely. All of them are apps running on Android and will not function if the someone manages to flash a new ROM onto the phone.
Is there a possibility to have a real anti-theft software running in our phones? By this it means the software should not be running as an Android app, but may be on a higher level, and it should stay and run all the time irrespective of whatever a stolen phone will possibly undergo. I guess it is nearly impossible to create a software like this, unless and until there is some level of hardware support which can't be easily replaced or tampered with.
Curious to hear from the experts in this section.
I searched the forum for such a question but in vain - Mods, please move/delete this if it has been discussed in some other thread already.
Please use the Q&A Forum for questions Thanks
Moving to Q&A

change dedicated key app?

Is it at all possible to change what app the dedicated camera buttons open?
(hopefully without root)
That won't be possible without root, since it will require admin permissions for something of that depth. I read somewhere around here someone posted an app of this like, check the apps forum I think, not sure.

[Q] permisions [Noob Alert]

Being a Noob to Android I thought I'd install some location based profile software which is one of the things that Android owners always say they can do which is lacking from the iPhone.(where I come from)
Lamma seems to be recommended but the permissions it asks for include:
"Add or modify calendar events and send email to guests without owners' knowledge. read calendar events plus confidential information"
clicking on the detail is even more scary.
Android tells you what it's going to do - but do users actually allow this? Most apps seem to want permissions that you would have to be mad to accept.
Can I not install any useful app without agreeing to terms that are unacceptable?
What am i missing? Do people just allow unrestricted access? Not install any app? or is there a way of installing apps but not giving them stupid access?
I can't believe people allow that sort of access - I must be missing something.
Some custom after market ROMs allow to drop any permission by user but it may render app useless.
Most of the time apps are not malware, but sometimes they may be. You can contact developer of the app requesting for reasons of these permissions and he may reply better.
you can always use auto start manager app within the rom toolbox to control the permissions of the apps..
Confucious said:
Being a Noob to Android I thought I'd install some location based profile software which is one of the things that Android owners always say they can do which is lacking from the iPhone.(where I come from)
Lamma seems to be recommended but the permissions it asks for include:
"Add or modify calendar events and send email to guests without owners' knowledge. read calendar events plus confidential information"
clicking on the detail is even more scary.
Android tells you what it's going to do - but do users actually allow this? Most apps seem to want permissions that you would have to be mad to accept.
Can I not install any useful app without agreeing to terms that are unacceptable?
What am i missing? Do people just allow unrestricted access? Not install any app? or is there a way of installing apps but not giving them stupid access?
I can't believe people allow that sort of access - I must be missing something.
Click to expand...
Click to collapse
You really have to think about what the app could be using the permission for, for example something like tasker pretty much needs every permission going because it allows you to set anything up as a profile etc.
The rule of thumb is to look at the app reviews, look at the permissions and just think about what the app could be using it for.
Sure a soundboard style app shouldnt need to make phone calls but many apps do need permissions that at first glance you might not think are needed.
And if your really in doubt email the developer and ask them to explain why they need this permission.
Surprise :laugh:
http://www.xda-developers.com/android/manage-individual-app-permissions-with-xprivacy/

[Q] making an unremovable app

Hi.
I tried to search but couldn't find any solution for this issue.
I know making a real unremovable app is impossible, but I hope I'll be able to find a way to make an app harder to remove.
I want to make some kind of parental protection app.
it should be installed easily without much technical knowledge ( preferred that it will work on unrooted devices).
the app should be hard to remove or disable by the phone user.
who ever installed the app should be able to remove (probably with a password in the app settings).
I don't care if technical users will be able to easily remove the app.
I also don't care if the users will know that the app is installed on their device
I guess the simplest solution will be to some how hide the app from the app drawer.
I saw some where that Cerberus has that option but I guess it requires a root.
another solution might be if there is an option in the android os itself setting an admin password that will not allow
the user to install or remove any apps without the password.
any ideas if how to approach this ?
This is surely not a complete answer, but maybe a point to start with.
In android, you can write services: http://developer.android.com/reference/android/app/Service.html
A facility for the application to tell the system about something it wants to be doing in the background (even when the user is not directly interacting with the application). This corresponds to calls to Context.startService(), which ask the system to schedule work for the service, to be run until the service or someone else explicitly stop it.
Click to expand...
Click to collapse
And there is a possibility of receiving a message if the uninstaller of an app is started: http://developer.android.com/reference/android/content/Intent.html (ACTION_UNINSTALL_PACKAGE).
Google will probably help you on how to use these things
Thanks I'll have a look
David:D said:
This is surely not a complete answer, but maybe a point to start with.
In android, you can write services: http://developer.android.com/reference/android/app/Service.html
And there is a possibility of receiving a message if the uninstaller of an app is started: http://developer.android.com/reference/android/content/Intent.html (ACTION_UNINSTALL_PACKAGE).
Google will probably help you on how to use these things
Click to expand...
Click to collapse

OnePlus 7 Pro-Restricting access to certain settings/functions?

**If this is posted in the wrong section, my apologies as I very rarely post to this forum and was unsure where to post it.**
If this is already available somewhere, I apologize, but after several days worth of searching, I could not find it.
That said, what I am looking for (and Im not sure that I am wording this correctly) is a system or root level addon or mod that will completely lock or disable the modification of certain settings with a password, i.e. changing/disconnecting from the current wifi, disabling the developer settings (more than just the "off switch"), restricting access for installing or uninstalling apps and their settings, etc. Kind of like the Mobile Device Management in iOS.
I would really prefer not to have to use google policies if that is possible, because last time I tried that I was forced to sign up for a google developer account and even then I had to be part of a business before being able to access any of the "corporate" or "enterprise" software that does what I am asking. Needless to say, I was unable to get those settings to work anyways because I am not part of a business.
I would like to use this on a rooted OnePlus 7 Pro running stock android 10 with the eXposed/EdXposed framework, Magisk, and TWRP.
Thank you,
Fenix

Categories

Resources