×

Method to modify android application life cycle to control its execution in a containerized workspace environment

  • US 9,344,422 B2
  • Filed: 01/12/2015
  • Issued: 05/17/2016
  • Est. Priority Date: 03/15/2013
  • Status: Active Grant
First Claim
Patent Images

1. 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 a processor, a name of an original content provider class to a modified content provider class name in the application manifest file;

    creating a wrapper content provider class in the byte code file, the wrapper content provider class having the modified content provider class name, the wrapper content provider class configured to check whether the original content provider class is instantiated before forwarding a call to a method of the original content provider class;

    renaming a name of an original method of an activity class to a renamed method of the activity class in the byte code file; and

    inserting a dummy method in the activity class in the byte code file, the dummy method having a name of the original method of the activity class, the dummy method configured to call an authentication or encryption method before calling the renamed method of the activity class.

View all claims
  • 1 Assignment
Timeline View
Assignment View
    ×
    ×