The problem was this in the AndroidManifest.xml :SS

I was registering the service as following

<Service android:enabeled="true" android:name".MyService"/>

and there was no problem in the compilation,,,I changed it to a lower-case
letter not upper-case letter it worked fine

<service android:enabeled="true" android:name".MyService"/>

On Tue, Jun 15, 2010 at 10:35 PM, Mark Murphy <[email protected]>wrote:

> On Tue, Jun 15, 2010 at 2:10 PM, tarek attia <[email protected]>
> wrote:
> > The Same Error ....................................
> > What could cause this?
>
> I would recommend starting with an example that is known to work, then
> determining where the differences are.
>
> Here is an example of a local service:
>
> http://github.com/commonsguy/cw-android/tree/master/Service/WeatherPlus/
>
> --
> Mark Murphy
> CommonsWare
> [email protected]
> http://commonsware.com
>
> --
> 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]<android-developers%[email protected]>
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en
>



-- 
tarek

-- 
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