如何存储在Android的大量音频文件? [英] How to store large number of Audio Files in Android?

查看:270
本文介绍了如何存储在Android的大量音频文件?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的工作要求我打大量的音频文件的应用程序。每个文件将是大小100KB左右。目前,我有220文件,这些文件可以在以后上去。如果我把这些文件在res /原始文件夹,然后我会最终不得不APK文件的一个非常大的尺寸。

I am working on an application which requires me to play large number of audio files. Each file would be of size 100KB approximately. Currently i have 220 files which can go up in future. If I put these files in res/raw folder then i would end up having a very large size of APK file.

什么是存储在Android的音频文件的最好方法是什么?
什么类型的音频文件将是最好的APK存储?
或请建议我一些其他的办法来处理如此大量的音频文件。

What are the best methods to store audio files in android? What type of audio file would be best to store in the apk? Or Please suggest me some other approach to deal with such a large number of audio files.

推荐答案

有上主APK 50MB的限制。

There is 50MB limit on main APK.

如果我是你,我只需要的文件包括,然后使用Android扩展文件:的 http://developer.android.com/google/play/expansion-files.html 下载额外的。

If I were you I would include only "required" files and then use Android Expansion files: http://developer.android.com/google/play/expansion-files.html to download additional ones.

这篇关于如何存储在Android的大量音频文件?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆