Patent ID: 8650303

Claim:
A method comprising: running, on a mobile device, an application in a first mode, wherein the first mode is a managed mode and is managed by a device manager in accordance with one or more policy files separate from the application and applicable to a plurality of applications; running, on the mobile device, the application in a second mode, wherein the second mode is an unmanaged mode, wherein said application is running in the second mode at a mutually exclusive time from when said application is running in the first mode; receiving a request to store data associated with the application; storing the data according to a first protocol when the application is running in the managed mode and storing the data according to a second protocol when the application is running in the unmanaged mode; receiving a signal from the device manager to disable the managed mode of the application; locating, in response to the received signal, data stored according to the first protocol; and selectively deleting the located data.