java 使用 Android Studio 和 LibGDX 制作 iOS 应用

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/32533120/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-11-02 20:20:11  来源:igfitidea点击:

Making iOS app using Android Studio and LibGDX

javaandroidios

提问by Jokas Lokas

I want to make an app (not a game) for both Android and iOS. I have used LibGDX to make a game before and I like this because with one Java code it makes the app for both Android and iOS. However, I want to make an app that is not a game for iOS and Android with one Java code. Is my only solution to use the game engine LibGDX to make the app or is there another was I can do this.

我想为 Android 和 iOS 制作一个应用程序(不是游戏)。我以前用 LibGDX 制作过一款游戏,我喜欢这个,因为它用一个 Java 代码制作了适用于 Android 和 iOS 的应用程序。但是,我想用一个 Java 代码制作一个不是 iOS 和 Android 游戏的应用程序。是我使用游戏引擎 LibGDX 制作应用程序的唯一解决方案,还是有其他解决方案我可以做到这一点。

I want to use one code in Java on a windows computer to make the app.

我想在 Windows 计算机上使用 Java 中的一个代码来制作应用程序。

回答by Marlon

Intel has recently introduced INDE Multi-OS Engine early access programm: https://software.intel.com/en-us/intel-inde-multi-os-early-access

Intel 最近推出了 INDE Multi-OS Engine 抢先体验计划:https: //software.intel.com/en-us/intel-inde-multi-os-early-access

It allows to write you app for both Android and iOS in Java. Good technical overview is here: https://software.intel.com/en-us/blogs/2015/07/30/multi-os-engine-of-intel-inde-technical-overview

它允许您使用 Java 为 Android 和 iOS 编写应用程序。好的技术概述在这里:https: //software.intel.com/en-us/blogs/2015/07/30/multi-os-engine-of-intel-inde-technical-overview

enter image description here

在此处输入图片说明

It let's to create Java applications in Android Studio for both iOS and Android platforms with a possibility to share logic between them.

让我们在 Android Studio 中为 iOS 和 Android 平台创建 Java 应用程序,并可以在它们之间共享逻辑。

Also there is a way to develop an app on Windows-host with Mac build server in LAN.

还有一种方法可以在局域网中使用 Mac 构建服务器在 Windows 主机上开发应用程序。

enter image description here

在此处输入图片说明