background process - How can I implement double processes protection in android apps? -


i found android app contains 2 processes in background though quit app. after app manager.however found hard kill them when try kill processes. kill first one, second recreate it; kill second one, first recreate other one. manage kill them after restart device. found app start processes soon. wanna know how can restart , hard kill. search whole internet, can not find related solution. in advance. wanna how work not develop these annoying apps.

these processes processes services.

if return start_sticky in onstartcommand , killed while in started state, later system try recreate it. so, when kill first process, it's not second process recreates rather system itself.

i wanna how work not develop these annoying apps.

if want services stop when killed, return start_not_sticky in onstartcommand.


Popular posts from this blog

c# - ODP.NET Oracle.ManagedDataAccess causes ORA-12537 network session end of file -

matlab - Compression and Decompression of ECG Signal using HUFFMAN ALGORITHM -

utf 8 - split utf-8 string into bytes in python -