简体   繁体   English

包含带有APK的图标/背景图片

[英]Including Icons/Background Images with APK

I'm wanting to include some wallpapers and custom icons with my next application update. 我想在我的下一个应用程序更新中包含一些壁纸和自定义图标。 What's the best way to go about that in Android? 在Android中最好的方法是什么? I've been doing some searching but I haven't seen anything satisfactory. 我一直在进行搜索,但没有发现满意的结果。

Thanks. 谢谢。

Just change the icon and the background and update the app. 只需更改图标和背景并更新应用即可。 Or do you mean something else? 还是您还有其他意思?

I know if your app moves/copies the files to the user's SD card then the media scanner should pick it up and include in the Gallery app. 我知道如果您的应用程序将文件移动/复制到用户的SD卡中,则媒体扫描器应将其选中并包含在Gallery应用程序中。 Which can then be used as a wallpaper. 然后可以用作墙纸。 But as for using them directly from your app, I'm not sure. 但是对于直接从您的应用程序中使用它们,我不确定。

Might be good to not include them in the app directly, but allow the user to choose to download them from within your app (if you have a server or external site you can host them on). 最好不要将它们直接包含在应用程序中,但允许用户选择从您的应用程序中下载它们(如果您具有服务器或外部站点,则可以在其上托管它们)。 That would keep the size of your app small, and allow you to download them directly to the user's SD card. 这样可以减小应用程序的大小,并允许您将其直接下载到用户的SD卡中。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM