zer0stimulus
zer0stimulus

Reputation: 23606

Android: How to start an Activity in the background?

Is it possible to start an Activity in the background? I need such an Activity that can operate in the background and spawn other Activities as needed in response to user commands issued to my Home Screen widget.

Upvotes: 4

Views: 4609

Answers (1)

CommonsWare
CommonsWare

Reputation: 1006539

Is it possible to start an Activity in the background?

No.

I need such an Activity that can operate in the background and spawn other Activities as needed in response to user commands issued to my Home Screen widget.

Your AppWidgetProvider can "spawn other Activities as needed in response to user commands issued to my Home Screen widget", assuming that by "user commands" you mean "clicks".

Upvotes: 4

Related Questions