在跨平台移动开发方面做了哪些工作?
是否有针对 iPhone
、Blackberry
和 Android
的文档齐全或开源项目? 还有其他平台更适合这种努力吗? 请注意,我特别询问的是客户端软件,而不是网络应用程序,尽管有关跨多个移动平台使用网络应用程序的困难的任何信息也很有趣。
Have any well-documented or open source projects targeted iPhone
, Blackberry
, and Android
? Are there other platforms which are better-suited to such an endeavor ?
Note that I am particularly asking about client-side software, not web apps, though any information about the difficulties of using web apps across multiple mobile platforms is also interesting.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(17)
XMLVM (来自 Coke and Code)和 EdgeLib 目前似乎是最成熟的选择。 EdgeLib 主要针对游戏开发者,根据 Coke 和 Code 的说法,XMLVM 开发者很难联系到。
XMLVM (via Coke and Code) and EdgeLib currently seem to be the most mature options. EdgeLib is aimed primarily at game developers, and according to Coke and Code, the XMLVM developers are difficult to contact.
HTML5 标准支持发布独立的 HTML5 应用程序。 本质上,HTML5 应用程序是 HTML5、JavaScript 和 CSS 文件的捆绑包,这些文件将在桌面或设备的浏览器。 您可以像任何其他程序一样分发它们,包括在 iPhone 的 iStore 上销售它们。
目前对此的支持还不完善,但可能会在未来一两年内得到巨大改善。
Google HTML5 应用程序提供信息和资源。 Mark Pilgrim 的在线书籍 “Dive Into HTML5” 很好地介绍了 HTML5 。 这是一项正在进行的工作,但已经足够完整,可以使用。
The HTML5 standard has support for releasing stand-alone HTML5 apps. Essentially a HTML5 app is a bundle of HTML5, JavaScript and CSS files that will run stand-alone in the browser of the desktop or device. You can distribute them like any other program, including selling them on the iStore for the iPhone.
The support for this is patchy at the moment but is likely to improve tremendously in the next year or two.
Google for HTML5 apps for information and resources. A good introduction to HTML5 is the online book "Dive Into HTML5" by Mark Pilgrim. This is a work in progress, but sufficiently complete to be useful.
对于这个问题,有 2 个[新]解决方案:
rhomobile
和
phonegap
There are 2 [newish] solutions to exactly this issue:
rhomobile
and
phonegap
我认为跨平台移动成功的最佳机会是网络。 只需编写一个非常简单的 Web 应用程序即可实现您想要实现的目标。 它应该适用于诺基亚 S60 浏览器、Iphone 和 Android。
已经有很多移动设备了......
I think there best chance for cross-platform mobile success is the Web. Just write a very simple Web application for what you want to achieve. It should work on the Nokia S60browser, Iphone and Android.
That's already a lot of mobile devices...
Appcelerator、PhoneGap(被 Adobe 收购,现在已标准化为 Apache Cordova)、Intel XDK(以前称为 appMobi)和 Rhodes(被 Motorola Solutions 收购)都是开源的并创建混合应用程序(原生包含 html ui,可以添加一些本机控件)。
如果是游戏,您唯一可以用于商业开发的免费引擎的专业选择就是Unity3D。 对于 2D 游戏,cocos2d-x 也可用。 此外,Vuforia 可用于 AR,LiquidFun 可用于物理。
Appcelerator, PhoneGap (acquired by Adobe, plus it's now standardized as Apache Cordova), Intel XDK (formerly called appMobi) and Rhodes (acquired by Motorola Solutions) are all open source and create hybrid apps (natively packed with html ui, with the possibility to add some of your native controls).
If it's a game, your only professional choice for a free engine that can be used for commercial development is Unity3D. For 2D games, cocos2d-x is also available. Additionally, Vuforia can be used for AR and LiquidFun for physics.
red Fivelabs 已为 S60 平台实现了 .Net 紧凑框架
Titanium Mobile 看起来很有趣。 您可以使用 HTML 和 HTML 格式开发您的应用程序。 JavaScript 并上传到他们的服务器,在那里它被编译成目标平台的本机应用程序(当前是 iPhone 和 Android)
redfivelabs have implemented the .Net compact framework for the S60 platform
Titanium Mobile from Appcelerator looks interesting. You develop your app in HTML & Javascript and upload to their server where it is compiled into a native application of the target platform (currently iPhone & Android)
对于 iPhone,目前没有“开源”这样的概念,因为 Apple iPhone SDK NDA 禁止发布代码。 他们还禁止在任何非 Apple 网站甚至非 Apple 讨论论坛上发布有关 iPhone 开发的代码。 一旦 NDA 到期(会永远吗?),我们将开始拥有开源 iPhone 应用程序。
For the iPhone there's currently no such notion as Open Source as the Apple iPhone SDK NDA forbids publishing code. They also forbid posting code on any non-Apple site or even non-Apple discussion forums on iPhone development. As soon as the NDA expires (will it ever?) we'll start having Open Source iPhone apps.
iPhone 使用 Objective C、具有 RIM 功能的 Blackberry Java SE 以及 Android 的另一个自定义版本的 Java。 我可能会看到如何将后两者结合起来,但没有在 iPhone 上运行 Java 应用程序的功能(无需越狱)。
到目前为止,我见过的最好的选择是类似 Qt 的东西,它将在 Windows 上运行CE,几乎肯定很快就会有 Symbian、一些 Java 平台和三大桌面操作系统。
The iPhone uses Objective C, the Blackberry Java SE with RIM functionality and Android another custom version of Java. I could possibly see how you could combine the latter two but there is no functionality (without jailbreaking) of running Java applications on an iPhone.
The best bet I've seen so far is something like Qt that will run on Windows CE, almost certainly shortly Symbian, some Java platforms and the three major desktop OSs.
令人惊讶的是这里还没有提到MoSync。
更新(2014 年 1 月至今):项目 已被放弃。
Suprised MoSync hasn't been mentioned here already.
Update (2014 January - present): the project is abandoned.
我找到了一个用于数据的游戏引擎
MoMinis 游戏可供分发,并受 Android、Blackberry、Symbian 和 J2me 设备支持。 MoMinis 游戏涵盖多种休闲游戏,包括街机、益智、时间管理、策略和大脑训练手机游戏。
mominis
I found one game engine for dat
MoMinis games are available for distribution and are supported on Android, Blackberry, Symbian and J2me devices. MoMinis games include a wide range of casual games – including arcade, puzzle, time management, strategy and brain-training mobile games.
mominis
Phonsai 是“无需编码”的跨平台移动开发市场的新成员
它是 DIY 移动开发和内容管理的混合体
您可以自定义所有应用程序。 没有模板。
它是SaaS。 完全基于网络,使用 java web start。
适用于 2000 种手机型号。
非常简单的 GUI,无需编码。 只需复制并粘贴即可。
它具有创建、发送和报告模块。
最后它内部有4个模拟器,所以它是一个所见即所得的概念。
您可以通过 http://phonsai.com 联系 Phonsai
Phonsai is new in the market for cross-platform mobile develeopment "without coding"
It is mixture of do-it-yourself mobile development and content management
You can customize all applications. No templates.
It is SaaS. Totally web based with java web start.
Work with 2000 mobile phone models.
Very simple GUI and no coding. Just copy and paste.
It has create, send and report modules.
And at last it has 4 emulators inside so that it is a WYSIWYG concept.
You can reach Phonsai at http://phonsai.com
EdgeLib 看起来很有前途,并且已发布 iPhone beta,但尚未开放。
EdgeLib looks promising and has an iPhone beta announced but not open yet.
jQuery Mobile Alpha 2 发布
Nimblekit
Sencha
Phonegap
Appcelerator
jQuery Mobile Alpha 2 Released
Nimblekit
Sencha
Phonegap
Appcelerator
好吧,BlackBerry 并没有真正拥有 Java SE,它们拥有 Java ME,以及 RIM 提供的很多附加库。 Android 也是如此。 您在移动设备上看到的唯一跨平台应用程序可能是用严格的 Java ME 编写的,它可以在大多数设备上运行。 然而,就像不同浏览器之间的 JavaScript 一样,Java ME 在不同设备上也有一些怪癖,因此可能需要更改源代码。
Well BlackBerrys don't really have Java SE, they have Java ME, with a lot of additional librarys provided by RIM. Same goes for Android. The only cross-platform apps you'll ever see on mobile devices are probably written in strict Java ME, which runs on most devices. However, just like JavaScript between different browser, Java ME has is quirks across different devices, so source code changes may be necessary.
我开始使用一个非常酷的跨平台 SDK,称为 EdgeLib。 它允许您使用简单的 API,并且可以将项目编译到各种平台:Windows Mobile Pocket PC、Windows Mobile 智能手机、Symbian Series 60、Series 80、Series 90、Symbian UIQ、Gamepark Holdings GP2X、Gizmondo 和 Windows 桌面。
我知道 iPhone、黑莓和 Android 不在该列表中,但开发人员提到这些平台已在他们的路线图上。
I started to use a really cool cross-platform SDK called EdgeLib. It allows you to use a simple API and you can compile your projects to a variety of platforms: Windows Mobile Pocket PC, Windows Mobile Smartphone, Symbian Series 60, Series 80, Series 90, Symbian UIQ, Gamepark Holdings GP2X, Gizmondo and Windows desktop.
I know iPhone, Blackberry, and Android are not on that list but the developers mentioned that these platforms are on their roadmap.
我们有一个跨平台移动开发平台,称为 RAMP。 它涵盖了从 midp 1 到 Android 的功能手机和智能手机。 该平台主要针对安全的商业应用程序,但它是可插拔的,因此您几乎可以用它做任何事情。
如需了解更多信息并访问该平台,请查看:
虚拟移动技术
We have a cross platform mobile development platform called RAMP. It covers both feature and smart phones from midp 1 to Android. The platform is mostly aimed at secure commercial applications but it is pluggable so you can do almost anything with it.
For more information and access to the platform have a look at:
virtual mobile tech
Symbian OS 上的 S60 有许多与桌面/服务器语言相关的有趣项目正在发生,以将应用程序移动到移动设备上。 一些有趣的:-
Python:sourceforge
Ruby: ruby-symbian
Mozilla: mozilla
S60Webkit:S60browser
POSIX: openc_cpp
S60 on Symbian OS has alot of interesting projects happening relating to desktop/server languages to move applications mobile. Some interesting ones:-
Python: sourceforge
Ruby: ruby-symbian
Mozilla: mozilla
S60Webkit: S60browser
POSIX: openc_cpp