ok thanks again I have :-
1- class B extends BroadcastReceiver 2- class A1 extends ListActivity 3- class A2 extends Activity I make instance of B from A1 like :- B _intanceB = new B(this); and in B i register the [ACTION_BATTERY_CHANGED] How can I register it with A2 as you said? Thanks again for that AJ On Mar 25, 2:37 pm, Mark Murphy <[email protected]> wrote: > AJ wrote: > > Thanks again mark for enlightening me :) > > > But one more ques please. > > > I have registered [ACTION_BATTERY_CHANGED] programmatically in > > activity A1. I am able to get broadcast event for battery change in > > A1. > > Now from that A1 started a new activity A2. > > > But I am not able to get these broad cast event in Activity A2. > > If you registered a receiver for it in A2, I would expect you would get it. > > -- > Mark Murphy (a Commons > Guy)http://commonsware.com|http://twitter.com/commonsguy > > _Android Programming Tutorials_ Version 2.0 Available! -- 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 To unsubscribe from this group, send email to android-developers+unsubscribegooglegroups.com or reply to this email with the words "REMOVE ME" as the subject.

