'. '

IOS

From APIDesign

(Difference between revisions)
Jump to: navigation, search
(JavaFX for iOS)
(JavaFX for iOS)
Line 15: Line 15:
[[Image:Ios-3.png]]
[[Image:Ios-3.png]]
-
All of this is possible because of alternative [[Java]] [[VM]] called [[RoboVM]]. Enjoy [[Java]] on [[iOS]] and support emerging [[VM]]s like [[Bck2Brwsr]]!
+
All of this is possible because of alternative [[Java]] [[VM]] called [[RoboVM]]. Enjoy [[Java]] on [[iOS]] and support emerging [[VM]]s like [[Bck2Brwsr]] that bring your [[Java|favourite language]] on new devices. Help [[Java]] prove its [[WORA]] story is still valid!

Revision as of 12:34, 10 December 2013

Apple's restricted (compared to OS X) operating system is called iOS. In July 2013 I've spend many hours with debugger trying to find out why I can intercept loading of pictures in WebUI on OS X, but can't in iOS. At the end I concluded that it is impossible: seems like iOS is just crippled too much! Anyway the story continued...

JavaFX for iOS

The previous efforts were not completely wasted, at the end we managed to get JavaFX running on iOS and we are offering that as a NetBeans plugin. Here is a little how-to. After downloading and installing create a new project:

Image:Ios-1.png

Then build it. It is a Maven project and as such it starts downloading things from the internet. Be patient. Possibly set your Maven proxies correctly. But once done you should have an ability to deploy to some iOS emulator (if you are running on Mac OS X):

Image:Ios-2.png

Now an iOS deployment package is being prepared (which make take a bit of time as well), but after few minutes you should see a real JavaFX application in a selected emulator:

Image:Ios-3.png

All of this is possible because of alternative Java VM called RoboVM. Enjoy Java on iOS and support emerging VMs like Bck2Brwsr that bring your favourite language on new devices. Help Java prove its WORA story is still valid!

Personal tools
buy