I have found the solution. Perhaps this may help others in creating
an OPTIONS MENU in their application.
Here's the code:
package com.calculator;
import android.app.Activity;
import android.content.Intent;
import android.graphics.Color;
import android.os.Bundle;
import android.view.Menu;
impor
Thanks for the advise. I did make a mistake in the subject line. I
am attempting to create an OPTIONS menu not a context menu.
With that method and my code, how can I execute the setup.java
(class)? Isn't the ".setIntent(new Intent(this, setup.class));" the
method to execute the code in the set
hello rb,
You also need to override following method along with
onCreateOptionsMenu().
@Override
public boolean onOptionsItemSelected(MenuItem item) {
}
HTH
JC
On Sep 24, 3:42 pm, Brion Emde wrote:
> You should look at the Context menu examples in this
> article:http://developer.android.com/g
You should look at the Context menu examples in this article:
http://developer.android.com/guide/topics/ui/menus.html
You are setting up an Options menu, not a context menu.
On Sep 23, 7:40 pm, rb wrote:
> Hi,
>
> I am attempting to create a simple context menu that will show another
> screen an
4 matches
Mail list logo