Some questions about downloading big data to the phone

一笑奈何 提交于 2019-12-25 00:08:19

问题


I'm working on an application with a lot of sounds and images.. the sound (optional) can be as big as 400mb!, So I have a few questions:
1.In my Samsung Galaxy S, there is the internal sdcard that comes preinstalled within the phone and cannot be removed which is 8gb, and the external one you optionally put... How can I get the location of that sdcard (which is in "/mnt/sdcard/external_sd/" and Environment.getexternalstoragedirectory() returns "/sdcard" ?
2. I need to download a folder that have inside it a lot of folders.. I've seen some examples that download files from URL .. What about folders?
Thanks.


回答1:


Google announced that as of June 2011, the Market will support apps of up to 4GB (well, 4GB + 50MB) in size, which should be large enough to house you application files. From user side they will have just to download the app once. But if you update you application quite often, then the updates will be very painful. I have application that have some initial bundle and updates are downloaded into SD Card.And I have no complains from users. Why not just to bundle all together.



来源:https://stackoverflow.com/questions/6055988/some-questions-about-downloading-big-data-to-the-phone

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!