Android: Context Menu to Alert dialog
What do i need to change to make this display into alert dialog?

    @Override
    	    public void onCreateContextMenu(ContextMenu menu, View v,
    	            ContextMenuInfo menuInfo) {
    	        super.onCreateContextMenu(menu, v, menuInfo);
    	        menu.add(0, DELETE_ID, 0, R.string.menu_delete);
    	    }
    
    	    @Override
    	    public boolean onContextItemSelected(MenuItem item) {
    	        switch(item.getItemId()) {
    	            case DELETE_ID:
    	                AdapterContextMenuInfo info = (AdapterContextMenuInfo) item.getMenuInfo();
    	                mDbHelper.deleteNote(info.id);
    	                fillData();
    	                return true;
    	        }
    	        return super.onContextItemSelected(item);
    	    }

I'm a beginner in android so i still don't know how to implements some things. I want this to appear as alert dialog. Currently the user needs to longkeypress to activate the delete. However i want to prompt it as an alert dialog and have choices for the user to choose from if he wants to really delete it or not.
Android: Context Menu to Alert dialog
===

What do i need to change to make this display into alert dialog?

    @Override
    	    public void onCreateContextMenu(ContextMenu menu, View v,
    	            ContextMenuInfo menuInfo) {
    	        super.onCreateContextMenu(menu, v, menuInfo);
    	        menu.add(0, DELETE_ID, 0, R.string.menu_delete);
    	    }
    
    	    @Override
    	    public boolean onContextItemSelected(MenuItem item) {
    	        switch(item.getItemId()) {
    	            case DELETE_ID:
    	                AdapterContextMenuInfo info = (AdapterContextMenuInfo) item.getMenuInfo();
    	                mDbHelper.deleteNote(info.id);
    	                fillData();
    	                return true;
    	        }
    	        return super.onContextItemSelected(item);
    	    }

I'm a beginner in android so i still don't know how to implements some things. I want this to appear as alert dialog. Currently the user needs to longkeypress to activate the delete. However i want to prompt it as an alert dialog and have choices for the user to choose from if he wants to really delete it or not.