当前跨平台方式-What work has been done on cross-platform mobile development?

来源:互联网 发布:研究数据挖掘的意义 编辑:程序博客网 时间:2024/05/10 09:15

http://stackoverflow.com/questions/51988/what-work-has-been-done-on-cross-platform-mobile-development

 

 

 

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.

 

 

There are 2 [newish] solutions to exactly this issue:

http://www.rhomobile.com/

and

http://www.phonegap.com/

 

 

6 vote down

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.

link|flag
Would not a web UI be more promising given that 2/3 devices above use webkit for browsing? I'm also skeptical of any app that tries to have a single UI for touchscreen and non-touchscreen devices (which most blackberries are). – Luke Dec 23 '08 at 20:06

vote up 5 vote down

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...

 

 

 

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.

link|flag
 
  

vote up 2 vote down

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.

link|flag
1  
Shouldn't the fact that gizmondo is targeted be a concern? It was never successful and their ceo is in jail..so why was this a compelling target for EdgeLib if not for sales/marketing/buzzword bs. – Luke Dec 23 '08 at 20:03
Luke... do you know about the HW and Software specifics of the Gizmondo? It was ahead of its time. – steven Sep 29 at 1:45

vote up 2 vote down

EdgeLib looks promising and has an iPhone beta announced but not open yet.

link|flag
 
  

vote up 2 vote down check

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.

link|flag
 
  

vote up 1 vote down

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.

link|flag
 
  

vote up 0 vote down

Nice answer Mike.

Consider too that the form-factors of those devices differ significantly, so your user interface must be different in non-trivial ways. Consider: screen size, ability to touch the screen, physical vs. non-physical keys, and platform-specific interface assumptions.

link|flag
 
  

vote up 0 vote down

S60 on Symbian OS has alot of interesting projects happening relating to desktop/server languages to move applications mobile. Some interesting ones:-

Python: http://sourceforge.net/projects/pys60
Ruby: http://ruby-symbian.rubyforge.org/
Mozilla: https://wiki.mozilla.org/Mobile/Symbian/NSPR
S60Webkit: http://opensource.nokia.com/projects/S60browser/
POSIX: http://www.forum.nokia.com/main/resources/technologies/openc_cpp/

link|flag
 
  

vote up 0 vote down

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:

http://ramp.virtualmobiletech.com/

link|flag
 
  

vote up 0 vote down

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)

link|flag
原创粉丝点击