随笔分类 -  代码分析

摘要:Android系统给应用提供了两种类型的服务:启动型本地服务和绑定型本地服务,这两种服务的详细信息请参考“Android Service开发指南”Android Service开发指南原文网址如下:http://developer.android.com/guide/topics/fundamentals/services.htmlhttp://developer.android.com/guide/topics/fundamentals/bound-services.html本文通过代码向大家详细介绍和演示这两种的服务的创建过程,代码适用于Android2.3.3以后的版本。1.定义清单文件 阅读全文
posted @ 2012-04-28 14:17 andriod2012 阅读(3343) 评论(0) 推荐(1) 编辑
摘要:<?xml version="1.0" encoding="utf-8"?><!-- Copyright (C) 2006 The Android Open Source Project Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License a 阅读全文
posted @ 2012-03-31 19:40 andriod2012 阅读(933) 评论(0) 推荐(0) 编辑
摘要:<?xml version="1.0" encoding="utf-8"?><!-- Copyright (C) 2006 The Android Open Source Project Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License a 阅读全文
posted @ 2012-03-31 19:39 andriod2012 阅读(1344) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示