On Fri, Jul 29, 2011 at 5:19 PM, Chris <chris.sim...@gmail.com> wrote:

> You need to have a reference to the other activity, from which you would
> call your second (or third) activity's method to update the coordinates
>

You neither need to nor should you do this.

For example, your second activity could have a static method to return
> the component/widget or entire activity.
>
> SecondActivity.java
> ----------------------
> public static Canvas getCoordinateCanvas() {
>  return this.myCanvas;
> }
>

That will not compile.

-------------------------------------------------------------------------------------------------
TreKing <http://sites.google.com/site/rezmobileapps/treking> - Chicago
transit tracking app for Android-powered devices

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