as new to android and had a requirement to start voice recording for specific period of time and the time will get by the button click by the user choice i had design the UI with several button with some second of time.so while clicking the button the time will set and recording will start.Is anything is there in android.Little help will be much appreciate.
Share
Edit
If I didn’t misread it again, take a look at TimerTask. After creating your recorder instance, run below code
Answer Before Edit
I think AlarmManager is what you are looking for. As it says in the overview
Take a look at these threads and blog entry.
Start app at a specific time
Android: How to use AlarmManager
Schedule app to start later