[笔记] Android Service 使用注意事项
来源:互联网 发布:国民生产总值c语言 编辑:程序博客网 时间:2024/05/21 10:21
1. The service remains running until it stops itself with stopSelf() or another component stops it by calling stopService().
2. If a component calls bindService() to create the service (and onStartCommand() is not called), then the service runs only as long as the component is bound to it. Once the service is unbound from all clients, the system destroys it.
参考链接:http://developer.android.com/guide/components/services.html
0 0
- [笔记] Android Service 使用注意事项
- Service使用及注意事项
- Android Service在测试工程中使用的注意事项
- Android基础笔记(十一)- Service基础和注意事项以及Activity与Service的通信
- Android基础笔记(十一)- Service基础和注意事项以及Activity与Service的通信
- anroid Remote Service 使用注意事项
- Service总结及使用注意事项
- Android开发笔记---service的简单使用
- [Android学习笔记]使用Android Junit进行测试的注意事项
- 学习笔记17 用盘古分词器+window service+lucene.net 使用注意事项
- 【笔记】关于android中shape使用的注意事项
- Android 用Google Service定位设置注意事项
- Android 服务(Service)几点注意事项
- service中使用Toast.makeText的注意事项
- service注意事项
- Android Service 笔记
- Android Service 笔记
- Android Service 笔记
- 【java】井字游戏
- asm磁盘相关
- 百万级PHP网站架构工具箱
- table中的colspan和rowspan
- 网络连接错误代码大全及处理办法
- [笔记] Android Service 使用注意事项
- Linux shell少见用法和技巧
- 自由人——互联网实现了自由人的自由联合,这是一个天翻地覆的时代
- 产品设计原型制作工具【mark】
- PB源码如何配置连接数据库
- create a bootable USB stick
- 忘记电脑登录密码该怎么处理?
- 不要只甘于做一个程序员
- 合数乘积