ok
many many thanks
AJ

On Mar 25, 2:54 pm, Mark Murphy <[email protected]> wrote:
> AJ wrote:
> > 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?
>
> Copy and paste whatever you put in A1 into A2. If B is an inner class of
> A1, you might consider making it a regular full Java class, so you do
> not need two copies of that code.
>
> --
> Mark Murphy (a Commons 
> Guy)http://commonsware.com|http://twitter.com/commonsguy
>
> _Beginning Android 2_ from Apress Now 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.

Reply via email to