we can share the values from to Activity class to another class in diffrent ways by using static memebers we can share the values. another way is expose one method like Getvalues() in Activity class which conatins fresh values of variables and we can call this method from View class by creating object of Activity class using this object we can call ....etc
On Nov 21, 5:46 am, hari <hari.zla...@gmail.com> wrote: > Hi guys, > > I have a need where i must pass some values from an Activity to > another file which extends View class (instead of Activity) .... Its > not the normal passing of values from one activity to another... > > In my Activity,i will pass some co-ordinate values to the class that > extends View... In this class,i will draw an image and place points > over the image on the required co-ordinates... But , the problem is ,i > cant send values using Intent ... > > Is there any way to do this?? Pls reply ASAP.... > > Thanks -- 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