MapView获得比较通用的地图不好的分​​辨率不好、地图、辨率、MapView

由网友(°安如少年初如梦)分享简介:我刚刚收到了HTC Desire的测试上。我注意到,在一帧不是整个屏幕更小的一个图形页面residuing并不像锋利的通用的地图应用程序。有没有什么解决办法?I just received a HTC Desire to test on. I noticed, that a mapView residuing in...

我刚刚收到了HTC Desire的测试上。我注意到,在一帧不是整个屏幕更小的一个图形页面residuing并不像锋利的通用的地图应用程序。有没有什么解决办法?

I just received a HTC Desire to test on. I noticed, that a mapView residuing in a frame smaller than a whole screen is not as sharp as a generic maps application. Is there any solution to this?

推荐答案

您应该编译API级别4或更高的应用程序,然后设置<支持屏>在你的Andr​​oidManifest.xml是这样的:

You should compile your application with API level 4 or higher and then set <supports-screens> in your AndroidManifest.xml like this:


  <supports-screens
  android:largeScreens="true"
  android:normalScreens="true"
  android:smallScreens="true"
  android:anyDensity="true"
  />

如这里所描述:http://developer.android.com/guide/topics/manifest/supports-screens-element.html

这是因为两件事: 1. Android 1.5的,下不支持多屏配置。 2.有没有运行任何高密度的设备甚至1.6 - 所有高于2.0(据我所知)

This is because of two things: 1. Android 1.5 and lower doesn't support multiscreen configurations. 2. There are no high density devices running even 1.6 - all above 2.0 (AFAIK)

如果你想支持1.5设备(市场现在12%),您可以编译两个独立的你的应用程序的版本。

If you want support 1.5 devices (12% of market for now) you may compile two separate versions of your app.

阅读全文

相关推荐

最新文章