07 2013 档案

摘要:try { Field field = dialog.getClass().getSuperclass().getDeclaredField("mShowing"); field.setAccessible(true); field.set(dialog, false); } catch (Exception e) { e.printStackTrace(); } 阅读全文
posted @ 2013-07-22 21:52 裸奔到月球 阅读(781) 评论(0) 推荐(0) 编辑
摘要:import java.sql.SQLException;import com.huawei.pom.alarm.database.dao.factory.DAOFactory;import com.huawei.pom.alarm.model.User;import com.huawei.pom.alarm.util.SPUtil;import android.app.Activity;import android.app.ProgressDialog;import android.content.Intent;import android.os.Bundle;import android. 阅读全文
posted @ 2013-07-17 17:36 裸奔到月球 阅读(865) 评论(0) 推荐(0) 编辑
摘要:package com.huawei.pom.alarm.util;import android.content.Context;import android.content.SharedPreferences;import android.content.SharedPreferences.Editor;import android.preference.PreferenceManager; public class SPUtil { private Context context; private SharedPreferences sp = null; ... 阅读全文
posted @ 2013-07-17 17:35 裸奔到月球 阅读(297) 评论(0) 推荐(0) 编辑
摘要:http://chukong.csdn.net/ 阅读全文
posted @ 2013-07-11 10:54 裸奔到月球 阅读(127) 评论(0) 推荐(0) 编辑
摘要:转自http://coolzhi.iteye.com/blog/854368google map api的V3版本已经出来好一阵子了,但是由于工作忙,所以一直没有时间去捣腾它,最近看了一下,官方说V2快不能用了,提示尽快升级到V3版本,于是赶紧学习了一下,因为刚好我的网站有使用到google map api。 V3版本已经不用再申请key了,当然,一如既往是免费的,除非你是要使用Premier版本。没有了域名限制,所以使用起来方便多了,以前是本地的和远程的都要使用不同的key,更新前不小心忘记改过来的话导致使用不了话,有时还真的想不起是这个问题。 V3版本把地址解析和反向地址解析集成到了 Go 阅读全文
posted @ 2013-07-02 16:33 裸奔到月球 阅读(685) 评论(0) 推荐(0) 编辑
摘要:Intent newIntent = new Intent();newIntent.setClass(this, another.class);List> listData = new ArrayList>();Bundle bundle = new Bundle();bundle.putSerializable(”data“, listData );newIntent.putExtras(bundle);startActivityForResult(newIntent, 0);在another类中的oncreate()方法取List> listData = new Arra 阅读全文
posted @ 2013-07-01 10:45 裸奔到月球 阅读(283) 评论(0) 推荐(0) 编辑