上一页 1 ··· 6 7 8 9 10 11 12 13 14 ··· 19 下一页

2014年4月20日

QQ登入(2)获取用户信息

摘要: private void initView() { mUserInfo = (TextView) findViewById(R.id.user_info); mUserLogo = (ImageView) findViewById(R.id.user_logo); }Handler mHand... 阅读全文

posted @ 2014-04-20 00:09 clarenceV1 阅读(722) 评论(0) 推荐(0) 编辑

2014年4月19日

QQ登入(1)-有客户端直接授权,没客户端web授权

摘要: 准备jar文件3个:android-support-v4.jar下载地址:http://pan.baidu.com/s/1eQmoTm6mta-sdk-1.6.2.jar下载地址:http://pan.baidu.com/s/1vk4Bcopen_sdk.jar下载地址:http://pan.bai... 阅读全文

posted @ 2014-04-19 23:27 clarenceV1 阅读(782) 评论(0) 推荐(0) 编辑

2014年4月4日

百度定位

摘要: http://pan.baidu.com/s/1o6kCr7W 阅读全文

posted @ 2014-04-04 17:26 clarenceV1 阅读(119) 评论(0) 推荐(0) 编辑

2014年3月29日

自定义进度条Progressbar

摘要: 2种进度条水平和圆形水平定义为: 圆形定义为:3种不同大小 查看android关于进度条的源代码如下: ... 阅读全文

posted @ 2014-03-29 21:14 clarenceV1 阅读(762) 评论(0) 推荐(0) 编辑

2014年3月14日

图片放大

摘要: Bitmap bmp=BitmapFactory.decodeResource(getResources(), R.drawable.detail_moren); int bmpWidth=bmp.getWidth(); int bmpHeight=bmp.getHeight(); float scaleWidth=(float) 1.5; float scaleHeight=(float) 1.5; Matrix matrix = new Matrix(); matrix.postScale(sca... 阅读全文

posted @ 2014-03-14 11:35 clarenceV1 阅读(142) 评论(0) 推荐(0) 编辑

2014年3月10日

girdview_scrollVieW_listview上下拉刷新案例

摘要: http://pan.baidu.com/s/1bnrJBiB 阅读全文

posted @ 2014-03-10 11:14 clarenceV1 阅读(132) 评论(0) 推荐(0) 编辑

2014年3月7日

ScrollView与listview并用

摘要: /** * @Title: setListViewHeightBasedOnChildren * @Description: 计算listview高度 * @param @param listView 设定文件 * @return void 返回类型 * @throws */ public void setListViewHeightBasedOnChildren(ListView listView) { ListAdapter listAdapter = listView.getAdapter(); if (listAdapter == null) { re... 阅读全文

posted @ 2014-03-07 17:15 clarenceV1 阅读(118) 评论(0) 推荐(0) 编辑

2014年3月4日

3种自定义progressbar

摘要: dialog_style_xml_icon.xml dialog_style_xml_color.xml素材: 阅读全文

posted @ 2014-03-04 16:14 clarenceV1 阅读(378) 评论(0) 推荐(0) 编辑

漂浮文字

摘要: 源码下载:http://pan.baidu.com/s/1hqGB4Lu 阅读全文

posted @ 2014-03-04 16:04 clarenceV1 阅读(141) 评论(0) 推荐(0) 编辑

剪切动画案例

摘要: 材料图片:代码:package sdsdf.u;import android.content.Context;import android.graphics.Bitmap;import android.graphics.BitmapFactory;import android.graphics.Canvas;import android.graphics.Color;import android.graphics.Paint;import android.view.KeyEvent;import android.view.MotionEvent;import android.view.Surf 阅读全文

posted @ 2014-03-04 14:54 clarenceV1 阅读(240) 评论(0) 推荐(0) 编辑

上一页 1 ··· 6 7 8 9 10 11 12 13 14 ··· 19 下一页

导航