12 2015 档案

摘要://获取屏幕的宽度public static int getScreenWidth(Context context) {WindowManager manager = (WindowManager) context.getSystemService(Context.WINDOW_SERVICE);D... 阅读全文
posted @ 2015-12-29 12:04 蜗牛眼里的世界 阅读(155) 评论(0) 推荐(0)
摘要:1.在mainfest.xml中注册 2.设置监听(设置计时器,不定时去检查服务)public class BootBroadCast extends BroadcastReceiver { @Override public void onReceive(Context conte... 阅读全文
posted @ 2015-12-28 12:41 蜗牛眼里的世界 阅读(3139) 评论(0) 推荐(0)
摘要:package com.asc.db; import android.content.ContentValues; import android.content.Context; import android.database.Cursor; import android.databas... 阅读全文
posted @ 2015-12-15 16:58 蜗牛眼里的世界 阅读(675) 评论(0) 推荐(0)
摘要:import java.util.Stack; import android.app.Activity; import android.app.ActivityManager; import android.content.Context; /** * * @ClassName: com.qust.... 阅读全文
posted @ 2015-12-15 12:31 蜗牛眼里的世界 阅读(340) 评论(0) 推荐(0)
摘要:请求处理基本类public class BaseResponseHandler extends JsonHttpResponseHandler { Context context; LoadingDialog loadingDialog; PullToRefreshListView listview... 阅读全文
posted @ 2015-12-10 18:21 蜗牛眼里的世界 阅读(512) 评论(0) 推荐(0)
摘要: 阅读全文
posted @ 2015-12-10 12:00 蜗牛眼里的世界 阅读(128) 评论(0) 推荐(0)
摘要:public class HttpClientUtils { private static String sessionId = null; private static AsyncHttpClient client = new AsyncHttpClient(); private... 阅读全文
posted @ 2015-12-10 11:32 蜗牛眼里的世界 阅读(238) 评论(0) 推荐(0)
摘要:textView.getPaint().setFlags(Paint. UNDERLINE_TEXT_FLAG ); //下划线 textView.getPaint().setAntiAlias(true);//抗锯齿 textView.getPaint(... 阅读全文
posted @ 2015-12-08 10:58 蜗牛眼里的世界 阅读(285) 评论(0) 推荐(0)