Impliment background serverices in Android . when Mobil close from background . easly run services and recording start . got one recording path from other activity . interested user bit here don't time pass.
new android skds don't allow service to run in background. But I have some loopholes from there we can run service partially. Please send massage for further communication.