Skip to content Skip to sidebar Skip to footer

Android: Broadcastreceiver

I am trying to listen to the phone state when contact is calling me but i am getting some error. ServiceReceiver.java package org.example.servicereceiver; import android.content.B

Solution 1:

<activity android:name=".ServiceReceiver"

I'd say the above is what's causing the problem - get rid of the entry for the activity and just leave the <receiver> section.


Post a Comment for "Android: Broadcastreceiver"