I am new at developing Android apps. What I want to do is get data to store into an array and display that data into a list activity view. In a way, the app is going to be similar to a parsed tree where click on one item in the list will take you to a different item and so on and so forth. The thing is I’m going to be having multiple different lists and most are going to be connected somehow (depending on the category selected before hand). I have been looking into the MapsDemo sample application and know there’s a way – however I have yet to figure it out. If this is confusing at all please let me know…
Thanks all
Try this out for starters, then once you can do this, then move to using dynamic data. I used this for a very similar project and worked well:
http://www.ezzylearning.com/tutorial.aspx?tid=1763429
Here is the code I used. Maybe this will help you:
Here is the getData() method that I used to parse the XML:
Here is my parser: