011-frament中不能调用getSystemService()方法 报错如图: 解决方法: fragment中没有getSystemService这个方法,如果你要用的话,应该把Context传过去