登录
首页 » Java » android volley简单使用 示例代码

android volley简单使用 示例代码

于 2015-04-22 发布
0 257
下载积分: 1 下载次数: 0

代码说明:

android volley简单使用 示例代码

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

发表评论

0 个回复

  • android 获取已安装应用信息列表 例子 源码下载
    android 获取已安装应用信息列表 例子 源码下载
    2014-09-18下载
    积分:1
  • 用于记录女生生理期,以便女生自我保护
    界面均为自己绘图画出来的,可以参看学习一下绘图基本方法
    2015-04-02下载
    积分:1
  • android联系人带字母检索源码
    android联系人带字母检索源码/** * 联系人列表适配器。 * * @author guolin */public class ContactAdapter extends ArrayAdapter { /** * 需要渲染的item布局文件 */ private int resource; /** * 字母表分组工具 */ private SectionIndexer mIndexer; public ContactAdapter(Context context, int textViewResourceId, List objects) { super(context, textViewResourceId, objects); resource = textViewResourceId; } @Override public View getView(int position, View convertView, ViewGroup parent) { Contact contact = getItem(position); LinearLayout layout = null; if (convertView == null) { layout = (LinearLayout) LayoutInflater.from(getContext()).inflate(resource, null); } else { layout = (LinearLayout) convertView; } TextView name = (TextView) layout.findViewById(R.id.name); LinearLayout sortKeyLayout = (LinearLayout) layout.findViewById(R.id.sort_key_layout); TextView sortKey = (TextView) layout.findViewById(R.id.sort_key); name.setText(contact.getName()); int section = mIndexer.getSectionForPosition(position); if (position == mIndexer.getPositionForSection(section)) { sortKey.setText(contact.getSortKey()); sortKeyLayout.setVisibility(View.VISIBLE); } else { sortKeyLayout.setVisibility(View.GONE); } return layout; } /** * 给当前适配器传入一个分组工具。 * * @param indexer */ public void setIndexer(SectionIndexer indexer) { mIndexer = indexer; }}
    2014-04-13下载
    积分:1
  • 程序员必读之软件架构
    程序员必读之软件架构
    2015-04-22下载
    积分:1
  • 远程视频监控
    【核心代码】 public interface CameraSource {  static final String LOG_TAG = "camera";  /**  * Open the camera source for subsequent use via calls to capture().  *   * @return true if the camera source was successfully opened.  */  boolean open();  /**  * Close the camera source. Calling close on a closed CameraSource is  * permitted but has no effect. The camera source may be reopened after  * being closed.  */  void close();  /**  * The width of the captured image.  *   * @return the width of the capture in pixels  */  int getWidth();  /**  * The height of the captured image.  *   * @return the height of the capture in pixels  */  int getHeight();  /**  * Attempts to render the current camera view onto the supplied canvas.  * The capture will be rendered into the rectangle (0,0,width,height).  * Outstanding transformations on the canvas may alter this.  *   * @param canvas the canvas to which the captured pixel data will be written  * @return true iff a frame was successfully written to the canvas  */  boolean capture(Canvas canvas);  boolean saveImage(String savePath, String fileName); }
    2013-12-04下载
    积分:1
  • 简单的登录 增删改查
     简单的登录  增删改查
    2014-05-14下载
    积分:1
  • android 异步post送请求获取json
    异步post发送请求获取json,有完整的demo,完整的jar包
    2014-10-21下载
    积分:1
  • 调用系统拍照
    调用系统拍照
    2013-12-30下载
    积分:1
  • android VideoView播放视频-source
    android VideoView播放视频-source
    2015-03-16下载
    积分:1
  • android绝对布局入门实例 附完整源码
    android绝对布局(AbsoutLayout)入门实例,春晓秋冬 四个字依次显示,如下效果图
    2013-03-14下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载