TimePicker Android
<p>I am making an simple alarm clock in android, and I want to set the alarm in any time i want but i have no idea how can i do that.
I have an layout where I have timepicker and now from this line of code alarmManager.set(AlarmManager.RTC_WAKEUP, System.currentTimeMillis() + (5 * 1000), sender);
     I wanna make my own time which i choosed from the layout from timepicker.
I have referenced timepicker </p>

<pre><code>TimePicker addtime;
ddtime = (TimePicker) findViewById(R.id.addtime);
</code></pre>

<p>How to get actually the value time which are in the timepicker??</p>
