什么Android版本的目标?目标、版本、Android

2023-09-05 01:02:27 作者:专抢小孩丶棒棒糖ぃ

我要写我的第一个Android应用程序。这是一个非常基本的应用程序,不使用任何特殊的功能之外,能够安排的通知和读/写映像文件到设备的本地存储。到达最广泛的受众是我的首要任务。如果我的目标是Android 1.5,为保证运行正常一路攀升到ICS应用程序?我应该针对Android 2.1系统,这似乎是在使用普通电话?

I'm about to write my first Android app. It's a fairly basic app that doesn't use any special features beyond being able to schedule notifications and read/write image files to the device's local storage. Reaching the broadest audience is my top priority. If I target Android 1.5, is the app guaranteed to run fine all the way up to ICS? Should I target Android 2.1, which seems to be the new baseline for common phones in use?

由于应用程序是相当基本的,如果我的目标ICS,将它的版本将所有的方式回到2.1上运行?也许这是一个愚蠢的问题。

Since the app is fairly basic, if I target ICS, would it run on versions going all the way back to 2.1? Maybe this is a stupid question.

推荐答案

在这一点上,我建议你的目标至少为1.6。在此之前,有多种屏幕尺寸不支持。既然现在有几百个或更多的设备都具有不同的屏幕大小和密度您的应用程序不会看对面所有的人都好,如果你不采取一些被添加在1.6的东东优势。

At this point I would suggest you target at least 1.6. Before that there was not support for multiple screen sizes. Since there are now hundreds or more devices all with different screen sizes and densities your app will not look good across all of them if you don't take advantage of some of the stuff that was added in 1.6.

您可以找到一个图表,其中操作系统版本是最活跃的位置:http://developer.android.com/resources/dashboard/platform-versions.html

You can find a chart of which OS versions are most active here: http://developer.android.com/resources/dashboard/platform-versions.html

根据目前的图表上,如果你的目标2.1,那么你将介绍一些已连接到Android Market中过去两周设备97.7%。

based on the current chart, if you target 2.1 then you'll cover 97.7% of devices that have connected to the android market within the last 2 weeks.

 
精彩推荐