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

javascript - How to update a get parameter in a url with jquery -

c - Run time Error with scanf -

amazon web services - How to determine the state of an AWS instance -