ContextMenu title -> get from clicked listView item
<p>Trying to set ContextMenu title according to the ListView clicked item.
The ListView contains Bookmarks list -> FAVICON + BOOKMARK TITLE</p>

<pre><code>@Override
    public void onCreateContextMenu(ContextMenu menu, View v, ContextMenuInfo menuInfo) {
      super.onCreateContextMenu(menu, v, menuInfo);
      menu.add(0, EDIT_ID, 0, R.string.menu_edit);
      menu.add(0, DELETE_ID, 0, R.string.menu_delete);
      menu.add(0, SHARE_ID, 0, R.string.menu_share);

      AdapterView.AdapterContextMenuInfo info = (AdapterView.AdapterContextMenuInfo)menuInfo;
      View itemID = (info.targetView);
      menu.setHeaderTitle("bla" + itemID);
    }
</code></pre>

<p>When I run this code it shows the <code>android.widget.RelativeLayout@423d2389</code> or whatever and if I change the <code>itemID</code> to <code>String itemID = ((TextView) info.targetView).getText().toString();</code> I get force close on long click even though no errors are shown in Eclipse or when I run the app.</p>

<p>I also want to get the favicon in the same way...</p>

<p>Appreciate the help!</p>
