I am trying to add the ability for a user to add an item to a context menu.The XML array for the menu is currently:\[code\]<array name="serverchoice"> <item>@string/chicago_server</item> <item>@string/london_server</item> <item>@string/sanjose_server</item> <item>@string/washington_server</item> <item>@string/chicagoq_server</item> <item>@string/londonq_server</item> <item>@string/sanjoseq_server</item> <item>@string/washingtonq_server</item></array>\[/code\]As you can see it's a list of servers, I'd like a user to be able to add their own server rather than having to use the preset servers.I have created a page with a text box and a button so a user can enter a server. When the user clicked the Add Server button I'd like the entry to be added to the list.The way I'm currently processing the menu items when clicked is below:\[code\] // Choose Server method private void openServerDialog() { new AlertDialog.Builder(this) .setTitle(R.string.server_title) .setItems(R.array.serverchoice, new DialogInterface.OnClickListener() { public void onClick(DialogInterface dialoginterface, int i) { setServer(i); } }) .show(); }private void setServer(int i) { if (String.valueOf(i).equals("0")){ CustomServer.setText("mcsord.visualware.com"); } else if (String.valueOf(i).equals("1")){ CustomServer.setText("mcslhr.visualware.com"); } else if (String.valueOf(i).equals("2")){ CustomServer.setText("mcssjc.visualware.com"); } else if (String.valueOf(i).equals("3")){ CustomServer.setText("mcsiad.visualware.com"); } else if (String.valueOf(i).equals("4")){ CustomServer.setText("qualitytestord.visualware.com"); } else if (String.valueOf(i).equals("5")){ CustomServer.setText("qualitytestlhr.visualware.com"); } else if (String.valueOf(i).equals("6")){ CustomServer.setText("qualitytestsjc.visualware.com"); } else if (String.valueOf(i).equals("7")){ CustomServer.setText("qualitytestiad.visualware.com"); }}\[/code\]So my next question is how would I then process the new entry.Either way the first step is getting the new entry added to the list.Any help would be great.Thanks