W
W
WannaCreative2016-07-28 12:41:39
Java
WannaCreative, 2016-07-28 12:41:39

Is it possible to "port" an Android project (.java) to IOS and not have to redo it all over again?

Hello.
I am currently working on an Android project in JAVA.
And then the problem arose of how to transfer the same project to IOS in the future and not write it again on SWIFT
Thank you

Answer the question

In order to leave comments, you need to log in

4 answer(s)
D
Denis Zagaevsky, 2016-07-28
@WannaCreative

You can act like Google in gmail. They write in Java and share up to 80% of their code between platforms using j2objc. There is a Java -> Objective-C translation. But such code is quite difficult to write. The translated part must be completely independent of android. Part of the Obj-C/Swift code will have to be written.

A
Artem Gapchenko, 2016-07-28
@artemgapchenko

No way. You either write two projects for different platforms in native languages/frameworks for these platforms, or use cross-platform solutions (PhoneGap/IONIC/Titanium and others like them).
PS Look also at the answer of Denis Zagaevsky, also a good suggestion.

A
aol-nnov, 2016-07-28
@aol-nnov

You can write Qt for android and ios.

N
nico, 2016-09-07
@nico

move as much logic as possible to the server

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question