Then you'd have to do two things:

   - Make Receiver1 a static class: public *static *class Receiver1 extends 
   BroadcastReceiver
   If not, instances of Receiver1 cannot be instantiated without an 
   enclosing BroadcastActivity instance.
   - Change the name in your manifest to com.broadcast.BroadcastActivity*$*
   Receiver1 
   
   
I would put Receiver1 in its own java file, though... then you won't have 
to worry about the bullet-points mentioned above.

-- 
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