I must have missed something the first time I tried. This time it
worked the first time I tried it. I guess I must have have one of
those not so bright moments the first time I tried. Maybe it was late
at night.

Thank you VERY VERY much.  Since I already tried this and failed, it
would have taken me forever to figure this out on my own. You saved me
a LOT of time.

Enjoy and good luck with your endeavors!

On Jan 11, 8:05 pm, skink <[email protected]> wrote:
> JamesColeman wrote:
> > Thank you for your reply!!
>
> > I am not sure what doesn't make sense.  I was told from a developers
> > forum that  I HAVE to use the xml file and extend surfaceview to
> > accomplish my goals. So that is what I did.  It works, all I need to
> > do now is call a method.
>
> > The DrawingSurfaceView is created from the xml file, not my code, so I
> > don't know how to format a call to mymethod.
>
> > If it wasn't created from the xml file there are a couple of ways for
> > me to call mymethod. For example if I create the class from where I
> > want to make the call I can do the following.
>
> > DrawingSurfaceView MyView - new DrawingSurfaceView();
> > MyView.myMethod();
>
> > However, I never create the MyView. It is created form the xlm file.
>
> > I  do not think basic android questions involve xml layout files.
>
> its 4am so I'm sure i missed something, but uf not, what abiut sumpke:
>
> findViewById(R.id.DrawingSurfaceView)
>
> called in your activity?
>
> pskink

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

Reply via email to