How to run activity in background in Android

picaso picture picaso · Nov 10, 2011 · Viewed 70.7k times · Source

In my application, I need to send the text message to the user after a certain interval. For that I need to run the message sending code in background. I am using the alarm manager to start activity at specific time.What to do? Is there another way to do this?

Answer

kaspermoerch picture kaspermoerch · Nov 10, 2011

You could look into using Services which are basicly UI-less Activities.