[android-beginners] Re: Adding Undo feature in FingerPaint app bundled with APIdemos.

2009-10-09 Thread Monu Tripathi
:) Thanks James for your reply. I was skeptical about the said approach because it will consume some memory and we all know how precious that is on the device. I was checking to make sure that I am not missing anything available in the framework, here. If the framework could let us have hooks

[android-beginners] Re: Adding Undo feature in FingerPaint app bundled with APIdemos.

2009-10-08 Thread Samuh Varta
@Romain: thanks for your reply...I'd *like* to believe that you wrote FingerPaint and would help me here :) Most of the applications in the Android Market(PicSay et al.) that provide a similar feature(drawing strokes on canvas) provide Undo functionality. I was trying to imitate the same in the

[android-beginners] Re: Adding Undo feature in FingerPaint app bundled with APIdemos.

2009-10-08 Thread James Yum
Hi Samuh, I think you're on the right path. Cheers, James On Wed, Oct 7, 2009 at 11:42 PM, Samuh Varta samuh.va...@gmail.com wrote: @Romain: thanks for your reply...I'd *like* to believe that you wrote FingerPaint and would help me here :) Most of the applications in the Android

[android-beginners] Re: Adding Undo feature in FingerPaint app bundled with APIdemos.

2009-10-07 Thread Romain Guy
save() and restore() are just used to save the state of the Canvas (translate, scale, etc.) It won't help you for what you want. On Wed, Oct 7, 2009 at 12:26 AM, Samuh Varta samuh.va...@gmail.com wrote: I am playing with the FingerPaint application that comes bundled with the API demos