+ 4

can i use java to create a multi-platform application?

i figure that using android studio will enable me to create applications for android in java. but is there some way that i can use the same codes to work on ios. or is there another framework that can support multi-platform application making using java.

24th Aug 2019, 8:19 PM
Shen Bapiro
Shen Bapiro - avatar
5 Réponses
+ 6
lvl 1 crook I suspected there is a way... Although I don't have any personal experience with this, a quick Google search pulled up the Multi-OS Engine for Java. If this works like the other transpiler solutions like Xamarin with C#, React Native with JS, Flutter with Dart, etc, I'm certain you'll need a machine running MacOS + XCode to build your iOS app. It's also likely that you will still need to write code that targets the respective mobile platform APIs. However, again, I'm not sure how it works in the Multi-OS Engine. This article may be a good place to get started. https://medium.com/@mateusz_bartos/write-ios-apps-in-java-along-with-android-900d6013f83f
24th Aug 2019, 9:34 PM
David Carroll
David Carroll - avatar
+ 4
Sonic Not really. The slogan refers to the ability to write and compile Java on [any] OS and running the same package on [any other] OS supporting the JVM. Not that this changes anything... but, in the past, I've been aware of JVM running on iOS when root access has been unlocked (a.k.a Jailbreaking). The same should be true for installing JVM on Android.
24th Aug 2019, 10:53 PM
David Carroll
David Carroll - avatar
+ 3
If IOS does not support Java Apps, does that kill Java's claim for being Write Once Run Anywhere?
24th Aug 2019, 9:53 PM
Sonic
Sonic - avatar
+ 3
thx for the help Ace & David Carroll :)
25th Aug 2019, 5:45 AM
Shen Bapiro
Shen Bapiro - avatar