登录
首页 » Android » android 获取某一网址上的图片

android 获取某一网址上的图片

于 2022-02-12 发布 文件大小:1.12 kB
0 47
下载积分: 2 下载次数: 1

代码说明:

本程序是从网上下载图片,由于此操作是比较耗时的操作,为了防止UI主线程的阻塞,此源码将这个操作放在了AsyncTask异步任务中去执行。

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • Android su 源代码
    Android下的 su 源代码结合superuser使用代码中su之后就相当于切换到root账户了供有兴趣的朋友参看
    2023-05-24 08:50:03下载
    积分:1
  • Chess
    android 小游戏源码 象棋,非常适合初学者学习。(android small gamesource chess)
    2011-06-15 13:24:18下载
    积分:1
  • android多线程断点下载
    android多线程断点下载 示例代码 package com.smart.activoty.download; import java.io.File; import android.app.Activity; import android.os.Bundle; import android.os.Environment; import android.os.Handler; import android.os.Message; import android.view.View; import android.widget.Button; import android.widget.EditText; import android.widget.ProgressBar; import android.widget.TextView; import android.widget.Toast; import com.smart.impl.SmartDownloadProgressListener; import com.smart.impl.SmartFileDownloader; public class SmartDownloadActivity extends Activity { private ProgressBar downloadbar; private EditText pathText; private TextView resultView; private Handler handler = new Handler(){ @Override//信息 public void handleMessage(Message msg) { switch (msg.what) { case 1: int size = msg.getData().getInt("size"); downloadbar.setProgress(size); float result = (float)downlo
    2022-09-04 09:45:03下载
    积分:1
  • 直播 android
    直播框架 使用rtmp,推流,拉流的直播框架,满足大多数的需求,延迟在修改后在3秒左右,
    2022-01-26 00:22:53下载
    积分:1
  • WiFiScan
    WiFi指纹库采集数据专用安卓apk文件,直接下载即可安装使用,室内定位数据采集阶段神器(WiFi fingerprint database for data acquisition Android APK files can be downloaded directly to install and use, indoor positioning data acquisition stage artifacts)
    2021-03-17 20:09:20下载
    积分:1
  • Cards-UI-master
    卡片式View,支持单个卡片,item为卡片的ListView 使用: CardListView list = ... list.setCardTheme(CardTheme.Dark) CardAdapter adapter = new CardAdapter(this, android.R.color.holo_blue_dark) list.setAdapter(adapter) // Alternatively, you can pass a context and string resources in place of strings // CardHeader has an optional second parameter for a subtitle CardHeader header = new CardHeader( I m a header ) // You can optionally set an action to the header // Specifying no action title will default to See More header.setAction( See More , new CardHeader.ActionListener() { @Override public void onHeaderActionClick(CardHeader header) { // Do whatever you want } }) // Add the header to the adapter, automatically notifies the list adapter.add(header) // Again, you can pass a context and string resources in place of strings Card card = new Card( Hello , My name is Aidan ) adapter.add(card) (This library is no longer maintained, as this implementation is generally frowned upon in the new Google Material design guidelines, excluding certain situations (like Google Keep type UI). See the new CardView APIs in the Support Library.)
    2015-01-24 15:06:35下载
    积分:1
  • android
    基于java基础的安卓部分的学习和代码,全部在压缩文件内(english version)
    2013-09-11 21:13:27下载
    积分:1
  • 呼叫接收机
    打开源代码关于呼叫接收机的新手开始 android 的代码。我希望它将帮助任何一个:D
    2023-01-17 16:15:04下载
    积分:1
  • android 自定义充值控件 实例源码
    android 自定义充值控件 实例源码
    2014-06-03下载
    积分:1
  • ocr光字符识别
    ocr光字符识别
    2013-05-10下载
    积分:1
  • 696522资源总数
  • 104047会员总数
  • 21今日下载