摘要:
A method for extending a script language in a runtime environment of a data processing system to support an application, the runtime environment having a script language interpreter, the method comprising: subclassing a predetermined object defined by the script language to create a subclassed object, the predetermined object having an original method, the subclassed object having a respective replacement method for supporting the application; dynamically registering a symbol corresponding to the subclassed object; detecting the subclassed object in the application with the script language interpreter; and, executing the replacement method with the script language interpreter.
摘要:
A system and method is provided having an execution environment of an intelligent runtime device framework for generating user interface elements on a user interface (UI), declared on the device. The proposed method allows user interface definitions through XML metadata UI definitions (or other structured definition language schema) instead of requiring an implementation of the screen elements in executable code for the application. The UI definitions are stored in a common UI repository as a common resource of the applications on the device and is processed at runtime. The UI definitions are independent from the target platform of the device. The “look and feel” of all the applications on the device can be customized and branded as required. Defining layout and ordering of UI elements separately from the applications logic offers modularization of the applications. Such modularization allows reuse of already defined UI screens and sharing them between different applications. The system has a themes and branding repository, a UI repository, a visualization engine, an execution environment, and a UI service. The method includes steps of parsing the XML definitions, applying theme and branding characteristics, providing a screen model to the execution environment, visualizing the user interface, and event handling.
摘要:
A Repetitive Layout scheme is provided that operates on a collection of data objects, such that each data object accords to the same data object definition (data model) expressed in a structured definition language. The Repetitive Layout consists of one UI section repeated for every object in the collection. Each UI section is composed of a set of UI controls or sub-layouts. The UI controls in each section are associated with the data fields of the corresponding data object. A user of a wireless application interacting with the data objects can select UI sections and edit the controls within them via the user interface of the wireless device executing the application. Any modifications are propagated to the data objects mapped to the respective UI sections. Similarly, all modifications (driven by the application logic or incoming server messages) to the data objects are reflected in the UI section mapped to these objects. The generation and application of the repetitive layout scheme can include the steps: dynamic data entity generation (Data Composer stage); determining the collection of data objects that need to be presented by the user interface (Rules Engine stage); sorting the collection of data objects (Sorting Processor stage); generating the UI Layout (Layout Generator stage); propagating UI changes back to the Data Model having the definitions of the data objects (Data Dispatcher stage); propagating data changes to the Repetitive Layout; and propagating changes to nodes of the data model.
摘要:
Many web services require different application programs to access their data. Further, as new web services are developed, they may not be compatible with current application programs. Methods and servers are presented for dynamically generating an application program for interaction with a service, the service interacting with a terminal via a network. One exemplary method comprises obtaining schema definitions of the service, the service interacts with the application executed on a terminal via a network and parsing the schema definition. A plurality of interface element definitions from the parsed schema definition is generated. An application template using the plurality of interface element definitions is assembled and customized. The application is generated using the application template.
摘要:
A device runtime environment is provided for execution on a computing device. The device runtime environment provides an intelligent container for an application at runtime and comprises a plurality of services in communication with each other. The plurality of services a data manager, a screen manager, a communication service and a script interpreter. The data manager manages data components of the application including manipulation and persistence in a database of the data components. The screen manager managing screen components of the application and renders an output for display on a screen of the computing device. The communication service sends messages to external resources and receives and manages messages sent from external resources in accordance with corresponding message components.
摘要:
The inclusion of metadata within an application description file allows a virtual machine to create an application descriptor file that may be registered with the mobile device operating system so that an icon associated with the application description file may be displayed in the main ribbon. Execution of an application defined by the application definition file may then be initiated by the selection, by the user, of the icon that is associated with the application definition file. This improves over the situation wherein execution of the application defined by the application definition file would require a selection of the runtime environment for the application and then the selection of the application.
摘要:
The inclusion of metadata within an application description file allows a virtual machine to create an application descriptor file that may be registered with the mobile device operating system so that an icon associated with the application description file may be displayed in the main ribbon. Execution of an application defined by the application definition file may then be initiated by the selection, by the user, of the icon that is associated with the application definition file. This improves over the situation wherein execution of the application defined by the application definition file would require a selection of the runtime environment for the application and then the selection of the application.
摘要:
The inclusion of metadata within an application description file allows a virtual machine to create an application descriptor file that may be registered with the mobile device operating system so that an icon associated with the application description file may be displayed in the main ribbon. Execution of an application defined by the application definition file may then be initiated by the selection, by the user, of the icon that is associated with the application definition file. This improves over the situation wherein execution of the application defined by the application definition file would require a selection of the runtime environment for the application and then the selection of the application.
摘要:
A computing device, method and computer program product provide for dynamically activating a domain specific plug-in for operation with a Web browser. A mapping is defined that provides an association between the plug-in and at least part of each website with which the plug-in is to operate, with the mapping comprising a respective domain name for each website. The plug-in is activated for operation, in accordance with the mapping, only when a current domain that is active with the Web browser is associated with the plug-in. The mapping may comprise a domain filter comprising a URL expression. Plug-ins that are domain specific may be made accessible only when a user is actively using the domain, allowing the user to use one or more plug-ins simultaneously without unnecessarily sacrificing screen space and/or bandwidth used by the plug-in.
摘要:
An improved handheld electronic device in conjunction with an improved holder for the handheld electronic device together form an improved electronic device. The handheld electronic device includes a first battery, and the holder includes a second battery and a charging apparatus. When the handheld electronic device and the holder are electrically connected together, such as when the handheld electronic device is received in a cavity formed in the holder and a plurality of first contacts on the handheld electronic device and a plurality of second contacts on the holder are electrically connected together, the charging apparatus charges the first battery on the handheld electronic device from the second battery on the holder.