android getSystemService(系统服务)学习

context.getSystemService(Context.xxx_SERVICE)是Android很重要的一个API, 它是Activity的一个方法,根据传入的NAME来取得对应的Object,然后转换成相应的服务对象。以下介绍系统相应的服务。

public Object getSystemService (String name)










猜你喜欢

转载自forlan.iteye.com/blog/2261609