android service 面试

android service 面试 service 生命周期 StartService步骤 1、定义一个类继承于Service 2、在Manifest.xml文件中配置该Service 3、使用Context的startService(Intent)方法启动该Service 4、不再使用时使用stopService(Intent)方法停止该服务 BindService步骤 1、定义一个类继承Se
相关文章
相关标签/搜索