<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/"><channel><title>Service on 领风沐雨</title><link>https://blog.zdltech.com/tags/service/</link><description>Recent content in Service on 领风沐雨</description><generator>Hugo</generator><language>zh-cn</language><lastBuildDate>Fri, 21 Nov 2014 07:13:42 +0000</lastBuildDate><atom:link href="https://blog.zdltech.com/tags/service/index.xml" rel="self" type="application/rss+xml"/><item><title>Android获得手机所有应用（非系统）、正在运行的Service和Activity</title><link>https://blog.zdltech.com/posts/android%E8%8E%B7%E5%BE%97%E6%89%8B%E6%9C%BA%E6%89%80%E6%9C%89%E5%BA%94%E7%94%A8%E9%9D%9E%E7%B3%BB%E7%BB%9F%E6%AD%A3%E5%9C%A8%E8%BF%90%E8%A1%8C%E7%9A%84service%E5%92%8Cactivi/</link><pubDate>Fri, 21 Nov 2014 07:13:42 +0000</pubDate><guid>https://blog.zdltech.com/posts/android%E8%8E%B7%E5%BE%97%E6%89%8B%E6%9C%BA%E6%89%80%E6%9C%89%E5%BA%94%E7%94%A8%E9%9D%9E%E7%B3%BB%E7%BB%9F%E6%AD%A3%E5%9C%A8%E8%BF%90%E8%A1%8C%E7%9A%84service%E5%92%8Cactivi/</guid><description>Android中获得系统运行的进程、获得当前正在运行的service、 获得当前正在运行的activity、 获得最近运行的应用、获取手机内所有应用（非系统应用） 直接上代码，布局文件就是一个TextView 直接创建Activity后删除Activity中所有内容，复制下面代码直接就能运行 pri...</description></item></channel></rss>