I have a service in an APK which starts a Thread which has the following
in it's run method;
Intent intent = new Intent("com.funkyandroid.TEST", dataURI);
MyService.this.sendOrderedBroadcast(intent, null);
In a different APK I have the following in the application section manifest;
<receiver android:name=".Receiver" android:exported="true">
<intent-filter>
<action android:name="com.funkyandroid.TEST />
</intent-filter>
</receiver>
And in the onRecieve(Context,Intent) method has;
Log.i("Receiver", "Hello Momma!!!!!");
But the receiver doesn't receive the broadcast when I run it in the
emulator (or at least the log message doesn't get received).
Any hints?
Al.
--
======
Funky Android Limited is registered in England & Wales with the
company number 6741909. The registered head office is Kemp House,
152-160 City Road, London, EC1V 2NX, UK.
The views expressed in this email are those of the author and not
necessarily those of Funky Android Limited, it's associates, or it's
subsidiaries.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---