Any would be Android developers out there?
I'm currently developing a tiny app that loads an AlertDialog. At the moment I have an activity and this loads the AlertDialog straight away. This method has two problems:
1) The main view loads behind the AlertDialog. I want the AlertDialog to display over the top of the home screen instead.
2) The AlertDialog is the only part of the app. When the user presses the back button it currently closes the AlertDialog and sits at the main view until the user presses back again. What I want is so this AlertView is the activity if that makes sense, so when the user presses back once it goes back to the home screen.
What's the best way to achieve this?