Not quite clear on how this code fits in with the rest, and what the
error is, but
If you're trying to configure a widget when it's added to the home
screen, use a configuration activity:
http://developer.android.com/guide/topics/appwidgets/index.html#Configuring
A configuration activity
First of all thanks for the quick reply,
Yes i have a 3 different xml file called options1, options2, options3
in the layout folder. In 1 .java file called "callalert" im using
alert.builder concept to display the alert message( which shows all 3
options)using the following code.
final Ch
Yes, that is correct.
A config utility can be used to pick the type of content, although it's
optional. Different widget sizes require separate widget declarations,
each with its own size.
For the OP's project, it seems like different sizes are tired to
different content types.
So I meant
Actually, if I'm not wrong, you need to create separate providers just for
the different sizes (4x1, 3x1, 4x2, etc.), but the content displayed is up
to the developer. After selecting the widget (size) a Configuration Activity
can be shown where the user can then select what content he wants.
Yuv
Like Mark already said, you need to create a separate widget_info.xml
file for each size/content type, with appropriate attributes for
minWidth and minHeight.
Essentially, this means declaring separate widgets for all size /
content options. The user would see them all when choosing a widget t
Hi,
How can i give an option for the user to select 3 options(news only,
weather only, News and weather) in the dialog on load of the widget?
On Aug 10, 3:23 am, mboehmer wrote:
> How is this done for the News and Weather widget? After selecting it a
> dialog opens and asks for which content (i.
On Aug 9, 11:23 pm, mboehmer wrote:
> How is this done for the News and Weather widget? After selecting it a
> dialog opens and asks for which content (i.e. size) the user wants to
> have.
Is that on HTC's Sense UI? If so, their widgets are "baked in" to the
home screen and don't have to follow
On Mon, Aug 9, 2010 at 6:23 PM, mboehmer wrote:
> How is this done for the News and Weather widget? After selecting it a
> dialog opens and asks for which content (i.e. size) the user wants to
> have.
It doesn't do that on my Nexus One. It asks what content I want, but
the size is the same.
--
How is this done for the News and Weather widget? After selecting it a
dialog opens and asks for which content (i.e. size) the user wants to
have.
On 10 Aug., 00:04, Mark Murphy wrote:
> Have two elements with two separate metadata files with the
> two sizes, presumably.
>
> On Mon, Aug 9, 2010
9 matches
Mail list logo