Today's application development process depends heavily on the usage of application programming interfaces (APIs) for many kinds of frameworks. Time spent searching for appropriate API members and understanding their usages tends to occupy much of the time required for the whole development process. This paper proposes a new approach for developing application programs based on APIs in a simple way: through code development by iterating a Search-Select-Superpose (SSS) loop. The approach comprises three phases. In the Search phase, the user searches for a way to implement a desired functionality by combining API calls. The search results are shown to the user as a list of outlines (sets of words) attached to code skeletons. A code skeleton, chosen in the Select phase, is then merged with the program at hand in the Superpose phase. The entire process is implemented through the construction of an indexed dataset composed of code skeletons extracted from open-source repositories, and through the use of a tool to control the SSS loop. We have developed a prototype of the proposed system. In this paper, the design and implementation of the proposed system are described. The effectiveness of the system was confirmed through empirical results from experiments with event-driven Android application development.
scite is a Brooklyn-based organization that helps researchers better discover and understand research articles through Smart Citations–citations that display the context of the citation and describe whether the article provides supporting or contrasting evidence. scite is used by students and researchers from around the world and is funded in part by the National Science Foundation and the National Institute on Drug Abuse of the National Institutes of Health.