开发者

Is it possible to deploy an app that I coded for Android to iOS?

开发者 https://www.devze.com 2023-04-09 19:58 出处:网络
I\'m using Eclipse to build my Android app using XML and JavaScript. Is it possible to deploy it to the A开发者_如何学运维pp store without rewriting all the code?If you have coded your app to be subst

I'm using Eclipse to build my Android app using XML and JavaScript. Is it possible to deploy it to the A开发者_如何学运维pp store without rewriting all the code?


If you have coded your app to be substantially made up of a webview, then you can transfer all that part of the code over by several methods - the one that I think would be easiest would be phonegap.

In the future, you can think about using Titanium Studio which allows you to code in Javascript (and a tiny bit of XML for configuration) and compiles to native code for both Android and iOS - so has native performance.


If you written your app in something like Sencha or PhoneGap - then you can run that code on every platform these frameworks support. But it's in Java (not JavaScript), then there's no way run it on iOS I'm afraid.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号