I haven't written even a single line of my first android app, but I have been programming C# and other languages for a while. I have read many of the tutorials, and I think I have a plan of action for my first app.
My first app will be a home automation controller which will be driven entirely by listviews and textviews. The users will be able to configure the app to have as many listviews as they need (Home security, Home Automation, Home Entertainment, Master Bedroom, etc). I think there will be the first "Main" listview where the users can have their other listviews displayed and available for selection. You select one of the main menu options and it takes you to a second listview where there will be other actions, such as Arm, Disarm, turn lights on, turn lights off, close garage door, etc. I think the entire structure of the menus and submenus could be described in an XML configuration file. So, here's my problem. I know you cannot create an activity at runtime. And that's exactly what I have described. The main menu and each submenu would be a unique activity in Android. So how should I redesign my app? Can I have the entire menu and sub-menus perform as a single activity? If so, how will my listview change from the first main menu to show the items for the selected menu item? And will the user be able to go back to the main menu by pressing the back arrow? Also, is there an option for my users to be able to create the configuration file on their computer and then somehow upload the configuration file to their phone so my app can use it? Ultimately I may design a menu creation app, but my users are pretty tech-savvy and writing an xml file will not be too difficult for them and will provide them a lot of flexibility. -- 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

