Android BroadcstReciever
<p>I am creating an application in which i am using a broadcast  receiver. I m new to android , so i am not sure how to add receiver in manifest file. My code is</p>

<pre><code>&lt;receiver android:name="Reciever"&gt;&lt;/receiver&gt;
</code></pre>

<p>"Reciever" is name of class which extends "BroadcastReceiver".When user clicks on button then after 5 seconds i want to call this Receiver.So i have written this :</p>

<pre><code>AlarmManager am= (AlarmManager) getSystemService(ALARM_SERVICE);
am.set(AlarmManager.ELAPSED_REALTIME_WAKEUP, cal.getTimeInMillis(), sender);
</code></pre>

<p>Here "sender" is pending intent.
But it's not working, Please suggest me ?</p>
