IOS
From APIDesign
(→JavaFX for iOS) |
|||
Line 1: | Line 1: | ||
- | [[Apple]]'s | + | [[Apple]]'s restricted (compared to [[wikipedia:OS_X|OS X]]) operating system is called [[wikipedia:IOS|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 [[wikipedia:OS_X|OS X]], but can't in [[wikipedia:IOS|iOS]]. At the end I concluded that it is impossible: seems like [[wikipedia:IOS|iOS]] is just crippled too much! |
== JavaFX for [[iOS]] == | == JavaFX for [[iOS]] == |
Revision as of 12:30, 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!
JavaFX for iOS
Anyway 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 create a new project:
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):
Now an iOS deployment package is being prepared (which make take a bit of time), but after few minutes you should see a real JavaFX application in a selected emulator:
All of this is possible because of alternative Java VM called RoboVM. Enjoy Java on iOS and support emerging VMs like Bck2Brwsr!