Hello All, I have an Intent Receiver which I will be triggered when a contact is added or deleted.
My reciever properties in the androidmanifest.xml are as follows. <receiver android:name=".ContactAdded"> <intent-filter> <action ndroid:name="android.intent.action.INSERT" /> <action android:name="android.intent.action.VIEW" /> </intent-filter> </receiver> And in my Intent Reciever class, I have the following lines of code. public class ContactAdded { public void onReceiveIntent(Context context, Intent intent){ try{ Log.i("Received Intent", intent.getAction()); } catch(Exception e){ Log.i("Exception in Intent",e.getLocalizedMessage()); } } } Now, when I try to add or delete a contact, I can see in the LogCat that the required Intent is broadcast, but I don't see my message "Received Intent" in the LogCat which I have coded in my reciever class. Am I doing something wrong??? Dexter. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] Announcing the new M5 SDK! http://android-developers.blogspot.com/2008/02/android-sdk-m5-rc14-now-available.html For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~----------~----~----~----~------~----~------~--~---