Not entirely necessary.
It works to use a fully-qualified class name when starting a service in
another application:
Intent i = new Intent();
i.setClassName("com.backgroundService", "*com.backgroundService.*MyService");
startService(i);
Oddly enough, ".MyService" does not work.
Make sure th
On Wed, Nov 10, 2010 at 5:24 PM, kl4232 wrote:
> What information do I need to put in the intent to start a remote
> service?
Step #1: Add an to the service, with your own custom
action string
Step #2: Use new Intent("whatever the action string is") in your call
to startService()
--
Mark Murp
I have 2 applications. The first is a standard activity with a "start
service" button. The second is a service only application. It has no
activity. It does have a receiver which listens for the BOOT_COMPLETED
intent.
After I've installed both applications on my handset I run the first
app. When I
3 matches
Mail list logo