FingerPaint coding problem> how to add a "clear func

All your problems with Audio, Video and Images.

FingerPaint coding problem> how to add a "clear func

Postby weldrian » Thu Dec 18, 2008 7:12 am

i try to add a "clear function" on ApiDemo/fingerPaint app.
but it doesn't work at all, i have enclosed couple pic,please have a look any one have any idea?
Attachments
help2.jpg
after
help2.jpg (48.39 KiB) Viewed 312 times
help.jpg
BEfore
help.jpg (60.44 KiB) Viewed 312 times
weldrian
Junior Developer
Junior Developer
 
Posts: 23
Joined: Tue Dec 09, 2008 1:30 am

Top

Postby MrSnowflake » Thu Dec 18, 2008 12:30 pm

Canvas.fillColor(Color.BLACK);
User avatar
MrSnowflake
Moderator
Moderator
 
Posts: 1439
Joined: Sat Feb 16, 2008 3:11 pm
Location: Flanders, Belgium

Canvas.fillColor(Color.BLACK)

Postby weldrian » Fri Dec 19, 2008 3:58 am

MrSnowflake wrote:Canvas.fillColor(Color.BLACK);


Thx man,

but when i wrote: it still have error. i think i what build an import or something right, but i just have no idea.
can u help again?

case CLEAR_MENU_ID:
Canvas.fillColor(Color.BLACK);
return true;

}
weldrian
Junior Developer
Junior Developer
 
Posts: 23
Joined: Tue Dec 09, 2008 1:30 am

Top

Return to Multimedia Problems

Who is online

Users browsing this forum: No registered users and 12 guests