732003684

导航

04 2013 档案

关于从相册取出图片后,图片不能按原来角度显示的问题解决方案
摘要:(在F:\java\心情秀)1、取得图片本身的角度/** * 获得图片的角度进行修正 */ private int readPicDegree(String path){ int degree = 0; try { ExifInterface exifInterface = new ExifInterface(path); int orientation = exifInterface.getAttributeInt( ExifInterface.TAG_ORIE... 阅读全文

posted @ 2013-04-17 17:01 732003684 阅读(235) 评论(0) 推荐(0) 编辑

上传数据到服务器以及从服务器下载数据
摘要:1、json格式上传数据/** * * 功能说明:用户登陆操作创建时间:2012-11-7 下午4:03:41 * * @param name * 用户名 * @param password * 密码 void * @throws JSONException * */ public static LoginResponse login(String name, String password) { JSONObject jsonObject = ... 阅读全文

posted @ 2013-04-17 11:25 732003684 阅读(689) 评论(0) 推荐(0) 编辑

有关popupwindow
摘要:http://orgcent.com/android-popupwindow-usage/ 阅读全文

posted @ 2013-04-14 16:04 732003684 阅读(110) 评论(0) 推荐(0) 编辑

android消息推送的比较不错的文章
摘要:http://blog.csdn.net/lganggang131/article/details/7441854http://www.cnblogs.com/devinzhang/archive/2012/02/16/2354981.htmlhttp://hi.baidu.com/fenghuang1207/item/e18ff1a5dd4293268919d389 阅读全文

posted @ 2013-04-09 10:32 732003684 阅读(110) 评论(0) 推荐(0) 编辑

随手记(1)
摘要:/**检测网络状态*/private boolean isNetWorkAvaiable(){mConnMan = (ConnectivityManager)getSystemService(CONNECTIVITY_SERVICE);NetWorkInfo info = mConnMan.getActiveNetWork();if(info==null){ return false; }reurn info.isContected();}/***服务停掉自身**/stopSelf();/**轮询的方式(handler)**/private Handler handler = ne... 阅读全文

posted @ 2013-04-09 10:16 732003684 阅读(179) 评论(0) 推荐(0) 编辑

DatasetObserver与ContentObserver
摘要:http://blog.csdn.net/zhaoweixing1989/article/details/7180724 阅读全文

posted @ 2013-04-08 16:42 732003684 阅读(138) 评论(0) 推荐(0) 编辑

各种自定义动画效果
摘要:package com.ct.anim;import android.app.Activity;import android.graphics.drawable.AnimationDrawable;import android.os.Bundle;import android.view.Menu;import android.view.View;import android.view.View.OnClickListener;import android.view.animation.AlphaAnimation;import android.view.animation.Animation; 阅读全文

posted @ 2013-04-02 22:00 732003684 阅读(668) 评论(0) 推荐(0) 编辑

listview item飞入和删除动画效果
摘要:(在F:\java\测试listview的item动画效果) 阅读全文

posted @ 2013-04-02 20:01 732003684 阅读(384) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示