Method and terminal for configuring Android interface through HTML (Hypertext Markup Language)
The invention provides a method and terminal for configuring an Android interface through an HTML (Hypertext Markup Language), and the method comprises the steps: receiving a mapping file which comprises a corresponding relation between the HTML and an Android component; receiving an HTML configurat...
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 method and terminal for configuring an Android interface through an HTML (Hypertext Markup Language), and the method comprises the steps: receiving a mapping file which comprises a corresponding relation between the HTML and an Android component; receiving an HTML configuration file; the HTML configuration file is analyzed according to the mapping file, and a corresponding Android component is generated and displayed; according to the method and the device, through the corresponding relationship between the HTML and the Android component in the mapping file, the HTML configuration file is directly subjected to interface generation in the Android native environment without depending on an additional browser engine such as webkit, so that the running performance is improved, and the efficiency in the development and display process is improved.
本发明提供了一种通过HTML配置安卓界面的方法及终端,接收映射文件,所述映射文件包括HTML与安卓组件的对应关系;接收HTML配置文件;根据所述映射文件解析所述HTML配置文件,生成对应的安卓组件并显示;本发明通过映射文件中HTML与安卓组件之间的对应关系,实现将HTML配置文件在安卓原 |
---|