<?xml version="1.0" encoding="utf-8"?><feed xmlns="http://www.w3.org/2005/Atom"><title type="text">博客园_Terry_龙_分类_Android-&gt;Framework</title><id>http://feed.cnblogs.com/blog/u/65692/category/339314/rss</id><updated>2012-05-28T19:39:53Z</updated><generator>feed.cnblogs.com</generator><link rel="alternate" type="text/html" href="http://www.cnblogs.com/TerryBlog/category/339314.html"/><link rel="self" type="application/atom+xml" href="http://feed.cnblogs.com/blog/u/65692/category/339314/rss"/><entry><id>http://www.cnblogs.com/TerryBlog/archive/2012/04/20/2458861.html</id><title type="text">Android 框架层为IMountService 增加新接口</title><summary type="text">在为Android 增加多分区的支持时，可能会需要获得当前 USB 连接的挂载口，可能标准的Android 框架并未提供这样的接口给开发者，这时就需要我们自己为它提供接口了。先来看一下上层（应用）如何得到一个IMountService 的。privatesynchronizedIMountServicegetMountService(){if(mMountService==null){IBinderservice=ServiceManager.getService("mount");if(service!=null){mMountService=IMountService.</summary><published>2012-04-20T02:10:00Z</published><updated>2012-04-20T02:10:00Z</updated><author><name>Terry_龙</name><uri>http://www.cnblogs.com/TerryBlog/</uri></author><link rel="alternate" href="http://www.cnblogs.com/TerryBlog/archive/2012/04/20/2458861.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/TerryBlog/archive/2012/04/20/2458861.html"/><content type="html"/></entry></feed>
