我从3到4个月一直在开发Android应用程序。我很天真,但非常暴露于所有关于android应用程序开发的基础知识。但是,在开发具有大量图像的应用程序时,我感到非常痛苦。通过说出图像,我的意思是我的应用程序中有大约10到13个图像(小到足以容纳屏幕大小)。问题是我必须做,使这不同的副本,Android可绘制范例!
- 华电国际 - 高分辨率的支持
- MDPI - 中等分辨率的支持
- LDPI - 低分辨率支持
我来了
IDEA : My idea is to actually have only MDPI images in drawable folder, When my
application will installed first time, I want my application to detect what type of
resolution is supported by device? After knowing which resolution is supported one of my
built in method will either use a MDPI version(images), if handset supports it or else
it will scale up or scale down my images and stores into internal storage for future
reference. When user uninstall my application I will remove these images from internal
storage.
现在这个想法提出了一个问题,
问:
- 无论这个想法是否可行?和编程可能吗?
- 如果是,我应该真的关心一次计算开销吗?
- 是否有任何机制(第三方)可以缓解我的问题? (我讨厌Photoshop和扩大和缩小所有这些图像)
任何专家的帮助或指导将是一个很大的忙!
在此先感谢!
Krio
认真!哦,快点!通过说我很天真,我真的确实是这个意思,我的印象是这个系统没有放大或缩小。我必须自己做,并将其保存在drawable-hdpi,drawable-mdpi和drawable-ldpi中。谢谢fleetway76 – doNotCheckMyBlog 2011-06-16 08:28:37