Code example for GooglePlayServicesNotAvailableException

Methods: printStackTrace

0
		super.onCreate(savedInstanceState);		 
		try { 
			MapsInitializer.initialize(getActivity()); 
		} catch (GooglePlayServicesNotAvailableException e) { 
			// TODO Auto-generated catch block 
			e.printStackTrace(); 
		} 
		StartListening();	 
	} 
 
	 
	 
	@Override 
	public View onCreateView(LayoutInflater inflater, ViewGroup container, 
			Bundle savedInstanceState) { 
		// Inflate the layout for this fragment 
 
		View v = inflater.inflate(R.layout.fragment_home, container, false); 
		this.map = ((SupportMapFragment)getFragmentManager().findFragmentById(R.id.map_fragment)).getMap();