| CPC G06F 8/51 (2013.01) [G06F 8/36 (2013.01); G06F 9/44526 (2013.01)] | 15 Claims |

|
1. A method for porting a first application into a second application performed by an electronic device, wherein the first application corresponds to a third-party development tool and the second application is a sub-application that executes on a social networking platform, the method comprising:
transforming the first application from a first operating mechanism corresponding to the third-party development tool into a second operating mechanism corresponding to the sub-application, wherein the first operating mechanism allows the first application to operate in an offline mode and the second operating mechanism requires that the sub-application operates in an online mode only;
converting a design resource in the transformed first application from a first resource format corresponding to the third-party development tool into a second resource format corresponding to the social networking platform and a code resource in the transformed first application from a first programming language corresponding to the third-party development tool into a second programming language corresponding to the social networking platform, respectively;
exporting the converted design resource and the converted code resource to a development tool of the second application on the social networking platform; and
performing secondary development on the design resource and the code resource in the development tool of the sub-application, to obtain the second application corresponding to the social networking platform.
|