1. 什么是Volley
在这之前,我们在程序中需要和网络通信的时候,大体使用的东西莫过于AsyncTaskLoader,HttpURLConnection,AsyncTask,HTTPClient(Apache)等,今年的Google I/O 2013上,Volley发布了。Volley是Android平台上的网络通信库,能使网络通信更快,更简单,更健壮。
这是Volley名称的由来: a burst or emission of many things or a large amount at once
Volley主页 https://android.googlesource.com/platform/frameworks/volley
http://www.youtube.com/watch?v=yhv8l9F44qo&feature=player_embedded
来源:
http://blog.csdn.net/t12x3456/article/details/9221611
2.Afinal是一个android的ioc,orm框架,内置了四大模块功能:FinalAcitivity,FinalBitmap,FinalDb,FinalHttp。
通过finalActivity,我们可以通过注解的方式进行绑定ui和事件。通过finalBitmap,我们可以方便的加载bitmap图片,而无需考虑oom等问题
https://github.com/yangfuhai/afinal
介绍
http://www.cnblogs.com/taoweiji/p/3174722.html
http://code.google.com/p/afinal/
其中volly下载
git clone https://android.googlesource.com/platform/frameworks/volley
按照上面的方法,下载时,可能报连接超时,这是因为,android源码,默认下载是用匿名方式的,google为了某种性能和管理目的,做了限制,像一 般的,动态公网IP就 可能下载不了。为此,google提供了认证方式下载。
Using authentication
By default, access to the Android source code is anonymous. To protect the servers against excessive usage, each IP address is associated with a quota.
When sharing an IP address with other users (e.g. when accessing the source repositories from beyond a NAT firewall), the quotas can trigger even for regular usage patterns (e.g. if many users sync new clients from the same IP address within a short period).
In that case, it is possible to use authenticated access, which then uses a separate quota for each user, regardless of the IP address.
The first step is to create a password from the password generator and to save it in ~/.netrc
according to the instructions on that page.
The second step is to force authenticated access, by using the following manifest URI:https://android.googlesource.com/a/platform/frameworks/volley
. Notice how the /a/
directory prefix triggers mandatory authentication. You can convert an existing client to use mandatory authentication with the following command:
在windows xp中配置环境变量
配置_netrc文件,内容为在google生成的账号与密码
下载
相关推荐
个人整理的一些Android开源库,Eclipse导入就可以作为库使用。[Android,UI,DataBase,Event,Utils]
git开源库代码,学习Android开发使用,学习Android开发使用
开源库的包名是这个org.apache.commons.net.ftp.FTPClient;是属于局域网的ftp上传,要有ip、端口、用户名以及密码。我根据网上的下载demo,自已研究了一番,又封装了一个类自已使用。欢迎访问博客:...
Android下拉刷新开源库集锦,提供源码用于学习和研究
还有简单的密码验证 开发软件:Android StudioAndroid 开源在线音乐播放器Android 开源在线音乐播放器Android 开源在线音乐播放器Android 开源在线音乐播放器Android 开源在线音乐播放器Android 开源在线音乐播放器...
ExecuteShell 是一个可以让你在你的 Android 项目上方便快速使用 shell 指令的开源库
Android 使用开源库加载网络图片。单击listview弹出popupwindow弹出框,里面还附带listview右滑删除按钮。博客网址:http://blog.csdn.net/qq_16064871
android 通过开源库js绘图,用的js库echarts。功能强大,可以在android上绘制任何类型的图。http://echarts.baidu.com/
此APK包含android 目前最新的开源库。 有演示效果,有code下载链接
用于android 网络框架 ,volly,volly.jar,请求框架volley
android几大主流开源网络库优劣势对比图。 主要帮助所有人梳理思路。
简单测试Android开源图表库MpAndroidChart的使用, 本例中只单纯测试了PieChart
此源码由本人收集整理,每个demo源码均由本人收集并修改测试通过,demo源码在android API2.1模拟器上运行,解压之后alien3DResource为类库源码。
Android 手机、大屏设备、板子等连接usb摄像头开源库UVCCamera
simple-android-opensource-framework, Android知名开源库简单实现以及设计分析
Android 视频播放 开源 vitamio
使用ChangeSkin开源库换肤DEMO
2017 Android GitHub 常用开源框架汇总
Android 使用开源库StickyGridHeaders和universal_mage_loader显示网络图片效果 博客地址:http://blog.csdn.net/qq_27665781/article/details/52367338
Android开源图形库 快速的开发android界面