Thanks :)
It worked.

On Jun 10, 5:10 pm, Mark Murphy <[email protected]> wrote:
> glory wrote:
> > Hi All,
> > I am trying to create a widget using AppWiget frame work.
> > I was successful in creating the UI but i was not able to update the
> > UI .
> > I am getting following error:
> > 06-10 15:46:29.407: WARN/ActivityManager(582): Unable to start service
> > Intent { comp={com.regard.solotion.widget/
> > com.regard.solotion.widget.MyService} }: not found
> > I am wondering what I am doing wrong
>
> > here is my Manifest file
>
> > <?xml version="1.0" encoding="utf-8"?>
> > <manifest xmlns:android="http://schemas.android.com/apk/res/android";
> >       package="com.regard.solotion.widget"
> >       android:versionCode="1"
> >       android:versionName="1.0">
> >     <application android:icon="@drawable/icon" android:label="@string/
> > app_name">
> >            <!-- Broadcast Receiver that will process AppWidget updates -->
> >         <receiver android:name=".MyWidget" android:label="@string/
> > widget_name">
> >             <intent-filter>
> >                 <action
> > android:name="android.appwidget.action.APPWIDGET_UPDATE" />
> >             </intent-filter>
> >             <meta-data android:name="android.appwidget.provider"
> > android:resource="@xml/mywidget" />
>
> >             <service android:name=".MyService" />
> >         </receiver>
> >     </application>
> >     <uses-permission android:name="android.permission.INTERNET" />
> >     <uses-sdk android:minSdkVersion="3" />
> > </manifest>
>
> > I am calling the service from the MyWidget which extends
> > AppWidgetProvider
>
> > Please help me out
>
> In your manifest, you have your <service> element inside the <receiver>
> element. The <service> element should be a child of <application>, not
> <receiver>.
>
> --
> Mark Murphy (a Commons 
> Guy)http://commonsware.com|http://twitter.com/commonsguy
>
> Warescription: Three Android Books, Plus Updates, $35/Year
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Beginners" 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-beginners?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to