import android.content.Context;
import android.content.DialogInterface;
import android.content.Intent;
import android.net.Uri;
import android.widget.Toast;
import android.app.AlertDialog;
class Tools {
/**
* Helper Alert
* @param title
* @param message
*/
public static void AlertDialog(final Context ctx, final CharSequence title, final CharSequence message) {
new AlertDialog.Builder(ctx)
// .setIcon(R.drawable.icon)
.setTitle(title)
.setMessage(message)
.setPositiveButton("Dismiss", new DialogInterface.OnClickListener() {
public void onClick(DialogInterface dialog, int whichButton) {
}
})
.show();
}
}