- 博客(7)
- 资源 (1)
- 收藏
- 关注
原创 图片加载框架-ImageLoader
第一 ImageLoader源码地址:https://github.com/nostra13/Android-Universal-Image-Loader第二 添加Gradle依赖 compile 'com.nostra13.universalimageloader:universal-image-loader:1.9.5'第三 初始化ImageLoader
2016-08-03 16:48:02 229
原创 图片加载框架-Picasso
第一 Picasso源码地址:http://square.github.io/picasso/第二 在自己的项目Gradle里添加依赖 :compile 'com.squareup.picasso:picasso:(insert latest version)'最新版本可以去该地址查看 http://mvnrepository.com/第三 需要加载图片的地方直接使用
2016-08-03 16:35:09 205
原创 图片加载框架-Fresco
第一 Fresco源码地址:http://fresco-cn.org/第二 在你的Gradle里添加以下依赖: compile 'com.facebook.fresco:fresco:0.12.0'一下是用户更具需要添加: // 在 API compile 'com.facebook.fresco:animated-base-support:0.12.0'
2016-08-03 16:06:55 276
原创 图片加载框架-Glide的使用
第一 查看Glide源码 项目地址:https://github.com/bumptech/glide第二 添加依赖 在你的gradle添加依赖 compile 'com.github.bumptech.glide:glide:3.7.0'第三 在你需要下载图片的地方直接使用 Glide.with(this).load("http://goo.gl/gEgYUd").into
2016-08-03 15:33:12 207
原创 xutils3.0使用流程
第一:下载xutils3.0jar包第二:初始化 public class MyApplication extends Application{ public MyApplication() { x.Ext.init(this); setISLOANFING(false); }}第三:使用x.http().post(
2015-12-22 17:33:12 453
原创 一个app通过url调用另一个app
在调用的app里面添加一个button按钮并注册事件public void btn_Click(View view) {//加载本地网页 webView.loadUrl("file:///android_asset/index.html");}index.html如下:html>html>head> title>浏览器总启动本地 activitytitle
2015-12-22 17:21:20 1445
原创 一个app调用另一个app
Intent intent = new Intent();//第一个参数是 要调用App的Activity的包名,第二个参数是:要调用的Activity的路径ComponentName componetName = new ComponentName("com.pdx.pdxapp","com.pdx.pdxapp.LoginActivity");intent.setComponent(c
2015-12-22 17:15:39 990
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人