Alert Confirmation dialog Android
<p>guys I've been trying to solve this problem but I couldn't </p>

<p>I want when the user click on the btn_delete he will get a message to insure the delete (Yes or No), I've tried a lot of methods but I don't know exactly what's the problem, I'm new in Android programing so forgive me for my stupid questions, here is my Java code :</p>

<pre><code>public void onDeleteClick(View v) {
    int i = Integer.parseInt((String)v.getTag());
    Address address = _list.get(_currentPage*PANELS_PER_PAGE + i);
    _dbAdapter.deleteAddress(address.Id);

    _GetAddresses();
}
</code></pre>