1. A mobile device comprising: a memory area storing a plurality of applications and computer-executable instructions for managing the plurality of applications; and a processor configured to execute the computer-executable instructions to: store a template associated with an application of the plurality of applications, the template including a plurality of entities that are associated with user interface (UI) elements, the template configured to provide context-sensitive information to user interactions with the associated application at runtime to infer semantics of user activities on the mobile device based on at least one of a navigation through a plurality of pages in the application or an interaction with the UI elements performed during runtime, wherein each UI element includes a name and a list of key-value pairs indicating semantic information of content and syntactical information regarding where the entity appears in the application; receive one or more user interactions with the application based on the template; and determine one or more user interests by comparing the one or more user interactions with the plurality of entities of the template; and initiate a tailored service to a user of the mobile device to provide a user task completion, the tailored service inferred based on the one or more determined user interests.