是否可以在iOS,Android或Windows Phone 8上运行JavaFX应用程序? [英] Is it possible to run JavaFX applications on iOS, Android or Windows Phone 8?

查看:438
本文介绍了是否可以在iOS,Android或Windows Phone 8上运行JavaFX应用程序?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

可以使用JavaFX开发整个应用程序并在iOS,Android或Windows Phone 8上运行它,而无需编写特定于平台的代码吗?

Can one develop an entire application using JavaFX and run it on iOS, Android or Windows Phone 8, without writing platform-specific code?

推荐答案

背景



Invariant的回答是个不错的选择2014年初,嵌入式和移动设备上的所有内容如何开始以及JavaFX的状态是什么。但是, 很多 从那时起发生了变化,并且发现了绊倒的用户这个帖子没有得到更新的信息。

Background

Invariant's answer is a good resource for how everything was started and what was the state of JavaFX on embedded and mobile in beginning of 2014. But, a lot has changed since then and the users who stumble on this thread do not get the updated information.

我的大部分积分都与Invariant的答案有关,所以我建议先通过它。

Most of my points are related to Invariant's answer, so I would suggest to go through it first.

首先出现一些坏消息:

  • RoboVM is dead
  • Oracle killed JavaFX on Embedded Devices

现在,一些好消息:

  • JavaFX still runs on Android, iOS and most of the Embedded devices
  • JavaFXPorts SDK for android, iOS and embedded devices can be downloaded from here
  • JavaFXPorts project is still thriving and it is easier than ever to run JavaFX on mobile devices, all thanks to the IDE plugins that is built on top of these SDKs and gets you started in a few minutes without the hassle of installing any SDK
  • JavaFX 3D is now supported on mobile devices
  • GluonVM to replace RoboVM enabling Java 9 support for mobile developers. Yes, you heard it right.
  • Mobile Project has been launched by Oracle to support JDK on all major mobile platforms. It should support JavaFX as well ;)

如果您不是DIY类型,我建议您在自己喜欢的IDE上安装IDE插件并开始使用。

If you are not the DIY kind, I would suggest to install the IDE plugin on your favourite IDE and get started.

关于如何入门的大部分文档都可以找到此处,可以找到一些样本此处

Most of the documentation on how to get started can be found here and some of the samples can be found here.

这篇关于是否可以在iOS,Android或Windows Phone 8上运行JavaFX应用程序?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆