App Widget does not appear in the widget list on Honeycomb devices until Launcher is restarted

Possible Duplicate:
Android AppWidget does not show up in the menu in honeycomb until reboot

It seems like the default launcher in Android 3 (Honeycomb) has a bug. It doesn’t seem to refresh the widget list when you install a new application. When you restart the launcher (or restart the whole tablet) the widget will be there, as it should be. Seems like the widget list there is cached, while on earlier versions of Android, and in other launchers this is not the case.

  • How to handle drag in an android chess app?
  • Download file from Dropbox and save it into SDCARD
  • Android GCM and multiple tokens
  • Change the text color of NumberPicker
  • Android setUserVisibleHint never gets called?
  • Dismiss keyboard when click outside of EditText in android
  • I’ve followed the instructions in the SDK, and it seems to be working find on other devices, but on Android 3 it never worked right from the first time 🙁

    I’ve marked my application with android:installLocation="internalOnly"
    Here’s the widget registration in the manifest:

        <receiver android:name=".BatteryWidget" android:label="@string/widget_name">
                <action android:name="android.appwidget.action.APPWIDGET_UPDATE" />
                <action android:name="org.flexlabs.action.BATTERY_UPDATED" />
                <action android:name="org.flexlabs.action.dualbattery.SETTINGS_UPDATED" />
            <meta-data android:name="android.appwidget.provider" android:resource="@xml/widget_info" />

    Please help?

    Related posts:

    Android Bitmap loading out of memory error Galaxy S3 WXGA
    Adding drawable resource using Cordova
    Communication between webview and native code in a mobile app
    How do I use obtainStyledAttributes(int ) with internal Themes of Android
    Preload more Views using a ListView-Adapter
    How to get a PERMANENT application notifier in the status bar?
    Android Babe is a Google Android Fan, All about Android Phones, Android Wear, Android Dev and Android Games Apps and so on.