API Recommendation for Android Developers – LibraryGuru

API Recommendation for Android Developers – LibraryGuru

mca projects ideas 2019

mca projects ideas 2019

Developing modern mobile applications often require the uses ofmany libraries specific for the mobile platform, which can be over-whelmingly too many for application developers to find what areneeded for a functionality and where and how to use them properly.This paper presents a tool, named LibraryGuru, to recommend suit-able Android APIs for given functionality descriptions. It not onlyrecommends functional APIs that can be invoked for implementingthe functionality, but also recommends event callback APIs thatare inherent in the Android framework and need to be overrid-den in the application. LibraryGuru internally builds correlationdatabases among various functionality descriptions and AndroidAPIs. https://codeshoppy.com/latest-mca-project-topics-2018.html These correlations are extracted from Android developmenttutorials and SDK documents with domain-specific code parsingand natural language processing techniques adapted for functionalAPIs and event callback APIs separately, and are matched againstfunctionality queries to recommend relevant APIs for developers.

New software developers often need helps in getting familiar withthe library APIs provided for the environment to implement re-quired functionalities. In an event-driven programming framework,such as the Android framework, they need to know not only theAPIs that can be invoked for implementing a functionality, whichwe callfunctional APIs, but also the event callback APIs that aredefined in the framework and can be overridden to customize appli-cation behaviours, which we simply callcallbacks. Functional APIstell developerswhatto do for implementing a functionality, whilecallbacks tellwhereto place the implementation code. Both kinds ofAPIs need be usedin combinationappropriately for implementinga functionality in the Android framework, where control flows orcall relations among the APIs may not be explicit.Based on an empirical analysis of about 1500 questions fromStackOverflow.com that contain the “Android” tag, we noted thatabout 35% (540) of the questions have one or more answer that con-tains callbacks (e.g.,onClick,doInBackgroundetc.), even thoughonly about 50 explicitly ask when or where to implement a func-tionality. We thus realized that new Android programmers seldomhave enough experience to understand the event-driven program ming style in Android and the callbacks related to their tasks; theytend to ask high-level questions and are unlikely to ask callbackseven though implementing their functionality requires them tooverride some callbacks, as implied by the ten times difference be-tween the two set of questions above (540 vs. 50). mca projects ideas 2019 Therefore, wethink recommending the necessary callbacks can be different fromrecommending functional APIs and both are useful for developers.This paper presents a new API recommendation engine for An-droid, named LibraryGuru, that can recommend both (1) functionalAPIs for implementing feature requirements and (2) the callbacksthat are suitable to be overridden to contain the functional code