code for  Sms Scheduler app on google play : https://play.google.com/store/apps/details?id=com.avance.SmsScheduler