Hi, See for example -
http://code.google.com/android/samples/ApiDemos/src/com/example/android/apis/graphics/FingerPaint.html Regards On Dec 20, 2:18 pm, Keith Wiley <kbwi...@gmail.com> wrote: > Ugh. I coded this up earlier and it worked, but I left the code on my > other computer, so now I'm doing it again and it isn't working, but I > can't believe how ridiculously simple it is. What could possibly be > wrong? > > I adapted the following from the DrawPoints.java example: > > ...From a typical Activity... > @Override > protected void onDraw(Canvas canvas) { > ...Create a float array of points named 'points'... > ...then... > Paint paint = mPaint; > paint.setColor(Color.RED); > paint.setStrokeWidth(8); > paint.setStrokeCap(Paint.Cap.ROUND); > canvas.drawPoints(points, paint); > > } > > The points are drawn square. How can this possibly fail? I'm missing > something royally silly aren't I? --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---