A cross-platform mobile application is an application that runs on multiple mobile platforms (Android or iOS platforms). One strategy for developing this kind of mobile applications involves to develop, using platform-related toolkits, a native application for each chosen platform. Several frameworks have been proposed to simplify the development of cross-platform mobile applications and, therefore, to reduce development and maintenance costs. Between them, the cross-compiler mobile development frameworks transform the application's code written in intermediate (aka non-native) language to native code for each platform. However, to our best knowledge, there is no much research about the advantages and disadvantages of the use of cross-compiler frameworks during the development and maintenance phases of mobile applications. This paper aims at contributing with one of the first bricks in that research direction. We study what mobile developers that use cross-compiler frameworks ask about when they develop and maintain cross-platform mobile applications. In particular, we focus on one framework: Xamarin from Microsoft. For that, we first created two datasets of questions and answers (QA) related to the development of mobile applications using Xamarin by mining two QA sites: Xamarin Forum and Stack Overflow. We analyzed and compared the number of questions, views and accepted. Then, we applied LDA on Xamarin-related questions to discover the main topics asked by developers that use Xamarin. Finally, we compared the discovered topics with those topics about mobile development. Our findings show that Xamarin Forum has a larger number of questions than Stack Overflow, however, the latter has more answers per question. Moreover, both sites share most of the main topics, which mainly discuss about user interface (UI), formatting, design and navigation.
翻译:跨平台移动应用程序是一个在多个移动平台上运行的应用程序(Android 或 iOS 平台 ) 。 开发此类移动应用程序的战略之一是,利用平台相关工具包开发每个选定平台的本地应用程序。 已经提出若干框架,以简化跨平台移动应用程序的开发,从而减少开发和维护成本。 相互兼容的移动开发框架将应用程序的代码转换成每个平台的本地代码。 然而,根据我们的最佳知识,对于在移动应用程序开发和维护阶段使用跨组合框架的利弊,没有进行大量研究。 本文旨在与第一个砖块一起,简化跨平台移动应用程序的开发,从而降低开发和维护跨平台移动应用程序的成本。 相互兼容的移动开发框架之间,将应用程序的中间(非本地语言)语言转换成每个平台的本地代码( Xmarin ) 的答案。 我们首先分享了两个有关移动应用程序开发的数据集( QA ), 与 Xamamarin 主选项相比, 最终浏览了我们的主要版本 。