Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Android 3.0, Widget Preview

In Honeycomb some of the System apps have a "preview" of the widget when you click the "add" options on the home screen.

How do I go about adding a thumbnail/preview of my widget to my application so the user can get a feel for what it looks like when adding it in Honeycomb?

like image 921
Hamid Avatar asked May 03 '11 22:05

Hamid


People also ask

What version of Android is Honeycomb?

Android Honeycomb is the codename for the third version of Android, designed for devices with larger screen sizes, particularly tablets, however has been unofficially ported to the Nexus One. It is the third major release of Android and is no longer supported. Honeycomb debuted with the Motorola Xoom in February 2011.

What are the types of widgets?

There are, in general, four types of widgets: information widgets, collection widgets, control widgets, and hybrid widgets.


1 Answers

If you run the android emulator against the Honeycomb sdk, you should see an app called Widget Preview, which will allow you to pick the widget to take a preview of (you will have to install your widget on the emulated device). I think you can also build it yourself if you have the source checked out (it's under development/apps/WidgetPreview).

http://developer.android.com/guide/topics/appwidgets/index.html#preview

like image 172
wchung Avatar answered Sep 20 '22 00:09

wchung