I am making a menu for my menu... i am using the following code..

switch(item.getItemId()){
case R.id.aboutUs

break;

case R.id.feedback:

break;


}

gave an error, "Migrate Android Code" , eclipse converted it into if
else statment as below, from the android site,
still getting the same error



int id =  item.getItemId();

if (id == R.id.abooutUs) {}
else if (id == R.id.feedback) {
}
else if (id == R.id.exit) {}


}


on the android site it says that the "R" file is now like "public
static int menu=0x7f050000;"
but mine is still "public static final int menu=0x7f050000;".  i mean
the "final" type.

plz help me out.. i m new to android...


-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to