摘要 |
<p>Disclosed is a method for skin-changing for a third-party application, comprising: establishing a resource file packet of a third-party application, the packet comprising a resource file ID, a resource file storage path and a mapping relation between the latter two; establishing a subject file packet based on the directory structure in the resource file packet, the subject file packet comprising a resource file for presentation to be changed; when a user interface needs to be generated, the third-party application sending the ID of the resource file to be presented to an operating system; the operating system obtaining a corresponding resource file storage path from the resource file packet according to the resource file ID; and obtaining the changed resource file for presentation from the subject file packet; then sending the changed resource file for presentation to the third-party application and the third-party application using the changed resource file for presentation to perform skin-changing presentation. The technical solution of the present invention enables unlimited provision of a resource file and enriched presentation effects of applications.</p> |
申请人 |
BEIJING XIAOMI TECHNOLOGY CO.,LTD;LI, WEIXING;SUN, PENG;LIU, XINYU;WANG, YAHUI;DONG, HONGGUANG;REN, TIAN;XU, FEI;ZHANG, BIN;LIANG, FENG;LI, WANQIANG;HUANG, JIANGJI |
发明人 |
LI, WEIXING;SUN, PENG;LIU, XINYU;WANG, YAHUI;DONG, HONGGUANG;REN, TIAN;XU, FEI;ZHANG, BIN;LIANG, FENG;LI, WANQIANG;HUANG, JIANGJI |