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.
Related
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.
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.
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
We have made some changes in the "skia" library of Android OS (Froyo) and it works well in emulator.
It also worked when we pushed (replaced) the corresponding .so files in to a device.
Now we want to provide this service to the end users. Is it possible to make an application(apk) that people install to perform this task?
If not possible, then what is the best way we can provide the service to others?
If you have created a useful functionality that will be useful for a range of users you can submit your patch to Google code review (you can read how to do this here)
You cannot, unfortunately, unless
you are the device manufacturer (or Google)
you are developing a replacement system image, or target only rooted devices
I believe this would only be possible if the app has root access or you distributed a ROM to your users yourselves.
I'm looking for any way to check for Android OS updates from within custom Android app.
The app should be able to get info if new version is available and, if so, show appropriate message. This should work on phones provided by many manufacturers. Is there any API method or a web service which can be queried about this?
I know this feature is carrier-depended and that's way I'm not sure if it's even possible.
Thanks in advance.
There is no way to do this. Your app is sandboxed and can't access that kind of information and there is no API from the carrier's end.