File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes JavaFX and the fly likes FX is going mobile Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JavaFX
Bookmark "FX is going mobile" Watch "FX is going mobile" New topic
Author

FX is going mobile

Jay Orsaw
Ranch Hand

Joined: Jun 14, 2011
Posts: 356

https://forums.oracle.com/forums/thread.jspa?threadID=2498122&tstart=0

http://jaxenter.com/open-source-javafx-coming-to-ios-and-android-46214.html

YES FINALLY!!! Mr. Brair and other users asked us to pm him about FX on mobile devices, he wanted to know that it will be worth it....


What I want to know is, does that mean JAVA itself will RUN COMPLETELY on IOS and Android since it's going to be JDK 8 soon?

http://fxexperience.com/2013/02/february-open-source-update/

We’re also going to open source our iOS and Android implementations over the next couple months. We THANK YOU for filling out the survey forms we posted last month, these were of great value. A majority of you said you’d contribute to an iOS / Android port (either via bug reports or direct code contributions) and we’re working hard to be setup so that when the code is opened you’ll be able to start in on it. One aspect of this is fixing up our build / test setup so that it is trivial for people to build and test fixes on JavaFX (including us!). I’ve prioritized fixing the build / test system now so that we will be in a position to accept contributions at a more rapid pace. The first bits and pieces for iOS should be out next week, with the rest of iOS and Android coming out at about the same time as the rest of prism (there is some timing dependency there). Both our ports are based on an as-yet unreleased version of JavaSE Embedded for iOS/Android.

There have been some question about licensing on iOS as Apple doesn’t allow for GPL licensed applications in their app store. OpenJFX and OpenJDK are both licensed with the same GPLv2 with Classpath Extension. My understanding (and I’m not a lawyer) is that this means that if you take OpenJFX + OpenJDK (minus any binary stubs released under a different license), then you can safely combine this with your application and release your application under your own license as a single application co-bundle. You can do the same with the GA release of JavaFX + JavaSE. The difference is that we do not yet have iOS / Android on our official release roadmap, so that for the time being, the only way to use JavaFX on iOS is via OpenJDK / OpenJFX. I can imagine this would make open source guys smile (open source goes where closed source does not!). This is also why we’ve been prioritizing open source so highly for the last little while — when OpenJFX can be built without any binary stubs, then there is nothing stopping you from taking OpenJFX with iOS port + OpenJDK and creating commercial applications that can be sold in the iOS app store.

I am looking forward to seeing what you all will do with this contribution, and hope to be running many Java apps on my phone / iPad in the near future.



According to this there will be a full Java port? SWEET!
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 41863
    
  63
These versions of JavaFX apparently run on something called "Java SE Embedded", which according to the docs is "a large subset of desktop Java SE". The only APIs that are specifically mentioned are AWT and Swing - as not being available. For any other API it's anyone's guess. So, no - desktop Java apps will apparently not generally run on Android.

http://www.oracle.com/technetwork/java/embedded/overview/java-embedded-suite/index.html


Ping & DNS - my free Android networking tools app
Jay Orsaw
Ranch Hand

Joined: Jun 14, 2011
Posts: 356

Ulf Dittmer wrote:These versions of JavaFX apparently run on something called "Java SE Embedded", which according to the docs is "a large subset of desktop Java SE". The only APIs that are specifically mentioned are AWT and Swing - as not being available. For any other API it's anyone's guess. So, no - desktop Java apps will apparently not generally run on Android.

http://www.oracle.com/technetwork/java/embedded/overview/java-embedded-suite/index.html



Well I'm interested in what the "new version" that is unreleased will include, seeing as SE Embedded 7.0 came out in October, just around JavaOne, so we will have to see what's planned. I also thought in the Oracle forum post they were discussing lab tests of Java on iOS and Android, but they didn't specify it was Embedded, I thouhgt it was full Java. Honestly what's the point of FX's port if it wont be able to use GUI. Maybe it's just going to be the GUI we've needed. It's going tobe Open JDK and Open JFX, so I wonder what in Open JDK willl be used/allowed. I'm assuming AWT/Swing are present in there.
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 41863
    
  63
I'm assuming AWT/Swing are present in there.

Why? Since the announcement specifically said "Java SE Embedded" -which does not have AWT and Swing- there's no reason to assume that. But it didn't say "no GUI", as you seem to have read into it - obviously, JavaFX *is* a GUI, and there may be other GUI functionality yet to be revealed.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: FX is going mobile