hi you can find the source code for finger paint in the api demos in
ur sdk
android-sdk-linux/platforms/android-2.1/samples/ApiDemos/src/com/
example/android/apis/graphics
in this folder you need to change just a sing line in the
FingerPaint.java

in the MyView class constructor change like this

public MyView(Context c) {
            super(c);

            //mBitmap = Bitmap.createBitmap(320, 480,
Bitmap.Config.ARGB_8888);
            mBitmap = Bitmap.createBitmap(800, 480,
Bitmap.Config.ARGB_8888);
            mCanvas = new Canvas(mBitmap);
            mPath = new Path();
            mBitmapPaint = new Paint(Paint.DITHER_FLAG);
        }

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