Android的多个设备开发 [英] Android Multiple Device Development

查看:107
本文介绍了Android的多个设备开发的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我是新来的总体规划,并已自学在Eclipse中使用Android SDK中。最近我有很多的iPhone开发者告诉我抛弃Android和去到iPhone,因为它实在是太难以开发Android设备的整个范围。

I am new to programming in general and have been teaching myself using Android SDK in Eclipse. Lately I have had a lot of iPhone developers telling me to ditch Android and go to iPhone because it is simply too hard to develop for the whole spectrum of Android devices.

当我看开发指南中,我看到了有关开发多屏页面,它似乎pretty的直线前进。

When I look at the dev guide, I see a page about developing for multiple screens, and it seems pretty straight forward.

有没有人有困难时期开发的Andr​​oid平台上的多台设备?

Has anyone had a hard time developing for multiple devices on the Android platform?

推荐答案

开发多​​个屏幕可能会有点怪异,特别是在iPhone,那里只有一个屏幕的后顾之忧。阅读起来就 AndroidMainfest.xml 的文件,该文件描述了如何限制部署到特定的硬件功能。

Developing for multiple screens can be a bit weird, especially after the iPhone, where there is only one screen to worry about. Read up on the AndroidMainfest.xml file, which describes how to limit deployment to certain hardware features.

一旦你决定你的目标硬件,看看在多屏指南再次,一定要注意之间的差异PX,DP和SP。在那之后,我发现有些事情不会EXACLTY看在不同的分辨率相同,但我已经接受了(但我认为,如果你需要,你也可以针对分辨率)。

Once you've decided what you target hardware is, have a look at the multiple screen guide again, make sure to pay attention to the difference between "px," "dp," and "sp." After that, I have found certain things will not EXACLTY look the same across different resolutions, but I've accepted that (but I think you can target resolution if you need to also).

在最后,这取决于你有多少时间和精力,愿意给它。

In the end, it depends on how much time and effort you're willing to give it.

这篇关于Android的多个设备开发的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆