Reputation: 61
My application will launch a new activity (say calculator) using intents.
My requirement is: Is there any way to start the new activity in background (not in foreground)?
Can you suggest any solution?
thank you
Upvotes: 3
Views: 790
Reputation: 3159
Use BroadcastReceiver to receive the Intent and start Service or Thread do what you want to do.
Upvotes: 0
Reputation: 28563
What do you want to do exactly? Depending on that, you have several options:
Upvotes: 0
Reputation: 2678
Short version : Use threads.
Not-so-long version : read about threads.
Upvotes: 1