The Same Error ....................................

What could cause this?

On Tue, Jun 15, 2010 at 7:51 PM, YuviDroid <yuvidr...@gmail.com> wrote:

> try:
>
> Intent i = new Intent(this, MyService.class);
> startService (i);
>
> (where 'this' is your Context)
>
>
>
> On Tue, Jun 15, 2010 at 5:30 PM, tarek attia <tarek.m.at...@gmail.com>wrote:
>
>> The Service is registered in the AndroidManifest.xml ....
>>
>> and the intent I use is just simple :-
>>
>> Intent i = new Intent();
>> iGPS_service.setClassName("com.example", "MYService");
>>
>> Where might be the error?
>>
>> also in the logCat I see these errors :-
>>
>> resources don't contain package for resource number ,,does that relate to
>> this?
>>
>> On Tue, Jun 15, 2010 at 6:08 PM, Mark Murphy <mmur...@commonsware.com>wrote:
>>
>>> On Tue, Jun 15, 2010 at 11:06 AM, tarek attia <tarek.m.at...@gmail.com>
>>> wrote:
>>> > Hi all,,
>>> > I have an activity that contains a button in it,and once this button is
>>> > clicked I start service ,but each time i press the button no service is
>>> > started and this message appear in the LogCat
>>> >
>>> > Unable to start service intent {Package name}: Not found
>>>
>>> Either your service is not registered in AndroidManifest.xml, or your
>>> Intent that you are using to start the service is flawed.
>>>
>>> --
>>> Mark Murphy
>>> CommonsWare
>>> mmur...@commonsware.com
>>> 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 android-developers@googlegroups.com
>>> To unsubscribe from this group, send email to
>>> android-developers+unsubscr...@googlegroups.com<android-developers%2bunsubscr...@googlegroups.com>
>>> 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 android-developers@googlegroups.com
>> To unsubscribe from this group, send email to
>> android-developers+unsubscr...@googlegroups.com<android-developers%2bunsubscr...@googlegroups.com>
>> For more options, visit this group at
>> http://groups.google.com/group/android-developers?hl=en
>>
>
>
>
> --
> YuviDroid
> http://android.yuvalsharon.net
>
> --
> 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<android-developers%2bunsubscr...@googlegroups.com>
> 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 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