View Single Post
Old 11-17-2007, 06:02 AM   #1 (permalink)
Knows Where the Search Button Is
Join Date: Aug 2007
Model: 8100
Carrier: cingular
Posts: 33
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default Unable to delete Change Language Option from the Menu

Please Login to Remove!


I'm trying to delete the "change language" option from the menu.
for (int i = 0; i < size; i++) { // System.out.println("00track 1--"+i);
int id = _menu.getItemId(i);
// System.out.println("00track 2--"+id);
// System.out.println("00track 3");
MenuItem item = _menu.getDefault();
// System.out.println("00track 4");
System.out.println("MenuItem detail--" + item.toString());
//if(item.toString().equalsIgnoreCase("Clear Field"))
if (item.toString().equalsIgnoreCase("Change Language"))
delId = i;
I'm able to delete the "Clear Field" option with this code,but failing with "Change Language".

Please help!

Last edited by rock_win : 11-17-2007 at 06:04 AM.
Offline   Reply With Quote