如何将Android应用程序转换为iPhone? [英] How to convert an Android application into iPhone?

查看:141
本文介绍了如何将Android应用程序转换为iPhone?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

嗨....

我在android中开发了一个应用程序。我想在iPhone上使用相同的应用程序。有没有方法将这个Android应用程序转换为iPhone应用程序?否则我必须单独开发它。

谢谢......

Hi....
I developed an application in android. I want the same application on iPhone. Is there any methods to convert this android application into iPhone application? Otherwise I have to develop it separately.
Thank you...

推荐答案

Android通常用java语言构建,在你在ObjectiveC上编码的IPhone上。显然这些是完全不同的实体,所以你不能在它们之间共享代码和逻辑。



你可以研究像MonoDroid这样的通用解决方案,MonoTouch共享.net风格编码,或者你可以像HTML5风格的跨平台解决方案一样走向phonegap。
Android is usually built with the java like language, on the IPhone you do your coding in ObjectiveC. Obviously these are completely different entities, so you cannot share code and logic between them.

You can look into "generic" solutions like MonoDroid, MonoTouch which share .net style coding, or you can go towards "phonegap" like HTML5 style cross platform solutions.


你可以看到MonoDroid ..然后看看那些..

< a href =http://stackoverflow.com/questions/5296545/is-there-an-easy-way-to-convert-android-application-to-ipad-iphone> http://stackoverflow.com/questions / 5296545 / is-a-easy-way-to-convert-android-application-to-ipad-iphone [ ^ ]

http://geeknizer.com/run-android-apps-on-iphone/ [ ^ ]

http:// www .blackhatworld.com / blackhat-seo / mobile-marketing / 364524-possible-convert-android-iphone.html [ ^ ]
You can see MonoDroid..then have a look those..
http://stackoverflow.com/questions/5296545/is-there-an-easy-way-to-convert-android-application-to-ipad-iphone[^]
http://geeknizer.com/run-android-apps-on-iphone/[^]
http://www.blackhatworld.com/blackhat-seo/mobile-marketing/364524-possible-convert-android-iphone.html[^]


没有Java的直接转换到Objective-C或Swift。你需要从头开始编写它的大部分内容。由于您的基于XML的视图无法转换为Storyboard或XIB,因此您还需要重写UI视图。
There is no direct conversion from Java to Objective-C or Swift. You need to write it from the scratch for most part of it. As your XML based views can't be converted to storyboard or XIBs you need to rewrite your UI Views also.


这篇关于如何将Android应用程序转换为iPhone?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆