title: android: show notification at specific time?
body: <p>I have a function called <code>show_notification()</code> that I call when the user hits a button. The point is that instead of showing the notification once he clicks [as in the function below], I want to show this notification at a specific <code>time= hours:mins</code> <br>
  Where hours and minutes are two integers having the value of time I want [for example hour=22 and minutes=40..meaning fire this notification at 22:40 [10:40 pm] ]. By the way, this alarm should be repeated every day at same time.</p>
  
  <pre><code>public void show_notification() {
          CharSequence notify_msg="Don't foget!";
          CharSequence title= "you ve been notified by My app";
          CharSequence details= "It works!";
          NotificationManager nm= (NotificationManager) getSystemService(Context.NOTIFICATION_SERVICE);
          Notification notify= new Notification(android.R.drawable.stat_notify_more,
                                  notify_msg, 
                                  System.currentTimeMillis());
          Context mycontext= ActA.this;
          Intent myintent= new Intent (mycontext, ActA.class);
          PendingIntent pending= PendingIntent.getActivity(mycontext, 0, myintent, 0); ///0's are not applicable here
          notify.setLatestEventInfo(mycontext, title, details, pending);
  
          nm.notify(0, notify);
  
  
  
      }
  </code></pre>
  
  <p>I hope you can answer in details because I am a very new developer.</p>