I am developing a web crawler using Android. Currently my crawler crawls the web using asynctask every time the app starts, which takes a long time.
I want my app to update its database daily in the background, without needing to launch the MainActivity interface. After doing some research, I found the following classes can help me:
- Service
- AlarmManager
Can someone shed some light for me, I'm new to Android programming. Thanks