0

I want to schedule multiple SMS at different times, for which I have saved name, number and message in a database.
I have calculated the time difference and passed it to the Alarm Manager. For single data, every thing is working fine. When I schedule two or more SMS, then only the last SMS gets send.

Whats the reason behind it and how can it be solved?

Nickolaus
  • 4,785
  • 4
  • 38
  • 60
Prativa
  • 364
  • 6
  • 25

1 Answers1

2

use alarm manager... put your extra data (sms text, address) in intent as extra and schedule it

Buda Gavril
  • 21,409
  • 40
  • 127
  • 196