Rule-based scene adaptation method for Android
The invention provides a rule-based scene adaptation method for Android. The method comprises following steps: establishing a method-scene mapping relationship on the basis of rules in configuration files; obtaining current scene states during operation so as to search for mapping relationships and...
Gespeichert in:
Hauptverfasser: | , , , , , , , , , , , , |
---|---|
Format: | Patent |
Sprache: | chi ; eng |
Schlagworte: | |
Online-Zugang: | Volltext bestellen |
Tags: |
Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
|
Zusammenfassung: | The invention provides a rule-based scene adaptation method for Android. The method comprises following steps: establishing a method-scene mapping relationship on the basis of rules in configuration files; obtaining current scene states during operation so as to search for mapping relationships and select methods to be executed; therefore, application can be functionally adjusted during operation according to rules so as to be adaptive to current scenes, such as adaptations of electric quantity and network conditions. By means of the rule-based scene adaptation method, applications can be functionally adapted according to current scenes so as to increase the user-friendly and interacting degree; at the same time, the method lightened the burden for development personnel; the code is simple and easy to understand; the method has good maintainability and convenient and flexible debugging and has high practicality.
本发明提供种安卓的基于规则的场景自适应方法,基于配置文件中的规则建立方法-场景映射关系,在运行时获取当前的场景状态,从而查找映射关系选取需要执行的方法,使应用能够根据规则在运行时做出功能上的调整, |
---|