Jump to content

http get avec une bar de progression


STuFF

Recommended Posts

bonjour,

j'aimerais récupérer un fichier online, et afficher la progression du téléchargement.

J'arrive a downloader (avec HttpGet) dans une thread séparée (AsyncTask), j'arrive a afficher une progress bar "infinie" (le truc qui tourne quoi), mais je vois pas trop comment récuperer 1) la taille du fichier que je download (qui est variable en taille, mais j'imagine qu'il y a sa taille dans les header HTTP) ni a savoir ou j'en suis dans le download...

si vous avez des pistes..

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...