How do I use time picker?
<p>I am using time picker for my app which sends sms based on a particular time in future. I have the sms sending part ready using sms manager. I also have the user time using <code>getCurrentHour()</code> and <code>getCurrentMinute()</code>. This is my code </p>

<pre><code> if(phoneNo.length()&gt;0&amp;&amp;message.length()&gt;0)
    {
     sendSMS(phoneNo,message);
    }
      else        
      {
       Toast myToast=Toast.makeText(getBaseContext(),"Please enter both phone number and message.",Toast.LENGTH_SHORT);
       myToast.show();
        }
      }
  });
}
</code></pre>

<p>How do I proceed to send the sms at a particular time?</p>
