SleepMillSeconds=5*60*1000;
这个是5分钟啊,不是10秒在
catch(InterruptedException ex)
{
ex.printStackTrace(); //加上输出看是否有出错信息
}在uiHandler.sendEmptyMessage(168); 这个前面和后面分别加上
Log.i("test", "--->Start<----")
uiHandler.sendEmptyMessage(168);
Log.i("test", "--->Finish<----")另外,Thread.sleep(SleepMillSeconds);建议换成: synchronized(this)
{
try
{
wait(SleepMillSeconds); //等待
}
catch (InterruptedException e)
{
// TODO Auto-generated catch block
e.printStackTrace();
}
}还有,试着将SleepMillSeconds改小点。
这个是5分钟啊,不是10秒在
catch(InterruptedException ex)
{
ex.printStackTrace(); //加上输出看是否有出错信息
}在uiHandler.sendEmptyMessage(168); 这个前面和后面分别加上
Log.i("test", "--->Start<----")
uiHandler.sendEmptyMessage(168);
Log.i("test", "--->Finish<----")另外,Thread.sleep(SleepMillSeconds);建议换成: synchronized(this)
{
try
{
wait(SleepMillSeconds); //等待
}
catch (InterruptedException e)
{
// TODO Auto-generated catch block
e.printStackTrace();
}
}还有,试着将SleepMillSeconds改小点。
解决方案 »
- 一个插入联系人的小程序,求解释一行代码。。
- android手机实现显示蓝牙耳机电量的需求,求大牛给提示。。
- 有关startActivityForResult()和onActivityResult()之疑惑?
- android上用sqlite报错,求各位大侠解答
- Location of the andriod SDK has not been set up in the preferrence
- ListView中如何更改当前浏览的index
- android AsyncTask
- Android平台的源代码怎么这么混乱,各处代码都不一致啊?
- The content of the adapter has changed but ListView did not receive ...
- 如何将sqlite的数据库直接运用
- android双卡机apn拨号问题
- intent 转换Activity问题
后面加句log,看看有没有走。