android - Can't receive broadcasts for PACKAGE intents -


I am trying to register a broadcast receiver to receive broadcast events for package events. The code in the manifest file and my receiver is low. The log statement is never made, but I can clearly see the same broadcast flight for "homeloaders" (launcher) debug statement. What am I missing?

  Public class intent listener broadcasts Broadcast receivers {@ Override Public Records on Recieve (Context Reference, Intent of Intent) {// Tudo Auto-Generated Method, Stub Log.i ("Int. Listener: ", Intent.getAction ()); }} & Lt; Receiver Android: name = "IntentListener" Android: enabled = "true" android: exported = "true" & gt; & Lt; Intent-Filter & gt; & Lt; Data Android: scheme = "package" & gt; & Lt; / Data & gt; & Lt; Action Android: name = "android.intent.action.PACKAGE_ADDED" & gt; & Lt; / Action> & Lt; Action Android: name = "android.intent.action.PACKAGE_ADDED" & gt; & Lt; / Action> & Lt; Action Android: name = "android.intent.action.PACKAGE_CHANGED" & gt; & Lt; / Action> & Lt; / Intent-Filter & gt; & Lt; / Receiver & gt;  

It is possible that the code Can be registered by components registered in the manifest, but only registerReiver () .

via the receiver registered in Java

Comments

Popular posts from this blog

MySql variables and php -

url rewriting - How to implement the returnurl like SO in PHP? -

kernel - How to create a "Block device" in Windows -