Is it possible to develop mobile multiplatform using Java?

Asked

Viewed 1,999 times

4

I am migrating the development of my applications to Java to build native applications for Android. I’d like to expand my apps to other platforms, like iOS and Windows Phone. You can do this with Java?

  • I suggest developing using hybrid platforms, like the Cordova. You can use HTML5, CSS3, and JS to develop your applications and compile them for all 3 platforms. If you don’t mind adopting Angularjs then you can use the Ionic Framework.

  • I’ve thought and use Cordova and Webstorm, but would like to keep the native language on Android. Would there be any other multiplataform development application that would do the same with Java?

  • 1

    Wasn’t java multiplatform from pc to refrigerators? P

  • There is a project to port openjdk to iOS, Android and Windows Phone http://openjdk.java.net/projects/mobile/

3 answers

5


Look here: http://mobile-frameworks-comparison-chart.com/

The moment I searched, I found three frameworks:

  • eMobc
  • Kendo UI
  • Mono for Android

But this is no guarantee that the native language is maintained on Android (will be native, but you will not code directly with the Android API, but with classes provided by the framework, which may even be converted to an intermediate format).

Looking for things like "cross Platform java" I also found these options:

https://www.codenameone.com/

http://www.oracle.com/technetwork/developer-tools/maf/overview/index.html

https://robovm.com/

http://juniversal.org/

  • The search site looks very good, but both seem to contain nothing about Java. :(

  • I’ve included other options I found on Google.

  • Very good, of all the searches I found only paid apps. Thank you for the time and the examples, met my expectations! :)

1

0

Honestly, I don’t think you can take advantage of native Java code to, say, build directly for iOS or Windows Phone. Somehow you will always have to adapt your code to suit some specific system functionality.

What you can do is use frameworks, which will usually be hybrid platforms that use html and js, as people have mentioned. This is the fastest way, and basically the app runs like a web page on the platform (in most of them), only the user opens the app instead of accessing an address.

Another solution would be to use a language that can 'buildar' for other mobile platforms. such as GO, but as mentioned in the article may not be worth it, because it will always have an impact in some way (and it’s not java), non-native interface, or non-native android code, for example. I think C# is going the same way.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.