android send fragment context code example Example: android send fragment context // use: getActivity(); // This will be your activity context!