appwidget

List in app widget

Is it possible to have a list with dynamic amount of items in app widget? ...

Marquee TextView on App Widget

I am developing an AppWidget where I need a TextView to display text as a marquee. I have tried using the following code (as one would do in a regular Activity), but the text does not scroll. <TextView android:layout_width="150dip" android:layout_height="wrap_content" android:text="@string/marquee_forever" android:singl...

VideoView inside a Widget - getting android.view.InflateException: Binary XML

This should have been the simplest thing, but I can't get it to run. The following XML layout will cause Error inflating AppWidget AppWidgetProviderInfo exception: > <?xml version="1.0" encoding="utf-8"?> <LinearLayout > xmlns:android="http://schemas.android.com/apk/res/android" > android:layout_width="wrap_content" > android:orie...

Scrollable TextView in Android Widget

Hi, I would like to create an android widget with a scrollable textview. The solutions given to this question http://stackoverflow.com/questions/1748977/making-textview-scrollable-in-android cannot be applied because it is a widget: 1. This findViewById(R.id.textview).setMovementMethod(new MovementMethod()); does not work, since ...

Any AppWidgetHost-tutorials out there?

I'm writing an application that should both have the ability to place widgets on the home screen, and to show these widgets in the application itself. I figure that the best way to do this is through the use of an AppWidgetHost for the application part. I've been looking around, but I cannot find any good examples on how to write AppWid...

How many times, and within what time interval, before Android stops restarting appWidget?

I have a problem in the field where my app widget stops working (display does not update on its AlarmManager timer-pop). I don't have logs for the occurrence, so I am trying to test for the condition that the process dies, but restarts. I then found out that if I die too frequently, then Dalvik does a force stop which is exactly the be...

How to group widgets in "Add widget" dialog

Hello! I have two appWidgets, now if user open "Add widget" dialog, both widgets will be visible in main list. But bundled HTC widgets are grouped by subject. For example clicking on "Calnedar" will bring another list, where user can pick desired design. Is it possible to reproduce such feature or it is some feature hardcoded to Sense ?...

Disappearing AppWidgets for Android Development

I am developing an appwidget for android. It works fine when installing and running, but whenever the device is rebooted, the program can no longer use that widget. The activity is still selectable in the launcher, but there is no way to add the widget to the home screen without reinstalling the program. Have you hear of this happening?...