IOS

From APIDesign

(Difference between revisions)
Jump to: navigation, search
(JavaFX for iOS)
Current revision (15:21, 21 August 2014) (edit) (undo)
 
(13 intermediate revisions not shown.)
Line 1: Line 1:
-
[[Apple]]'s crippled (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!
+
[[Apple]]'s restricted (compared to [[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 [[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! Anyway the story continued...
 +
 
 +
== [[DukeScript]] for [[iOS]] ==
 +
 
 +
The power of [[DukeScript]] has been demonstrated by publishing the [[MineSweeper]] game on [[AppStore]].
 +
 
 +
I know the next section will advocate using [[JavaFX]], due to recent developments, I would advice everyone to give up on [[JavaFX]] and rather use [[DukeScriptInNetBeans]]. The resulting application is going to be smaller and even more portable.
== JavaFX for [[iOS]] ==
== 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 [http://plugins.netbeans.org/plugin/52156/?show=true NetBeans plugin]. Here is a little how-to. After [http://plugins.netbeans.org/plugin/52156/?show=true downloading] create a new project:
+
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 [http://plugins.netbeans.org/plugin/52156/ NetBeans plugin]. Here is a little how-to. After [http://plugins.netbeans.org/plugin/52156/ downloading] and installing create a new project:
[[Image:Ios-1.png]]
[[Image:Ios-1.png]]
Line 11: Line 17:
[[Image:Ios-2.png]]
[[Image:Ios-2.png]]
-
Now an [[iOS]] deployment package is being prepared (which make take a time), but after few minutes you should see a real [[JavaFX]] application in a selected emulator:
+
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:
-
[[TBD]]
+
[[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]] to new devices and [[environment]]s. Help [[Java]] prove its [[WORA]] story is still valid!

Current revision

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...

DukeScript for iOS

The power of DukeScript has been demonstrated by publishing the MineSweeper game on AppStore.

I know the next section will advocate using JavaFX, due to recent developments, I would advice everyone to give up on JavaFX and rather use DukeScriptInNetBeans. The resulting application is going to be smaller and even more portable.

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 to new devices and environments. Help Java prove its WORA story is still valid!

Personal tools
buy