[android-beginners] translate just one circle not whole canvas

2009-08-10 Thread Graham
have all this working except when i click the screen both circles move. How can I apply a translation animation to just one circle (e.g. in my code mDrawable[0])? Thanks Graham

[android-beginners] Re: onTouch()

2009-08-06 Thread Graham
, Inc. On Aug 4, 5:10 am, Graham gxt...@gmail.com wrote: Hi again, I am getting to grip with the android fundamentals and am curious as to how the onTouch and the onTouchlisteners work. To keep it simple I have used onDraw to draw two circles on a canvas, a green circle and a red

[android-beginners] Re: Adding objects to a canvas

2009-08-04 Thread Graham
The views, opinions and statements in this email are those of the author solely in their individual capacity, and do not necessarily represent those of T-Mobile USA, Inc. On Aug 3, 6:30 am, Graham gxt...@gmail.com wrote: Hi, I am new to the android developing world and have what I think

[android-beginners] onTouch()

2009-08-04 Thread Graham
Hi again, I am getting to grip with the android fundamentals and am curious as to how the onTouch and the onTouchlisteners work. To keep it simple I have used onDraw to draw two circles on a canvas, a green circle and a red circle (each of type ShapeDrawable - Oval Shape). I now wish to make it

[android-beginners] Adding objects to a canvas

2009-08-03 Thread Graham
Hi, I am new to the android developing world and have what I think is a very simple question. I have created a circle on a canvas and drawn it successfully. I now wish to add another circle to this already existing canvas in a different position. I have defined my x and y as arguments I pass to

[android-beginners] Traceview: trace file not found

2008-11-02 Thread Graham Morehead
In an attempt to debug my app, I was trying to use 'traceview' (one of the apps in the the android SDK). In the windows edition of the SDK version 1.0, the executable is 'traceview.bat'. I was able to get a tracefile by using the 'android.os.Debug' package and using