I have my android app . My requirement is that it should read all incoming messages from inbox , filter it based on some criteria and persist the filtered sms in the SQLite DB of the app. All this should happen even if the app is closed i.e. 24*7
Please suggest some good way which should have less performance impact on android battery and memory consumption .