Code example for Location

Methods: setProvider

0
	} 
 
	public void onStoreLocation(View view) {
		Log.i(TAG, "onStoreLocation");
		storedLocation = currentLocation;
		storedLocation.setProvider("stored");
 
		dbAdapter.addLocation(storedLocation);
 
		setStoredLocation(storedLocation);
	} 
 
	public void onEmailData(View view) {
		Log.i(TAG, "onEmailData()");
		EmailDataTask emailDataTask = new EmailDataTask();
		emailDataTask.execute();
	} 
 
	 
	private class EmailDataTask extends AsyncTask<String, Void, String> {
		@Override