简体   繁体   English

我需要创建一个可以在所有智能手机上运行的智能手机应用程序,我该怎么做?

[英]I need to create a smart phone application that could be run on all smart phones, How can i do this?

每个操作系统的编程语言是什么?

There is no single technology, that will let you write the application once for all of them. 没有一种技术可以让您为所有这些技术编写一次应用程序。

There are several causes here: 这里有几个原因:

  1. Every platform has it's own architecture and libraries for doing common things such as gui, hardware access and so on. 每个平台都有自己的架构和库,用于执行gui,硬件访问等常见操作。

  2. Most of them use different languages. 大多数人使用不同的语言。 iPhone uses Objective-C, Java is for Android, so on. iPhone使用Objective-C,Java用于Android,依此类推。

  3. There was a try - J2ME technology, but it doesn't seem to have rich abilities foreach of the platform. 有一个尝试 - J2ME技术,但它似乎没有丰富的能力foreach平台。

The only thing you can try is an HTML5 application(which uses web browser). 您唯一可以尝试的是HTML5应用程序(使用Web浏览器)。 But it makes sence only if you don't need access to some native abilities of the handset - camera, contact list and so on. 但只有当你不需要访问手机的某些原生能力时才会出现这种情况 - 相机,联系人列表等等。

PhoneGap是一项技术,有望帮助您编写跨平台应用程序。

Write a fancy web application. 写一个花哨的Web应用程序。 All modern smartphones have an up-to-date webbrowser. 所有现代智能手机都配有最新的网络浏览器。 If you look at the mobile-web versions of GMail and calendar, they look almost native. 如果你看一下GMail和日历的移动网络版本,它们看起来几乎是原生的。

It's the most cross-phone way you'll find. 这是你会发现的最跨电话的方式。

Take a look at Phonegap which will allow you to package a web app to look like an app which is the closest you can get to this unicorn currently 看一下Phonegap,它可以让你打包一个网络应用程序看起来像一个应用程序,这是你最接近这个独角兽目前

To really mimick an application look and feel you will need to use something like Jquery Mobile or Sencha touch unfortunately these javascript frameworks will not run on all modern phones and the phonegap approach does not currently work for WP7 为了真正模仿应用程序的外观和感觉你需要使用像Jquery Mobile或Sencha touch这样的东西,遗憾的是这些javascript框架不能在所有现代手机上运行,​​而且phonegap方法目前不适用于WP7

This won't work. 这不行。 Windows Phone 7 for example can only be programmed using Silverlight and is bound to the .NET Framework, which is not available for iPhone and Android in a fully functional version. 例如,Windows Phone 7只能使用Silverlight进行编程,并且绑定到.NET Framework,而.NET Framework在完整功能版本中不适用于iPhone和Android。 Java (Android) will not be available on iPhone and Windows Phone 7. This list could go on and on... I'd consider creating a web application. Java(Android)将无法在iPhone和Windows Phone 7上使用。此列表可以继续......我会考虑创建一个Web应用程序。

如果您编写Web应用程序,请记住,您无权访问使用本机SDK的硬件部分。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 我可以创建Web应用程序,以便在没有互联网的智能手机上使用吗? 怎么样? - Can i create Web App to be used on smart-phones without internet ? How? 如何将智能合约与Java应用程序集成? - How can i integrate smart contract with java application? 如何检测我的智能设备是否可触摸? - How could I detect of my smart device is touchable? 如何使用智能卡中的证书创建.jks文件? - How can I create a .jks file using a Certificate from a smart Card? 如何在 remix 中声明此智能合约中的标识符? - How do I declare the identifier in this smart contract in remix? 在 Hyperledger Fabric 智能合约中,我如何打开日志记录? - In a Hyperledger Fabric Smart Contract how do I turn on logging? 我需要将 admob 智能横幅放在应用程序的底部(如果可能,使用 XML) - I need admob smart banner to be on bottom of app (using XML if possible) 报告生成器-我需要一些智能的设计模式;) - Report generators - I need some smart design pattern ;) 如何在Smart GWT中创建标题 - How to create a header in Smart GWT 我需要做些什么才能让我的网络应用程序在手机上运行? - What do I have to do to allow my web application run on mobile phones?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM