title: How to set alarm manager using date and time from Textview
body: <p>I am converting a <code>timestamp</code> into <code>date and time</code> and setting the result on a <code>textview</code>.</p>
  
  <p>For example <code>1443884578</code> is <code>Sat 3 October 2015 18:02</code></p>
  
  <p>I would like to set the above <code>date and time</code> into an <code>alarm manager</code>.After research i found a code that uses a date time picker.</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false">
  <div class="snippet-code">
  <pre class="snippet-code-js lang-js prettyprint-override"><code> public void onDateSelectedButtonClick(View v) {
          // Get the date from our datepicker
          int day = picker.getDayOfMonth();
          int month = picker.getMonth();
          int year = picker.getYear();
          // Create a new calendar set to the date chosen
          // we set the time to midnight (i.e. the first minute of that day)
          Calendar c = Calendar.getInstance();
          c.set(year, month, day);
          c.set(Calendar.HOUR_OF_DAY, 0);
          c.set(Calendar.MINUTE, 0);
          c.set(Calendar.SECOND, 0);
          // Ask our service to set an alarm for that date, this activity talks to the client that talks to the service
          scheduleClient.setAlarmForNotification(c);
          // Notify the user what they just did
          Toast.makeText(this, "Notification set for: " + day + "/" + (month + 1) + "/" + year, Toast.LENGTH_SHORT).show();
      }</code></pre>
  </div>
  </div>
  </p>
  
  <p>However its getting only the <code>date</code> and fires the <code>alarm</code> the minute the date occurs.</p>
  
  <p><strong>PROBLEM:</strong> I would like to get the <code>date</code> and <code>time</code> from my <code>textview</code> and skip this date time picker in the format i have. Is this possible?</p>