Publish an intent-filter with a custom action string, and use that:

http://github.com/commonsguy/cw-advandroid/tree/master/AdvServices/RemoteService/

On Wed, Jul 28, 2010 at 5:21 AM, Bhavya <[email protected]> wrote:
> How do I call, to start off my service.
> I m writing it in this way....fails to work.
>
> Intent intent = new Intent();
> intent.setClassName("com.test.dev","com.test.dev.MyService"); // My
> service class which is in different application
> startService(intent);
>
> ./bhavya
>
> --
> 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
>



-- 
Mark Murphy (a Commons Guy)
http://commonsware.com | http://github.com/commonsguy
http://commonsware.com/blog | http://twitter.com/commonsguy

_Android Programming Tutorials_ Version 2.9 Available!

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