[android-developers] Re: How to add menu item dynamically

2008-12-01 Thread Eric Mill
You could just have a piece of code that reads in the text file, parses it into an array of items, and then loops through that array to add the items to the menu. It's not conceptually different than doing it statically. The XML inflate method isn't going to work for dynamic data, so it'll have

[android-developers] Re: How to add menu item dynamically

2008-12-01 Thread Xavier Mathews
What About Using RSS Method With Arrays? On 12/01/2008, Eric Mill [EMAIL PROTECTED] wrote: You could just have a piece of code that reads in the text file, parses it into an array of items, and then loops through that array to add the items to the menu. It's not conceptually different than

[android-developers] Re: How to add menu item dynamically

2008-12-01 Thread souvik
Thanks for the suggestion... Can u please provide a peice of code for this!!! -piku On Dec 2, 5:03 am, Eric Mill [EMAIL PROTECTED] wrote: You could just have a piece of code that reads in the text file, parses it into an array of items, and then loops through that array to add the items to