我有一个多人国际象棋程序,我想知道是否有一种简单的方法可以为它制作一个应用程序。如果我值得在 Eclipse 上使用 Android SDK,我是否必须重新编写整个代码,或者我可以只使用 Java 代码来制作应用程序?
2 回答
It depends on what libraries you're using in your game and their support in Android.
If you use Java for the existing implementation, you'll hopefully, have to write the UI bits, and the erst of the logic should simply work.
If this is a desktop app you're trying to port, you may have performance issues (given you're running on a mobile device now), so there would be some changes necessary.
If you're using any graphics libraries, check their support on Android. Some libraries have a reputation of having issues on Android.
我自己解决了。您只需要插入您的 JS 文件,或者您可以使用您上传的应用程序的 Url。