[英]How to package a large number photos with an Android app?
By "a large number" I mean 548 at an average 300k. “大量”是指548,平均30万。 I would really like to avoid making users install the app and then download the image data on first run.
我真的想避免让用户安装应用程序,然后在首次运行时下载图像数据。 The app won't be adding or removing photos, they are just part of the app's content data, displayed in list views and galleries and the like.
该应用程序不会添加或删除照片,它们只是应用程序内容数据的一部分,显示在列表视图和图库等中。
So far I've discovered that putting them all in res/drawable not only makes for a large .apk but also prevents the app from installing on either the emulator or my phone. 到目前为止,我发现将它们全部放置在res / drawable中不仅会产生很大的.apk,而且还会阻止该应用程序安装在模拟器或手机上。
The target API is 8 (Fro-yo). 目标API是8(Fro-yo)。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.