Code example for GooglePlayServicesNotAvailableException

Methods: printStackTrace

0
			try { 
				// Force initialization of the Google Play Services 
				// See http://stackoverflow.com/questions/13905230/mapview-and-cameraupdate-in-api-v2 
				MapsInitializer.initialize(getActivity());
			} catch (GooglePlayServicesNotAvailableException e) {
				e.printStackTrace();
			} 
		} 
	} 
 
	/** 
	 * Returns the actual map object contained in the internally managed MapView 
	 * @return A GoogleMap that can be further manipulated to adjust camera, add markers, etc. 
	 */ 
	protected GoogleMap getMap() {
		return map.getMap();
	} 
 
	/** 
	 * Returns the now-managed map view tight to this fragment 
Experience pair programming with AI  Get Codota for Java