Sebastian wrote:
> yes i tried to use broadcast receiver:
> 
> Intent intent = new Intent("b.intent.action.Broadcast");
> sendBroadcast(intent);
> 
> Then i added an entry to the manifest file of applikation a which is
> defining the receiving class. the problem here is a
> ClassDefNotFoundException. Since the two activties are in different
> applications, the class i defined in the manifest of application a,
> but wich is located in application b can't be found at runtime.
> 
> Any hints to avoid this?

Use an <intent-filter> with a custom <action>, and use that action in
the Intent being broadcast.

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com | http://github.com/commonsguy
http://commonsware.com/blog | http://twitter.com/commonsguy

Android Development Wiki: http://wiki.andmob.org

-- 
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
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to