My app need to keep running all the time in background event the screen is off.My application is not an internet product, and it is for special people in special scene. So I need to prevent the system killing my services and let my application can use network and gps service all the time.
I know this requirement is very harsh for an android developer. I used some ways from google to implement it. But they don't work very well for all the most android smart phone, specially in new android system (android O and android P)
I want to tell my boss that we cannot do (not wouldn't do) this requirement. But I don't have any evidence like Official documents to persuade my boss. Also his two questions I could not give correct answers:
I know this requirement is very harsh for an android developer. I used some ways from google to implement it. But they don't work very well for all the most android smart phone, specially in new android system (android O and android P)
I want to tell my boss that we cannot do (not wouldn't do) this requirement. But I don't have any evidence like Official documents to persuade my boss. Also his two questions I could not give correct answers:
- why my music player (like kuGouMusic or QQMusic) can keep playing in the background ?
- why my navigation app (Gaode or Baidu map) can keep record my route when the app in the background ?