BroadCastReceiver calls Service
<p>Hi I am using this code to call a Service from BroadCastReceiver but its not working.
here is the code:</p>

<pre><code> public class AlarmReceiver extends BroadcastReceiver {
        @Override
    public void onReceive(Context context, Intent intent) {
        System.out.println("luli");
        Intent myIntent=new Intent(context,AlarmReceiver.class);
      // myIntent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK);

        context.startService(myIntent);
    } 
}
</code></pre>

<p>then on my Service I have this code:</p>

<pre><code>public class AlarmService extends Service {

@Override
public IBinder onBind(Intent arg0) {
    // TODO Auto-generated method stub
    System.out.println("HEY u bastard service print at least something");
    return null;
}
</code></pre>

<p>}</p>

<p>I have also declared in Manifest the service </p>

<p>What is wrong here that is not responding the Service??</p>
