Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8650835
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T13:55:02+00:00 2026-06-12T13:55:02+00:00

if(bigimageS.length()==0){ show_image.setImageBitmap(null); }else{ show_image.setImageBitmap(decodeImage(bigimageS)); } **************** public static Bitmap decodeImage(String arrayList_image) { BufferedInputStream bis;

  • 0
if(bigimageS.length()==0){              

     show_image.setImageBitmap(null);   

}else{                  

  show_image.setImageBitmap(decodeImage(bigimageS));                
}

****************
    public static Bitmap decodeImage(String arrayList_image) {

        BufferedInputStream bis;
        URL aURL;
        try{        

            aURL = new URL(arrayList_image);
            URLConnection conn = aURL.openConnection();
            conn.connect();
            InputStream is = conn.getInputStream();
            bis = new BufferedInputStream(is);
            Bitmap bm = BitmapFactory.decodeStream(bis);

            bis.close();            
            is.close();         
            return bm;          

        } catch (MalformedURLException e) {

            e.printStackTrace();

        } catch (IOException e) {

            e.printStackTrace();
        }
        return null;
    }

this is my code and i want to clear imageview.my problem is i am getting the image in bigimages String.i am adding the imageurl from w/s.in string bigimages.when i click on next btn after once image set then old image is not clear.so plz help i put condition but not working.plz help.

I am using the decodeimage for decode the image so is it any way to clear if there is no url in string..help me plz not solve yet

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-12T13:55:04+00:00Added an answer on June 12, 2026 at 1:55 pm

    finally i got the solution..i have simply set the blank like this bigimageS=””;
    before getdata(); method..

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm trying to download imags from a url and then decode them. The problem
For example, if users want to download /webroot/files/bigimage.jpg, they are given a URL www.domain.com/download.php?filename=bigimage.jpg.
I have a script that loads big images into the body in this fashion
I have slideshow, and I want to show Big images, I added to [NSOperation
I have the code below: $(document).ready(function() { var bgimages=new Array() bgImages[0]=bg.jpg bgImages[1]=bg2.jpg //sloppy preload
Im a jquery noob. I needed a script that would swap out images or
I have a strange problem while saving number of big images (from camera) to
I have menu with images. I have big images 72x72. In activity layout I'm
I have folder, his name is 1, in this folder is 2 folders: big_images
I have the following php code $bigImageSrc = 'images/'.$prodXML->bottles->bottle[$i]->bigImage; $text = $prodXML->bottles->bottle[$i]->title; $title =

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.