开发主要在多种设备(Android 和 iPhone)上运行的移动应用程序的最佳方法是什么?
开发主要在多种设备(Android 和 iPhone)上运行的移动应用程序的最佳方法是什么?
1)使用android框架和iOS框架。
2)或者使用跨平台开发库,例如(例如AirPlay SDK)。
3)或者还有您喜欢的其他方式。
请随时给我您的建议。
编辑:我忘了说,这将是一款需要大量二维图形的游戏。
What is the best way to develop a mobile application that run on multiple devices mainly (android and iPhone)?
1) Use android frame work and iOS framework.
2) Or use a cross platform development library something like (AirPlay SDK for example).
3) Or there is other way else you prefer.
Please feel free to give me your suggestions.
Edit: I forgot to say, it'll be a game which require a lot of 2-D graphics.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(6)
Appcelerator Titanium 是一种解决方案。您用 Javascript/CSS 编写应用程序,并通过 shim 编译为 Android 和 iOS。
http://www.appcelerator.com/
Appcelerator Titanium is a solution. You write your app in Javascript/CSS and it compiles to Android and iOS via shims.
http://www.appcelerator.com/
如果您想部署到多个平台,PhoneGap 也是一个不错的选择。
PhoneGap is also a good choice if you want to deploy to multiple platforms.
根据应用程序的不同,我会重点关注 HTML5 与 jQuery Mobile 等技术的结合。除非您的应用程序需要设备上更多复杂的资源,否则这种跨平台方法可能是合适的
Depending on the application, I'd take a strong look at HTML5 combined with something like jQuery Mobile. Unless your application requires more of the sophisticated resources on the device, this cross platform approach may be appropriate
如果是游戏,您应该考虑 Shiva3D 和 统一。
If it's a game you should consider Shiva3D and Unity.
我总是创建两个应用程序,并尝试使它们尽可能平等,但始终使用所需的所有设备功能。
I always create two aplications, and i try to make them the most equal possible but using always all device functions needed.
用 C++ 编写通用代码,两个平台都支持它。对于平台相关代码,您可以创建一个具有两种不同实现的接口
write your common code in C++, both platforms support it. for platform dependent code you can create one interface with two different implementation