摘要:
package cn.itcast.mobilesafe.service;import java.io.File;import android.app.ProgressDialog;import android.database.Cursor;import android.database.sqlite.SQLiteDatabase;import android.os.Environment;import cn.itcast.mobilesafe.util.DownLoadManager;/* * 提供方法, 查询某个号码所对应的归属地 * 1. 要把数据库 引入到程序里 * assets.. 阅读全文
posted @ 2012-07-24 19:25
ligang305
阅读(2443)
评论(0)
推荐(0)
摘要:
Bundle bundle = new Bundle();bundle.putSerializable("puds",new Object("需实现serializable接口")); 阅读全文
posted @ 2012-07-24 18:48
ligang305
阅读(856)
评论(0)
推荐(1)
摘要:
1.ActivityA 首先通过 startService() 启动一个服务 // 后台长期2.ActivityB 调用bindService() 去绑定一个服务3.ActivityB destroy的时候 时候service是不会被销毁的如果想手动的干掉service 1. 首先手动的unbindService();2. stopService();service connetion leak ... 阅读全文
posted @ 2012-07-24 07:20
ligang305
阅读(144)
评论(0)
推荐(0)

浙公网安备 33010602011771号