(original) Youku androidclient bug fix in download

Source: Internet
Author: User

In the case of bad network situation, Youku androidclient download video will be terminated, the user abandoned the download click to delete the task, switch to the network good situation to download, will show that the video is in the download queue, and then Clientui interface but nothing to see. Causes users to not be able to download at all.

In fact, Youku downloads are all in the form of read files.

In the Youku Android file directory there, (right now not to consider hanging on SD card and other storage optimization) is the memory device/youku/offinedata has a lot of download video directory, there is the time of the directory creation, pictures, flv form of diversity, info file, youku.m3u8 file

Download information (including download queue and so on is put in this directory), now delete this file, that is resolved.

Research and development should consider:
First, when the user deletes the download task, do I have the corresponding download task directory purged?
Second, when the app starts, there will usually be an asynchronous/synchronous initialization file (such as cleaning seven days, five days of data) of the code module, here can not add a few deleted/canceled download task directory I will help users clear?

Research and development The logic of one more step is to guarantee the user experience better

(original) Youku androidclient bug fix in download

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.