// Path: at.attentec.com/android/at.attentec.client/src/com/attentec/AttentecService.java
// public interface ServiceUpdateUIListener {
// 	/** Tell UI to update. */
// 	void updateUI();
// 
// 	/** End UI Activity. */
// 	void endActivity();
// }


import java.io.ByteArrayInputStream;
import java.text.ParseException;
import java.util.Date;
import android.app.Dialog;
import android.content.SharedPreferences;
import android.content.res.Resources;
import android.database.Cursor;
import android.graphics.Bitmap;
import android.graphics.BitmapFactory;
import android.graphics.drawable.ColorDrawable;
import android.graphics.drawable.Drawable;
import android.os.Bundle;
import android.util.Log;
import com.attentec.AttentecService.ServiceUpdateUIListener;
import com.google.android.maps.GeoPoint;
import com.google.android.maps.MapActivity;
import com.google.android.maps.MapController;
import com.google.android.maps.MapView;
import com.google.android.maps.MyLocationOverlay;

		}
		if (dbh.getContactEmail(dialogid).length() > MINIMUM_ACCEPTED_CONTACT_INFO_LENGTH) {
			hasThings += ContactDialogCreator.DIALOG_HAS_EMAIL;
		}
		if (dbh.isLocationFresh(dialogid)) {
			String lat = dbh.getContactLatitude(dialogid);
			if (lat != null && !lat.equals("null") && !lat.equals("")) {
				hasThings += ContactDialogCreator.DIALOG_HAS_LOCATION;
			}
		}
		showDialog(hasThings);
	}

	@Override
	protected final void onPrepareDialog(final int id, final Dialog dialog) {
		dialog.setTitle(res.getString(R.string.contact) + " " + dbh.getContactName(dialogid) + ":");
		cdc.setDialogId(dialogid);
	}

	@Override
	protected final Dialog onCreateDialog(final int id) {
		cdc.setDialogType(id);
		return cdc.getDialog();
	}

	@Override
	protected final void onDestroy() {
		cdc = null;
		AttentecService.setCloseToYouUpdateListener(null);
		dbh.close();

// Path: at.attentec.com/android/at.attentec.client/src/com/attentec/AttentecService.java
// public interface ServiceUpdateUIListener {
// 	/** Tell UI to update. */
// 	void updateUI();
// 
// 	/** End UI Activity. */
// 	void endActivity();
// }


// Path: at.attentec.com/android/at.attentec.client/src/com/attentec/CloseToYou.java
import java.io.ByteArrayInputStream;
import java.text.ParseException;
import java.util.Date;
import android.app.Dialog;
import android.content.SharedPreferences;
import android.content.res.Resources;
import android.database.Cursor;
import android.graphics.Bitmap;
import android.graphics.BitmapFactory;
import android.graphics.drawable.ColorDrawable;
import android.graphics.drawable.Drawable;
import android.os.Bundle;
import android.util.Log;
import com.attentec.AttentecService.ServiceUpdateUIListener;
import com.google.android.maps.GeoPoint;
import com.google.android.maps.MapActivity;
import com.google.android.maps.MapController;
import com.google.android.maps.MapView;
import com.google.android.maps.MyLocationOverlay;

		}
		if (dbh.getContactEmail(dialogid).length() > MINIMUM_ACCEPTED_CONTACT_INFO_LENGTH) {
			hasThings += ContactDialogCreator.DIALOG_HAS_EMAIL;
		}
		if (dbh.isLocationFresh(dialogid)) {
			String lat = dbh.getContactLatitude(dialogid);
			if (lat != null && !lat.equals("null") && !lat.equals("")) {
				hasThings += ContactDialogCreator.DIALOG_HAS_LOCATION;
			}
		}
		showDialog(hasThings);
	}

	@Override
	protected final void onPrepareDialog(final int id, final Dialog dialog) {
		dialog.setTitle(res.getString(R.string.contact) + " " + dbh.getContactName(dialogid) + ":");
		cdc.setDialogId(dialogid);
	}

	@Override
	protected final Dialog onCreateDialog(final int id) {
		cdc.setDialogType(id);
		return cdc.getDialog();
	}

	@Override
	protected final void onDestroy() {
		cdc = null;
		AttentecService.setCloseToYouUpdateListener(null);
		dbh.close();

		Log.d(TAG, "CloseToYou onDestroy");
