Reputation: 110570
If I create a Service like this:
Intent intent = new Intent(context, MyService.class);
context.startService(intent);
Can you please tell me how can my code else where get the instance of that service class that I start? And if i start Service, does that class runs in its own thread?
Thank you.
Upvotes: 2
Views: 1808