multithreading - android audio record schedule, service or thread -


i trying write android app starts thread or service when button pressed. app records audio 10 minutes in morning , 10 minutes in evening 5 days in row. there no need ui available once app has been started. have been trying using service have tried thread. newbie world of scripting, love advice on path best, thread or service?

you need separate thread ran inside of service onstartcommand code.

and reading more tutorials https://developer.android.com/training/run-background-service/create-service.html


Comments

Popular posts from this blog

c# - Validate object ID from GET to POST -

node.js - Custom Model Validator SailsJS -

php - Find a regex to take part of Email -