开发者

Automatically saving video files to Android SD card

开发者 https://www.devze.com 2023-02-05 16:53 出处:网络
We are creating an app for a user who has about 350MB of video clips. Since most (if not all) Android phones won\'t have that much internal storage, I\'m not sure how we are going to make this work. I

We are creating an app for a user who has about 350MB of video clips. Since most (if not all) Android phones won't have that much internal storage, I'm not sure how we are going to make this work. Is there a way to push the video clips onto the SD card when the user downloads the app? If not, is there any other way to do 开发者_运维知识库this?


The Android Market has a 50MB limit for packaged applications, so you have to have your app download the video files after the app is installed. To do that you'll need to ask for permission to write to the phone's external SD card storage in your app's manifest. For that kind of large file size, you may want to make an interface where the user can choose individual files to download. Take a look at some of the podcasting apps to see how they handle downloading large files.

0

精彩评论

暂无评论...
验证码 换一张
取 消