Dear all,

I'd like to start a service from a tabactivity (I first tried in the
activity launched for a tab but it seems taht there is a technical
limitation).

So inside my TabActivity I defined a method named startService() which
is quite simple :
> instanciate a new Intent
> call the method startservice
> Inside my "tabbed" activity (I mean inside a tab) I make a reference to the 
> TabActivity and I call the method startService


But I have an error (in logcat) telling that the service can't be
started since it is not found :

08-04 12:14:28.476: WARN/ActivityManager(564): Unable to start service
Intent { action=com.android.myapp.service.IServiceMain (has extras) }:
not found

The point is that if I copy-past the same (Intent+start service) code
inside another standard activity, my service is found and started.

Is there any Android Guru that could help me ?

Thank you very much for your help.

Rgds,

C.
--~--~---------~--~----~------------~-------~--~----~
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