@Override
protected Bitmap doInBackground(Object... params) {
String source = (String) params[0];
this.mDrawable = (LevelListDrawable) params[1];
this.mTextView = (TextView) params[2];
Log.d(TAG, "doInBackground source " + source);
try {
URL imgUrl = new URL(source);
HttpURLConnection httpConn = (HttpURLConnection) imgUrl.openConnection();
InputStream is = new URL(source).openStream();
return BitmapFactory.decodeStream(is);
} catch (Exception ignored) {
}
return null;
}
ConversationActivity.java 文件源码
java
阅读 26
收藏 0
点赞 0
评论 0
项目:NerdzMessenger
作者:
评论列表
文章目录