Android的图形页面具有高分辨率的瓷砖?瓷砖、高分辨率、图形、页面

2023-09-06 22:32:25 作者:草莓味的小对象.

我创建了一个简单的地图应用程序,显示在我的家乡当地的车库销售。这是很简单的创建和我分析了谷歌地图(HTML)的XML当地的报纸上使用他们的谷歌地图混搭在其网站上的文档。

I have created a simple map app that shows the local garage sales in my town. It was simple enough to create and I parse out the Google Maps (html) xml doc that the local paper uses on their google maps mashup on their website.

我已经注意到,在MapView的类中使用的地图图块并不高清晰度作为真正的Andr​​oid谷歌地图应用程序中使用的砖(我有一个的Droid)。我已经搜查了文档和谷歌,但我无法找到任何这信息。事实上,我甚至不能找到任何人提到这一点,这让我惊讶,让我觉得我失去了一些东西简单。这是谷歌作出的API可用的情况下,却以较低的质量,还是我失去了一些设置,可实现更高质量的地图图块?

I have noticed that the Map Tiles used in the MapView class are not as high-res as the tiles used in the real Android Google Maps app (I have a Droid). I have searched the docs and google, but I cannot find any info on this. Actually, I can't even find anyone mentioning this, which surprises me and makes me think I am missing something simple. Is this a case of Google making the APIs available, but at a lower quality, or am I missing some setting that enables higher quality map tiles?

推荐答案

好了,现在我已经出版了我的应用程序到应用程序商店现在有高分辨率地图图块。什么可能改变的行为是,我添加了<使用-SDK安卓的minSdkVersion =7/> 标签的Andr​​oidManifest.xml 文件。

Ok, now that I have published my app to the app store it now has high res map tiles. What probably changed the behavior was that I added the <uses-sdk android:minSdkVersion="7"/> tag to the AndroidManifest.xml file.

除此之外,我所做的就是添加一个新的菜单图标,发布它,并从市场上下载手动安装它代替。希望可以帮助别人。

Other than that all I did was add a new menu icon, publish it and download it from the market instead of installing manually. Hope that helps someone.