摘要:
定义一个Service,每隔一秒钟,变量count增加1;在Activity里bindService,然后利用new Timer() 和 Handler,每隔一秒利用IBinder实例mBinder的getNumber()方法读取count的最新值,并显示在TextView.首次运行,报错。Debu... 阅读全文
posted @ 2014-06-18 11:49
Rocky_Lin
阅读(410)
评论(0)
推荐(0)
浙公网安备 33010602011771号