| Android and i OS are currently the main operating systems on the market of smart phones. Android applications typically use J ava language development, and i OS applications often use Objective-C or c ++ language development. Making a mobile terminal application if you want to apply to both platforms, we need to use two different development language, the same logic in the develop ment of two platforms each time. So we will waste a lot of manpower and financial resources, and time. In contrast to the various cross-platform development engine and taking into account the characteristics of the company’s own developers, the authors used the libGDX game engine and Robo VM compiler. Developers can use the Java language to develop a logical part of an application, and then depending on the features of Android or i OS, write the entrance procedures, so as to achieve the effect of cross-platform. This can solve the problem of duplication of effort, human and financial resources in order to save cost and time of development. Meanwhile, since the logic of the program is the same set of code, but also facilitate the maintenance and subsequent development version.The main task of this study is to apply the App Store within "In-App-Purchase", and We Chat friends sharing feature to use lib GDX game engine development of the game, and written in Java games for seamless docking. This article will make the following aspects of technical implementation:1. Through lib GDX game engines and Robo VM compiler let the Android game written in the Java language. And transplantation it to the i OS platform, and can run normally.2. Adding the In-App-Purchase function to the game. Using Apple Purchasing to buy items in game.3. Add the social function in the game with WeChat SDK. When player tapped the "Share" button, he can share a picture to his "Friend Line" of We Chat. WeChat SDK is written by Objective-C language, it wil be accessed to the game what is written by Java.4. Add Operational Tracking Data SDK in the game.After completion of the technical realization of the above aspects of the game submitted and published in the Apple App Store. |