danilo
danilo

Reputation: 11

Why should I use startActivity in a Service

Why should I use startActivity() in a Service? If I need an Activity a have to call an activity and if I need a "delayed activity" I have to use the notification. So, why should I use startActivity()?

Upvotes: 1

Views: 381

Answers (1)

CommonsWare
CommonsWare

Reputation: 1006819

why should I use startActivity() in a Service?

Generally, you should not use startActivity() from a Service.

Upvotes: 1

Related Questions