摘要:
This invention provides a method and system for developing a software application program with user interfaces that make resource files external to the other compiled executable files such that the information from the resource file may be obtained at runtime as needed without the need for compilation. The external resource file may be edited at runtime to allow designers to modify the application's interface without having to depend on developers implement changes in the interface. This is achieved by providing resources in a markup language and routines that locate and parse the markup language text on the fly as an application executes. Compartmentalization of the effort in developing and porting an application is facilitated for protection of source code and better management of designers and developers working on different aspects of a software application due to the externalization of the resource files needed primarily by the designers.
摘要:
Methods and systems for building context-based user interfaces are provided. According to the present invention, a contextual engine residing on a host computer system provides a user interface based on a predefined set of user interface (UI) elements that are selected on the basis of a set of prescribed conditions being satisfied. The computer system includes a data store having a plurality of contexts, wherein each context is defined by a set of prescribed conditions and is associated with a predefined set of UI elements. The contextual engine determines, for each context, whether the set of prescribed conditions that defines the context is satisfied, and, if so, provides a user interface based on the predefined set of UI elements associated with the context. The contextual engine provides the user interface by identifying for an application program residing on the host computer system, the predefined set of UI elements associated with the context. The application builds the user interface based on the predefined set of UI elements associated with the context. The contextual engine continues running in the background on the host computer system and dynamically updates the user interface as long as the user is logged onto the host computer system.
摘要:
Dynamic data caching for object-oriented environments. In one embodiment, a system having a container and external objects, the container having a data object, a data cache object, internal objects and a controller object. The data object has static properties. The data cache object provides for access to the data object, and temporarily stores dynamic properties for the data object. The controller object provides for access to the data cache object.
摘要:
Described is a method and system for providing timed profile changes to a mobile device. The mobile device initiates a timed profile change in response to the user or an event associated with the mobile device. The mobile device monitors the profile period and provides a user with information regarding the length of the profile period remaining, as well as other information. When the period of the selected timed profile expires, the mobile device returns to a previous profile associated with the mobile device.
摘要:
A method and system is provided for allowing designers, who are primarily concerned with the look and feel of the program, to modify the dialogs in an application being developed without having to rely on the developers to generate executable code in each iteration. Intelligent defaults for parameters that are either not specified in a resource definition or governed by a common style specification are provided to facilitate switching from one dialog element to another without requiring that all of the parameters be specified again.
摘要:
Described is a method and system for initiating configuration of a modem connected to a mobile device. The system and method provide a mechanism for guiding a user through the setup process in order to simplify the user's connectivity to a network using the modem. In one embodiment, the mechanism monitors for when a modem is connected to the mobile device. When a modem is connected for the first time, the mobile device launches a wizard utility that directs the user's configuration of the connected modem. The user is able to choose from performing an initial configuration of the modem, or migrating settings of a previously connected modem to establish the connected modem's settings. Thus, the user is guided through the configuration process, increasing the discoverability of the modem and simplifying its setup for the user.
摘要:
Described is a method and system for providing timed profile changes to a mobile device. The mobile device initiates a timed profile change in response to the user or an event associated with the mobile device. The mobile device monitors the profile period and provides a user with information regarding the length of the profile period remaining, as well as other information. When the period of the selected timed profile expires, the mobile device returns to a previous profile associated with the mobile device.
摘要:
Property linking for object-oriented computing environments. In one embodiment, a computer-implemented method including first linking a second property of a second object to a first property of a first object, according to a predetermined criteria. When an event occurs regarding a change in the first property, the change is examined in relation to the predetermined criteria, to determine whether the change in this property necessitates a change in the second property. If it does, then the second property is changed in accordance with the predetermined criteria.
摘要:
A method includes parsing a text source document to construct a document node tree such that the document node tree includes text offsets indicating the location of the text within the text source document corresponding to each node of the document node tree. The method includes constructing, from the document node tree, a Document Object Model (DOM) and a view node tree that represents the DOM. The constructing of the view node tree includes mapping the view node tree to the document node tree. The method includes providing a running representation of the DOM such that DOM elements of the DOM are linked to the text within the text source document corresponding to the DOM elements via the view node tree and the document node tree.
摘要:
A voice-activated user interface for an application is described. The voice activated user interface invokes a speech recognition component to recognize audio input from a user. If the audio input is a command, then a validation component is invoked to determine whether to validate the command prior to execution.