how to restrict user to uninstall application from android mobile - android

I want to develop an application which will not uninstall from mobile without authentication if there is any solution regarding this feature please give me any solution.
Waiting for reply.

You need to push your apk to /system/app.
To do that you need to root your device.
Just have a look: http://www.addictivetips.com/mobile/how-to-install-any-app-as-system-app-on-android/

You can't do that. If you could it would be a security breach.

Related

Restricting an application to be installed on a rooted device

I have developed a mobile application in PhoneGap. We had a security test on the application and it has flagged that application can be installed on a rooted device and we don't want to allow this. Is there a way to restrict an application to be installed on a jailbreak phone using phonegap
Thanks
The short answer
No, you can't at install time.
The long answer
You can restrict the installation on devices by two ways:
Using the uses-feature meta tag in the manifest. Check out the doc here.
Via the android console, where you can manage restrictions on any model by excluding or including some of them as target for the install of your application.
Since the root is not a feature implemented as part of the device, it is a software restriction, you might accept users to install the application and check it at runtime if the device is rooted. Here is a link on how you can try to do it, but there is not an official way or consistent for all devices as far as I know.

how to ask for admin rights in android?

I do not want to launch with root, just as a common Android app, like other. I want to ask the user nicely and after that have the admin access and protection. Kaspersky is able to do it, so others should be able too.
What are the API calls here?
It is using the Device Administration APIs, you can read about it here:
http://developer.android.com/guide/topics/admin/device-admin.html
You can clone this eclipse project :
https://github.com/pedrolobito/DeviceAdminDemo
It's a fully working Android Device Admin App.

Android - Deleting apps

How can I delete an app in android programmatically without being the device rooted?
It's possible?
No, it is not possible. You cannot uninstall an app directly any more than you can install an app directly.
Android 4.0 (API Level 14) added ACTION_PACKAGE_UNINSTALL, so you can request that the OS uninstall some package, but this will involve user confirmation.
But why you don' t want to root your device ? It has a lot of advantages, and process of rooting is really simple. On web you can find some applications which will root your device and all you have to do is a simple click

App restrict in android MDM

How can I restrict the android application installed in device using the MDM? Guide me to solve the problem? Thanks in advance.
While I'm not sure what the Mass360 app does under the hood, there is a Device Admin API that became available in 2.2.
http://developer.android.com/guide/topics/admin/device-admin.html
You will either need to write your application with Root permissions enabled, which will allow you to control the device a little more, or you will have to do some trickery to register yourself with the device when applications are launched. I am not even sure if the latter is possible, so I would advise you look down the Root path. I am afraid I cannot post any code samples as I have not done this before.

Device Management application in Android 2.2

This is regarding google apps Device Management policy third party application which I got from android market in 2.2 .
I registered an account in Google Apps domain in order to use this account for enabling device management policies. I need to know the process in which remote wipe out feature can be achieved using this application in an enterprise manner. I need to login as an administrator in this application and need to wipe out the user secured data in his device on his request.
Is there a way in which I can achieve this using this 3rd party application?
I will be waiting for reply with the process in which this application can be used in Enterprise scenario.
Thanks in Advance.
If you are looking for device management in an enterprise scenario, you might want to take a look at Oracle Database Lite Mobile Server.
It provides enterprise device management features, including the ability to remotely wipe data on the client. However it does much more than that. It also includes a configurable two-way data sync engine and a management console for provisioning and monitoring devices. You can read more about it, and even try it out here:
http://bit.ly/eJOzhN
Maybe overkill for what you’re trying to do, but if you also need to provision applications and sync data between your devices and a backend database, this could be an ideal solution for you.
Good luck, hope you find a solution that meets your needs.
-- Eric
Your question is not programming related.
Please use:
https://android.stackexchange.com/
for Android superuser type questions.

Categories

Resources