选择哪一个 - Android 1.5 还是 Android 2.2? (我是初学者)

发布于 2024-09-29 19:30:14 字数 142 浏览 1 评论 0原文

我想开始使用 Android 编程。我有 Java 和 j2me 背景。由于我是新人并且预算有限,我愿意购买 HTC G1(1.5 杯形蛋糕)而不是任何 2.2 设备。这是个好主意吗? (或者让我知道是否有任何低成本(200 美元左右)2.2 设备)请给出您的意见。谢谢

I want to start programming in Android. I have backgrounds in Java and j2me. As I am new and have budget constraints I was willing to purchase HTC G1 (1.5 cupcake) rather than any 2.2 device. Is that a good idea? (or let me know if there is any lowcost (around $200) 2.2 device) Please give your opinion. Thanks

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(4

妥活 2024-10-06 19:30:14

根据我自己的经验:

  • 使用真实手机进行 Android 开发比使用模拟器要快速愉快得多。特别是如果您是新手 - 您会希望经常看到代码更改的结果。此外,使用手机进行开发有助于尽早检测可用性问题(我花了一些时间来提高模拟器的可用性,后来才发现在真实设备上它没有任何意义,天哪!)。如今,我倾向于仅使用模拟器来测试不同的分辨率或 SDK。
  • 这意味着开发人员应该拥有他愿意瞄准的版本的手机(安装其他版本的 ROM 可能会有所帮助,但这并不是最佳解决方案)。
  • Android 市场统计数据 看来,2.+ 之前的版本 (1.5 , 1.6) 手机相当小(在撰写本文时,几乎 75% 的设备都采用 2.1 + 2.2)。
  • 在 1.6 等版本的开发过程中,您可能会遇到 API 中的多个功能和改进,这些功能和改进仅适用于更高的 API 级别。这可能很烦人。在某些时候我选择放弃 1.6 支持,但这个选择是个人的。

因此,我强烈建议选择2.+设备作为Android开发者手机。

From my own experience:

  • Developing for Android using real phone is much more rapid and pleasant than using emulator. Especially if you are a newbie - you will want to see results of changes in code quite often. Additionally, developing with phone helps to detect usability issues very early (I've spent some time improving usability on emulator only to learn later that on real device it had no sense, d'oh!). Nowadays, I tend to use emulator only for testing on different resolutions or SDK's.
  • That implies that developer should have phone with version he's willing to target (installing ROM with other version may help, but it's hardly an optimal solution).
  • From Android Market statistics it seems that share of pre 2.+ (1.5, 1.6) phones is quite small (2.1 + 2.2 is in almost 75% of devices at the time of writing).
  • During development for versions like 1.6 you may encounter multiple features and improvements in API that are available only for later API levels. This may be quite annoying. At some point I chose to drop 1.6 support, but this choice is personal.

So, I would strongly recommend choosing 2.+ device as Android developers phone.

很糊涂小朋友 2024-10-06 19:30:14

查看 CyanogenMod。 6.x 系列基于 2.2,并已移植到多种设备,包括 G1。当然,您需要对设备进行root。

不过,我建议您对您能负担得起的设备进行更多研究。 G1 是第一款 Android 设备,与当今的新设备相比,它很旧,而且速度(确实)很慢。不要忘记二手手机的来源(例如 Craigslist 和各种论坛),您可以获得一些相当不错的优惠。

Check out CyanogenMod. The 6.x series is based on 2.2, and has been ported to a good variety of devices, including the G1. Of course, you will need to root your device.

I would recommend doing additional research on devices you can afford, however. The G1 is the very first Android device, and is old and (really) slow compared to newer devices available today. Don't forget about sources of used phones (such as Craigslist and various forums), you can get some pretty good deals.

夢归不見 2024-10-06 19:30:14

从模拟器开始(最新的 SDK 将允许您针对任一版本)并在购买手机之前确定这是您真正想要执行的项目。

当然,除非您正在寻找购买手机的借口。

现在您应该购买像 G1 这样的第一代手机的唯一形式是在二手市场上。而且很可能只有当你不打算在其中放入一张SIM卡或者已经有一个具有合适数据计划的SIM卡时(请注意运营商强制计划升级的习惯),因为至少在美国运营商通常不会给予任何折扣不买手机,所以如果在这里你不妨以 99 美元的价格买一些最近打折的东西,因为即使你提供自己的手机,你也要支付它的真实价值的每月费用。

Start with the emulator (the most recent SDK will let you target either version) and decide it's a project you really want to do before buying the phone.

Unless of course you are looking for an excuse to buy a phone.

The only form in which you should be buying a first-gen phone like a G1 right now would be on the used market. And likely then only if you don't plan to put a sim in it or already have one with a suitable data plan (beware carrier habits of forcing plan upgrades), because at least in the US carriers don't usually give any discount for not buying a phone, so if here you might as well get something recent on sale for $99 since you are going to pay the true value of it in inflated monthly charges even if you provide your own phone.

微暖i 2024-10-06 19:30:14

不要购买第一代手机,那太愚蠢了。这就像尝试在 Windows 95 上学习编程或自学汇编作为您的第一语言。你正在学习过时的东西,它们很快就会过时。如果你要买一部手机,就去买一部新手机吧,它们也没什么了不起的。

Don't buy a first gen phone, that's just stupid. It's like trying to learn to program on windows 95 or teaching yourself assembly as your first language. You're learning outdated stuff that is becoming obsolete very quickly. If you're going to buy a phone just go buy a new one, they're not THAT much more.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文