Android Question show downloaded(httputils) image by gallery intent

Discussion in 'Android Questions' started by ArminKH, May 18, 2015.

  1. ArminKH

    ArminKH Well-Known Member

    Hi
    how is possible to show an image which downloaded by using httputils (show by gallery - intent)?
    i want when my download finished then my downloaded image show by gallery
    @DonManfred as you said on httputils2 thread i create a new thread
    Now please help me if is possible
    here is my test code
    Code:
    Dim ShowCover As Intent
            ShowCover.Initialize(ShowCover.ACTION_VIEW,
    "")
            ShowCover.SetType(
    "image/*")
            ShowCover.PutExtra(
    "input",job.GetBitmap )
            
    StartActivity(ShowCover)
    tnx
     
    Last edited: May 18, 2015
  2. Erel

    Erel Administrator Staff Member Licensed User

    Copy the downloaded file to File.DirRootExternal or DirDefaultExternal and then treat it like any other file.
     
    ArminKH likes this.
Loading...
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice