android
文章平均质量分 55
下一秒升华
重新捡起荒废已久的博客...
展开
-
android 为ExpandableListView中child设置监听器
ExpandableListView mExpandableListView = (ExpandableListView) findViewById(R.id.expandableListView1); mExpandableListView.setOnChildClickListener(new OnChildClickListener() { @Override原创 2015-01-28 10:14:06 · 869 阅读 · 0 评论 -
android 控件学习之列表
做列表有两种方法。我选择了第二种使用一个item.xml保存列表信息1.res-->layout-->activity_main.xml拖动一个ListView,修改id为lv2.在layout中新建一个item.xml用于存放列表item的信息在item.xml中拖动一个TextView,修改id为tv3.在主程序的OnCreate方法中创建一个链表用于存放数据Array原创 2015-01-23 18:00:57 · 411 阅读 · 0 评论 -
android 动态加载位图
package com.xujingfeng.cczu;import java.io.ByteArrayOutputStream;import java.io.IOException;import java.io.InputStream;import java.net.HttpURLConnection;import java.net.MalformedURLExcep原创 2015-01-25 21:07:19 · 443 阅读 · 0 评论 -
android 百度地图api 地理编码&反地理编码
本以为很麻烦的,结果就是百度已经提供了:地理编码&反地理编码的接口。mSearch.geocode(new GeoCodeOption().city( editCity.getText().toString()).address( editGeoCodeKey.getText().toString()));mSearch.reverseGeoCode(new Rever原创 2015-04-22 11:47:00 · 11917 阅读 · 7 评论