保留同一应用程序的 Android 和 iPhone 版本的最佳策略是什么
我必须为 android 和 iphone 构建相同的应用程序。 我尝试了 rhodes,这很棒,但是缺少一些本机 ui 功能...
我想知道,是否有策略、sdk、框架或用于构建 android 和 iphone 的本机应用程序的东西,以某种方式减少返工? 或者其他框架的任何建议,比如 rhodes...
谢谢
I'm must build the same application for android and iphone.
I tryed rhodes, that is great, but some native ui features are missing...
I would like to know, is there a strategy, sdk, framework, or something for building native applications for android and iphone that somehow reduce the rework?
Or any suggestion of other framework, like rhodes...
Thanks
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(5)
Phone Gap 就是您的最佳选择。您应该看看这个 http://www.phonegap.com/about
Phone Gap is the place for you. You should have a look at this http://www.phonegap.com/about
Appcelerator Titanium
http://www.appcelerator.com/products/titanium-mobile-应用程序开发/
Appcelerator Titanium
http://www.appcelerator.com/products/titanium-mobile-application-development/
文档,文档,文档!
制定一份写得很好的 PDR 并坚持下去。
还有另一种方法是使用同时生成两者的工具,例如: phonegap 或 corona SDK。
Documentation, Documentation, Documentation!
Have a well written PDR and stick to it.
there is another approach which is to use a tool that generates both simultaneously like: phonegap or corona SDK.
设计时考虑到一定程度的分辨率独立性。尝试尽可能多地使用 HTML 而不是本机控件进行适当的编码。并包装常见的 API 调用,这样您就可以更改 1 个方法,而不是到处进行 100 个不同的调用。
Design for some level of resolution independence. Try to code as much as you appropriately can in HTML rather than native controls. And wrap common API calls so you have 1 method to change rather than 100 different calls all over the place.
您可以考虑使用 monotouch 和 monodroid。
您可能还想了解在 Monodroid 应用中重用 Monotouch 代码
You could consider using monotouch and monodroid.
You may also want to see Reusing Monotouch code in Monodroid app