摘要:
步骤如下: (1)定义一个Service,名为MyService 继承自 Service。在onCreate方法中声明以下语句: Intent intent = new Intent(); //声明一个intent intent.putExtra("key",value); //放数据 intent 阅读全文
posted @ 2020-04-26 17:04
现代新青年
阅读(398)
评论(0)
推荐(0)
|
摘要:
步骤如下: (1)定义一个Service,名为MyService 继承自 Service。在onCreate方法中声明以下语句: Intent intent = new Intent(); //声明一个intent intent.putExtra("key",value); //放数据 intent 阅读全文
posted @ 2020-04-26 17:04
现代新青年
阅读(398)
评论(0)
推荐(0)
|