This was tested on a: Samsung YP-G0, API Level 10, Version 2.6.35
How to Get to the Alert Dialog we are creating
Open Calendar (Version 1.1) (default Google Android app)Menu-Create
Scroll down and select the Alarm option, and the above Alert Dialog will display.
1. To recreate this AlertDialog, Add a Title that displays "Alarm"
2. Add a List of Items with Radio Buttons, with the CharSequence array of "None, On time, 5 mins before, 15 mins before, 1 hour before, 1 day before, 2 days before, 1 week before, Customize". Add a dismiss() to the onClick.
3. Compile and run!