I am doing a project in which i have to send a message at a particular time.that function is already in many mobile apps.But what i want is even if the mobile is switch off,i want to turn it on programatically at a particular time and send the message .
Share
Use
AlarmManagerwith anRTC_WAKEUPalarm to get control at your specified time. Have theAlarmManagertrigger aBroadcastReceivervia thePendingIntentyou use when setting up the alarm inAlarmManager. Have theBroadcastReceiversend the message.