Since API level 9 (2.3) you can set an alarm using an intent:
Intent i = new Intent(AlarmClock.ACTION_SET_ALARM);
i.putExtra(AlarmClock.EXTRA_HOUR, 9);
i.putExtra(AlarmClock.EXTRA_MINUTES, 37);
startActivity(i);
Is there anyway of setting an alarm in a similar fashion (undocumented APIs?) for lower API levels?
Also if anyone knows any similar methods for non-stock alarmclocks (such as ones listed here I.E. HTC Alarm Clock, Moto Blur Alarm Clock etc...) I'd greatly appreciate it.