Creating a widget

General topics about the Android-Platform itself.
Coding issues please to the subforum right below.

Creating a widget

Postby gstavrev » Wed Dec 24, 2008 11:55 pm

Hello,
I have been following the mobile development since it started, but I am just getting into it. I got a G1 a few days ago and i want to make a widget, but I can't find any documentation. Is the clock, search bar and pic fram the only widgets possible? How will I go about making one?

Thanks
-George
gstavrev
Freshman
Freshman
 
Posts: 5
Joined: Wed Dec 24, 2008 7:35 am
Location: Los Angeles, CA

Top

Postby MrSnowflake » Sat Dec 27, 2008 1:11 pm

Extend View or any other implementation of View and draw the widget in onDraw(). And implement all other methods you need of View.
User avatar
MrSnowflake
Moderator
Moderator
 
Posts: 1439
Joined: Sat Feb 16, 2008 3:11 pm
Location: Flanders, Belgium

Top

Return to General

Who is online

Users browsing this forum: No registered users and 9 guests