Set event reminders in android with data fetched via webservice call
<p>I am working on a small project. We need to do the following:</p>

<ol>
<li>Have a background service/whatever running on your android ph which
listens for a sms with some specific content in the msg body</li>
<li>On encountering that specific content, make a webservice call to a
remote server to download some event data</li>
<li>Set the fetched event data as reminders in the calendar</li>
</ol>

<p>All the above must be done without any user interaction.</p>

<p>I have managed to do <code>#1</code> via a broadcast receiver. Didn't need to run a service for it. </p>

<p>For <code>#2</code>, I plan to call the web service via the Broadcast receivers onReceive() method and get the data. Once I have the data, how do I go about setting the same so that the user gets his/her timely reminders based on the same? There is no activity opening up or anything that the user can see. He should just get the reminders (even if he restarts the ph).</p>

<p>Any help will be much appreciated. Thanks!</p>
