Android的service两种开启方式和UI操作(子线程)2020-09-07
Android的两种开启关闭Service和异步处理UI控件这其中包括5个按钮startService,stopService,binderService,unBinderService,changeTextView,前两个按钮是为了展示第一种开启服务的方法,带binder的是第二种绑定binder开启服务的方法,最后一个是强制修改控件的Text的文本内容:代码:我创建了两个Service第一个MyService(startService,stopService):package com.examp
原创
2020-09-07 21:33:00 ·
942 阅读 ·
0 评论