Android开发设备
我最近开始为移动平台开发应用程序。到目前为止,我只玩过 iOS,但也想开发 Android,因此今年夏天我将参加一个以 Android 开发为重点的软件开发营。
我以合理的价格获得了 HTC Wildfire,因此我想知道这款手机是否适合 Android 开发,或者是否有任何缺点或优点?我对 Android 平台完全陌生,因此我想了解一下我应该寻找哪些设备,特别是是否可以使用 Wildfire。
我希望你能帮助我:-)
I have recently started developing applications for mobile platforms. As of now, I have only been playing around with iOS but would also like to develop for Android and therefore I am going to a software development camp this summer which has its focus on Android development.
I have been offered a HTC Wildfire for a fair price and therefore I would like to hear if this phone is good for developing for Android or if there are any disadvantages or advantages? I am totally new to the Android platform and therefore I would like an advice on which devices I should look for and especially if the Wildfire can be used.
I hope you can help me :-)
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
IMO,选择开发/测试设备时的两个主要因素是屏幕密度和Android操作系统版本。
HTC Wildfire 通常被认为是一款低端设备;分辨率仅为 320x240(低于第一款 Android 手机 G1),其余规格也不是特别令人印象深刻。它具有 LDPI(低密度)屏幕,目前可从 Android 2.1 升级到 Android 2.2。对于刚刚开始学习 Android 开发,HTC Wildfire 就足够了。
大多数较新的手机都是 HDPI(高密度)并且将运行 Android 2.1、2.2 或 2.3< /a>.您应该使用模拟器对所有屏幕密度进行测试,以确保您的应用程序在所有屏幕密度上都能正常显示。使用模拟器可以减少使用多个设备进行测试的需要,但如果可能的话,最好使用真实设备。
一方面,如果您的应用程序在 Wildfire 上运行良好(性能方面),那么它很可能与其他所有应用程序一起运行良好。瞄准低端意味着您的应用程序将能够覆盖更广泛的受众。
另一方面,使用更现代的设备进行测试将使您能够了解应用程序在当前一代设备上的行为方式,这可能更符合您的兴趣。
IMO, the two main factors when choosing device(s) for development/testing are the screen density and Android OS version.
The HTC Wildfire is typically thought of as a low-end device; the resolution is only 320x240 (lower than that of the very first Android phone, G1) and the rest of the specs aren't particularly impressive either. It has an LDPI (low density) screen and is currently upgradable to Android 2.2, from 2.1. For just starting out and learning Android development, the HTC Wildfire will do just fine.
Most newer phones are HDPI (high density) and will run Android 2.1, 2.2 or 2.3. You should test with all screen densities using the emulator to make sure your application displays well on all of them. Use of the emulator reduces the need to test with multiple devices, but it is still better to use real devices if possible.
On one hand, if your app works great (performance-wise) with the Wildfire, then it will likely work great with everything else out there. Targeting the low-end means that your application will be able to potentially reach a wider audience.
On the other hand, testing with a more modern device will allow you to see how your application behaves on the current generation of devices, which may be more relevant to your interests.
任何运行 Android 操作系统的设备都可以作为测试设备。唯一的区别可能是实际硬件在响应时间、存储空间等方面的差异。
如果您使用它来简单地测试您正在开发的应用程序,那么它肯定是一个有用的设备。
Any device that runs the Android OS is capable of being a testing device. The only differences can be the actual hardware in terms of response time, storage space, etc.
If you are using it to simply test applications that you are developing, then it certainly can be a useful device.
HTC Wildfire 将作为开发设备。您可能需要出去寻找 ADB 驱动程序。但请记住,您可以测试应用程序的不同设备越多,您就越有可能发现设备特定的问题并在上线之前修复它们。
An HTC wildfire will work as a development device. You may have to go out and find the ADB driver for it. Do keep in mind though, the more different devices you can test your applications on the more likely you are going to be to catch device specific problems and get them fixed before going live.