[android-developers] Re: What's this problem?

2009-04-23 Thread Alex
I have tried this. // code snip start URL url = new URL(string); HttpURLConnection con = (HttpURLConnection)url.openConnection(); InputStream is = con.getInputStream(); Bitmap bmp = BitmapFactory.decodeStream(is); is.close(); con.disconnect(); // code snip stop It doesn't help. FYI, when I added

[android-developers] Re: What's this problem?

2009-04-23 Thread Jack Ha (T-Mobile USA)
You may want to try adding the following line before "return bmp;" con.disconnect() -- Jack Ha Open Source Development Center ・T・ ・ ・Mobile・ stick together The views, opinions and statements in this email are those of the author solely in their individual capacity, and do not necessarily r