fragment 에서
private Activity mActivity;
@Override
public void onAttach(Activity activity){
super.onAttach(activity);
this.mActivity = activity;
}
로 activity 잡아오세요..mActivity.TelephonyManager mTelephonyMgr =(TelephonyManager)getSystemService(Context.TELEPHONY_SERVICE);