Method for encapsulating Android service function by using JavaScript

The invention relates to the technical field of computers, in particular to a method for encapsulating an Android service function by using JavaScript. The method comprises the following steps: acquiring Android system interface data and interface requirement data, and performing format conversion o...

Full description

Saved in:
Bibliographic Details
Main Authors YANG ZHANYUAN, TANG HONGCAI, YANG CHUNZHENG
Format Patent
LanguageChinese
English
Published 19.01.2024
Subjects
Online AccessGet full text

Cover

Loading…
More Information
Summary:The invention relates to the technical field of computers, in particular to a method for encapsulating an Android service function by using JavaScript. The method comprises the following steps: acquiring Android system interface data and interface requirement data, and performing format conversion on the Android system interface data according to the interface requirement data to obtain interface format conversion data; performing sub-function relation graph construction on the interface format conversion data to obtain sub-function relation graph data; javaScript feature data are obtained, and depth parameter mapping association is carried out on the sub-function relation graph data according to the JavaScript feature data, so that JavaScript sub-function feature association data are obtained. According to the invention, the compatibility between different versions can be realized, so that the problem of low practicability caused by a single version is avoided. 本发明涉及计算机技术领域,尤其涉及一种使用JavaScript封装安卓服务功能的方法。该方法包
Bibliography:Application Number: CN202311445484