Code example for BluetoothAdapter: Communicating over Bluetooth

Methods: cancelDiscovery, isDiscovering, startDiscovery

0
	public void startGeo() { 
		lm = (LocationManager) getSystemService(Context.LOCATION_SERVICE);
	} 
	 
	private void doDiscovery() { 
		if(ba.isDiscovering()) {
			ba.cancelDiscovery();
		} 
		ba.startDiscovery();
	} 
	 
	 
	public void linkData(int index) {
		mdh = new SSCMetadataHandler(this);
		try { 
			mdh.createDatabase();
		} catch(IOException e) {}
		try { 
			mdh.openDataBase();
		} catch(SQLException e) {}
	}