Method to Modify Android Application Life Cycle to Control Its Execution in a Containerized Workspace Environment
AssigneeOracle International Corporation
InventorsMohammad Aamir, Atta Ur Rehman
Life of this patent
Estimating the term…
Abstract
Methods, devices, and systems are described to modify the life cycle of a Google Android® application, in its application manifest file and byte code, such that the execution of the application can be controlled via policies and security governed by a workspace application installed on an Android-based device. Dummy wrapper classes are inserted into the byte code for network and I/O system calls that call security code before calling the original classes.
Claims20
A method of modifying a life cycle of a mobile device app, the method comprising:
- providing an application manifest file and a byte code file, the application manifest file and byte code file corresponding to a computer software application;
- renaming an original method of an application class to a renamed method in the byte code file;
- inserting a wrapper method in the application class in the byte code file, the wrapper method having a name of the original method, the wrapper method configured to call an authentication or encryption method before calling the renamed method;
- modifying, by at least one processor operatively coupled with a memory, a name of an original content provider class to a modified content provider class name in the application manifest file;
- and
- creating a wrapper content provider class in the byte code file, the wrapper content provider class having the modified content provider class name.
A machine-readable non-transitory medium embodying information indicative of instructions for causing one or more machines to perform operations for modifying a life cycle of a mobile device app, the operations comprising:
- providing an application manifest file and a byte code file, the application manifest file and byte code file corresponding to a computer software application;
- renaming an original method of an application class to a renamed method in the byte code file;
- inserting a wrapper method in the application class in the byte code file, the wrapper method having a name of the original method, the wrapper method configured to call an authentication or encryption method before calling the renamed method;
- modifying, by at least one processor operatively coupled with a memory, a name of an original content provider class to a modified content provider class name in the application manifest file;
- and
- creating a wrapper content provider class in the byte code file, the wrapper content provider class having the modified content provider class name.
A computer system for modifying a life cycle of a mobile device app, the system comprising:
- a processor, and
- a memory operatively coupled with the processor, the processor executing instructions from the memory comprising:
- program code for providing an application manifest file and a byte code file, the application manifest file and byte code file corresponding to a computer software application;
- program code for renaming an original method of an application class to a renamed method in the byte code file;
- program code for inserting a wrapper method in the application class in the byte code file, the wrapper method having a name of the original method, the wrapper method configured to call an authentication or encryption method before calling the renamed method;
- program code for modifying a name of an original content provider class to a modified content provider class name in the application manifest file;
- and
- program code for creating a wrapper content provider class in the byte code file, the wrapper content provider class having the modified content provider class name.
Dependencies are inferred from the claim text.