Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

MDM workflow in Android

Tags:

Can any one help me out how to do MDM Integration in Android from client and server prespective?

I want to do an enterprise application which having lock and wipe functionality. I have no any clue of workflow of MDM in Android.

Thanks.

like image 549
Android Learner Avatar asked Mar 07 '12 09:03

Android Learner


People also ask

How does MDM work on Android?

An Android MDM solution is a mobile device management software or tool that simplifies Android device management by enabling IT admins to enroll, manage, control and secure corporate and personally-owned Android devices from a unified console.

What is an MDM procedure?

Master data management (MDM) is a process that creates a uniform set of data on customers, products, suppliers and other business entities from different IT systems.

What is the MDM in mobile device?

Mobile device management generates a centralized plan for managing multiple device types with varying operating systems such as iOS, Windows, Android, tvOS, Chrome OS, and macOS. Centralized management makes it easier to deploy MDM solutions in the cloud.


1 Answers

Android Device Admin API will do both things what you want to do (lock/wipe device and even more). An example is given and also you can find this complete source code in your Android SDK directory.

Now as client server perspective:

You have to implement your task (lock and wipe) in your android application (in client, i.e. known as agent). Now your application should be capable to communicate with your server or vice-verse.

I am 100% agree with adamk as he said "Remote controlling your application remains exclusively your responsibility - the Android framework does not provide (or enforce) any solution for that."

And Android gives your this feature too, as adamk said to use C2DM, he was right but now C2DM is deprecated, and GCM has been introduced, “a service that helps developers send data from servers to their Android applications on Android devices.” The service can send a message of up to 4 kb to an application on an Android device, most often to tell the application to retrieve a larger set of data. GCM will now handle all queueing and delivery for messages to Android applications.

You should read how to use GCM, and you can find sample code too. Download GCM Android Library from SDK Manager enter image description here and check android-sdk/extras/google/GCM directory

After establishing successful communication between your agent and server, evaluate msg in agent sent by server and perform desire action (lock/ wipe). This is again up to you how you define your message payload and how you handle those payloads in agent application.

Here is an article about Android MDM.

Happy Coding :)

like image 97
Pankaj Kumar Avatar answered Nov 23 '22 06:11

Pankaj Kumar