上一页 1 ··· 9 10 11 12 13 14 15 16 17 ··· 19 下一页

2014年2月21日

滑动删除

摘要: 链接: http://pan.baidu.com/s/1nt4pQ57源码名称滑动删除 阅读全文

posted @ 2014-02-21 16:17 clarenceV1 阅读(145) 评论(0) 推荐(0)

滚动条旁边出现提示文字

摘要: 链接: http://pan.baidu.com/s/1sjO03Ad源码名称:滚动条旁边出现提示文字 阅读全文

posted @ 2014-02-21 15:00 clarenceV1 阅读(126) 评论(0) 推荐(0)

百度云推送demo

摘要: 百度云推送控制台地址:http://developer.baidu.com/console#push/list!appid=2242278说明文档地址:http://developer.baidu.com/wiki/index.php?title=docs/cplat/push/console#.E8.87.AA.E5.AE.9A.E4.B9.89.E6.89.93.E5.BC.80.E8.A1.8C.E4.B8.BA收到的推送信息为:下载地址:链接: http://pan.baidu.com/s/1ntoGOzv文件名:百度云推送.RAR 阅读全文

posted @ 2014-02-21 11:11 clarenceV1 阅读(695) 评论(1) 推荐(0)

2014年2月20日

点击其他地方界面消失

摘要: AlertDialog.Builder builder = new AlertDialog.Builder(this); builder.setMessage(summary); builder.setCancelable(true); Dialog dialog = builder.create(); dialog.setCanceledOnTouchOutside(true); dialog.show(); 阅读全文

posted @ 2014-02-20 17:36 clarenceV1 阅读(152) 评论(0) 推荐(0)

获取manifest中参数信息的方法

摘要: /**获取AppKey*/ public String getMetaValue() { Bundle metaData = null; String apiKey = null; try { ApplicationInfo ai =getPackageManager().getApplicationInfo( getPackageName(), PackageManager.GET_META_DATA); if (null != ai) { ... 阅读全文

posted @ 2014-02-20 17:00 clarenceV1 阅读(696) 评论(0) 推荐(0)

2014年2月18日

Android 实现全屏 无标题栏

摘要: 在进行UI设计时,我们经常需要将屏幕设置成无标题栏或者全屏。要实现起来也非常简单,主要有两种方法:配置xml文件和编写代码设置。1.在xml文件中进行配置在项目的清单文件AndroidManifest.xml中,找到需要全屏或设置成无标题栏的Activity,在该Activity进行如下配置即可。实现全屏效果:android:theme="@android:style/Theme.NoTitleBar.Fullscreen"实现无标题栏(但有系统自带的任务栏):android:theme="@android:style/Theme.NoTitleBar" 阅读全文

posted @ 2014-02-18 14:58 clarenceV1 阅读(185) 评论(0) 推荐(0)

android网络类型判断

摘要: 判断网络类型是wifi,还是3G,还是2G网络,对不同的网络进行不同的处理,现将判断方法整理给大家,以供参考说明:下面用到的数据移动2G,联通2G,联通3G,wifi我都已经测试过,暂时手上没有电信的卡,所以没有验证,有电信手机的同事,可以验证一下,验证后将结果发送给大家。ConnectivityManagerconnectMgr=(ConnectivityManager)this.getSystemService(Context.CONNECTIVITY_SERVICE);NetworkInfoinfo=connectMgr.getActiveNetworkInfo();一、判断网络是否是w 阅读全文

posted @ 2014-02-18 14:31 clarenceV1 阅读(255) 评论(0) 推荐(0)

2014年2月17日

通过android自动定位功能获取地理位置

摘要: package csd.sed;import java.io.IOException;import java.util.List;import android.app.Activity;import android.content.Context;import android.location.Address;import android.location.Criteria;import android.location.Geocoder;import android.location.Location;import android.location.LocationListener;impo 阅读全文

posted @ 2014-02-17 16:33 clarenceV1 阅读(379) 评论(0) 推荐(0)

2014年2月10日

使用缓存技术,大量加载网络图片

摘要: 链接: http://pan.baidu.com/s/1bnrehUv 阅读全文

posted @ 2014-02-10 13:47 clarenceV1 阅读(114) 评论(0) 推荐(0)

ExpandableList 分组列表

摘要: 源码下载:链接: http://pan.baidu.com/s/1i3uo1Vn 文件名:ExpandableListView.rar 阅读全文

posted @ 2014-02-10 12:41 clarenceV1 阅读(102) 评论(0) 推荐(0)

上一页 1 ··· 9 10 11 12 13 14 15 16 17 ··· 19 下一页

导航