A couple of suggestions...

First, I think you need to dot-qualify your widget receiver's name,
same as you've done with your activity. You also need to enable it
somewhere. So the receiver element of your manifest should look
something like this:

         <receiver android:name=".RumbleClockWidgetProvider"
                   android:enabled="true" >

Second, what does your widget_provider_info.xml file look like? Might
well be issues there.

String


On Nov 4, 5:38 pm, Rockline <rockl...@gmail.com> wrote:
> Hello all,
>
> I'm trying to do my first widget but it seems not to work in the
> emulator: when I try to add the widget to the wallpaper, I've got the
> following message: "Application is not installed on your phone".
>
> Any ideas?
>
> Here is my manifest:
>
> <?xml version="1.0" encoding="utf-8"?>
> <manifest xmlns:android="http://schemas.android.com/apk/res/android";
>       package="com.rumblefish"
>       android:versionCode="1"
>       android:versionName="1.0">
>
>     <application android:icon="@drawable/icon" android:label="@string/
> app_name">
>         <activity android:name=".RumbleActivity"
>                   android:label="@string/app_name">
>             <intent-filter>
>                 <action android:name="android.intent.action.MAIN" />
>                 <category
> android:name="android.intent.category.LAUNCHER" />
>             </intent-filter>
>         </activity>
>
>         <receiver android:name="RumbleClockWidgetProvider" >
>                 <intent-filter>
>                         <action
> android:name="android.appwidget.action.APPWIDGET_UPDATE" />
>                         </intent-filter>
>                 <meta-data android:name="android.appwidget.provider"
>                    android:resource="@xml/widget_provider_info" />
>                 </receiver>
>
>     </application>
>
> </manifest>
>
> Thanks a lot.

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

Reply via email to