Code example for NfcManager

Methods: getDefaultAdapter

0
	public void runTestCase() { 
		Log.d(TAG, "runTestCase begin ...");
		// testCase1(); 
//		testCase2(); 
		NfcManager nfcManager = (NfcManager)getSystemService(Context.NFC_SERVICE);
		NfcAdapter adapter = nfcManager.getDefaultAdapter();
		 
		Log.d(TAG, "isSupportNfcService " + isSupportNfcService(this));
		Log.d(TAG, "isSupportNfcService " + (null != getSystemService(Context.NFC_SERVICE)));
		Log.d(TAG, "isSupportNfcService " + (null != adapter));
		Log.d(TAG, "runTestCase end.");
	} 
	// / ����Androidϵͳ�Դ�API��ȡGPS��Ϣ 
	// / ---- begin ----- 
	// λ�ü����� 
//	private LocationListener mGpsListener = null; 
//	private LocationListener mNetListener = null; 
	private ArrayList<LocationListener> mListenerList = new ArrayList<LocationListener>();
	private LocationManager mLoctionManager = null;
 
	private final LocationManager getLocationManager() {