Develop applications for iOS using Java

1

I'm developing my CBT and it builds on the cross-platform Java concept. But now I ran into a problem Apple's XCode IDE does not understand Java packages.

Is there any tool or extension that allows me to develop my iOS application in Java?

    
asked by anonymous 23.04.2014 / 18:54

4 answers

3

If you want to develop for OSX , which is the Mac system, you can use IDEs such as Eclipse, Netbeans or IntelliJ Idea.

iOS is the iPhone / iPad system and its applications are natively developed in Objective-C language, which is an extension of C.

I do not think iOS supports Java programming (there may even be some framework for this, since for Android it is possible to "program" in Delphi or C # using third-party frameworks (with Delphi XE6 and Xamarin respectively). programming "in quotation marks because not all features can be supported - to exploit all the capabilities of a platform, you have to program using the language and libraries that natively offer these features.)

But even though there is a way to program using Java, it will not be an example of the concept of Java cross-platform as you want, because Delphi for example is not multiplatform and does not run on mobile devices, but it is still possible to "program" for Android (and for iOS) using Delphi (the generated application is not compiled in Delphi but in the native language of the mobile platform; Delphi was only used to generate an intermediate representation of the code).

If you want to represent the multiplatform concept for mobile devices, this is best represented by the use of HTML / CSS / Javascript and some library like PhoneGap, Titanium, etc., which will make your code run almost unchanged with some limitations) on various mobile systems, such as Android, iOS, Windows Phone, BlackBerry, Firefox OS, etc.

Java cross-platform behavior is not well represented on mobile devices except Android, this behavior has been geared more towards allowing write once, run anywhere on desktop systems and servers.

    
23.04.2014 / 19:15
2

In the eyes of Apple , you can only use Xcode on your Mac , developing with Objective-C or Swift . I say this because other than this one, it goes against the principles of the company.

You can find other ways by using HTML 5 , JavaScript and CSS with PhoneGap and generate a hybrid app for iOS , or using C # with Xamarin and even for you, RoboVM with Java .

But as I said, these are not options that Apple recognizes, and depending on your purpose or for publishing purposes in the App Store itself, your app may be rejected. But each case is a case, I can not say with 100% certainty.

    
23.04.2014 / 19:42
0

Can not develop applications for iOS using Java, the official programming language to develop for iOS is Objective-C . Created by Apple .

If you want to use Java I advise you to develop for Android .

    
23.04.2014 / 19:16
0

In this Link there is reference to a plugin called CodeName One free and open-source for eclipse or NetBeans that allows you to develop in java to iOS

site There are several application cases for platforms other than iOS, but not forgetting of what was said by @Piovezan is a fact. Not all standard language features may be available and the result may not be as performative as the native code.

    
23.04.2014 / 21:28