Make sure you have:
    android:installLocation="internalOnly"

In your AndroidManifest.xml, Widgets don't work when installed to the
sdcard.
Full example:
<manifest xmlns:android="http://schemas.android.com/apk/res/android";
      package="com.teslacoilsw.widgetlocker"
      android:versionCode="25001"
      android:versionName="2.1.1beta1"
      android:installLocation="internalOnly"
      >

On Aug 5, 12:17 pm, ndiiie 90 <[email protected]> wrote:
> Hi all,
>
> I have problem in developing app widget.
> When i try it in real device, after i reboot my phone, the widget is
> automatically deleted from my home and i must reinstall the app to have the
> widget in widget list.
>
> Is there any specific code must be done to prevent that thing?
>
> Thanks

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to