onContextItemSelected Error
<p>I having some difficulty implementing a context menu into my android application. My first problem was I was trying to implement OnCreateContextMenu inside of OnCreate but I kept getting an error saying: </p>

<blockquote>
  <p>void is an invalid type for the variable onCreateContextMenu</p>
</blockquote>

<p>I fixed this problem by putting <code>onCreateContextMenu</code> outside of OnCreate. Now my problem lies with <code>OnContextItemSelected</code>. My error occurs on the line: <code>public boolean onContextItemSelected(MenuItem menu)</code>. The errors are: </p>

<blockquote>
  <ul>
  <li>implements android.view.View.OnLongClickListener.onLongClick</li>
  <li>Syntax error, insert "}" to complete MethodBody</li>
  </ul>
</blockquote>

<p>Here is the code:</p>

<pre><code>BaconStripsButton.setOnLongClickListener(new View.OnLongClickListener() {
            public boolean onLongClick(View v) {
                // TODO Auto-generated method stub
                 boolean onContextItemSelected(MenuItem item)
                 {
                 if (item.itemId() = 0)
                 {
                     Toast ringtone = Toast.makeText(startingPoint.this, "Ringtone added Successfully!", Toast.LENGTH_SHORT);
                 return true;
                 }
                return false;
                 }
            }
        });
</code></pre>

<p>Any help would be appreciated. Thanks, Justin</p>
