Language for phone software development

自闭症网瘾萝莉.ら 提交于 2019-12-19 12:08:08

问题


Exists an universal phone developement language? I mean, for example, php or java or whatever

Edit : We have to develop a few phone applicatons, and we are looking for the best reusable language in differents devices (Blackberry, iPhone, Motorola, etc)


回答1:


Java is as close as you'll come, but it's no where near universal (iPhone doesn't support it!)

Since iPhone's language isn't used by anything else either, it's pretty much a given that you won't find a universal solution.




回答2:


Rhodes by Rhomobile is a Ruby framework for building cross-platform phone applications. It allows you to build a single application that works on all major smartphones: iPhone, BlackBerry, Windows Mobile, Symbian and Android. (The only obvious omissions seem to be OpenMoko and PalmOS/webOS, but all the phones you listed are supported.)

The way Rhodes works, is that you write your application in Ruby and your UI in HTML. A Ruby implementation, the Rhodes framework itself, your application scripts and your HTML files then get packaged up into what looks to the phone's operating system like a single native application. Rhodes then runs a webserver inside of the phone and serves the application from there, using the phone's builtin web browser UI component and a JavaScript UI library for making the web app look like a native app. (E.g. iUI for the iPhone.)

There was a nice introduction to Rhodes (with live coding) by the Rhomobile CEO at the Mountain West RubyConf 2009, the video is available at the Confreaks website.




回答3:


Java (more specifically J2ME) will work on most phones. Googles Android and Blackberry development involves Java too. On Symbian-phones you can develop in C and there is an interpreter for python. If you are aiming for the iPhone market you have to stick to Objective-C and the Cocoa Touch framework.




回答4:


There is no universal language, nor universal runtime that is supported by all of the major platforms. Two major players are Java on J2ME, BlackBerry and Android devices and Objective-C on the iPhone.




回答5:


You might want to check out Symbian phone OS, it is intended as a common OS originally a joint collaboration between Nokia, Motorla and Ericsson. see: www.symbian.org/index.php




回答6:


HTML + Javascript + CSS

PhoneGap!

It is the only cross platform mobile framework that I know of. Has feature support for iPhone, Android and Blackberry

http://phonegap.com/




回答7:


Well!!! Most of the phones support java. What are you trying to do? Learn a new language?




回答8:


Java is probably the closest you're going to find.




回答9:


Even if you can do it, what good does it do to write a mediocre application that doesn't really take full advantage of whatever device it is on?

Bite the bullet and choose to do great implementations on a selected subset of mobile platforms.



来源:https://stackoverflow.com/questions/698829/language-for-phone-software-development

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!