I am developing an application which will be able to record video from background of application by using Service
.
Problem description :
Yes, you can record the background video like this:
First, create a video app using service. Do not set its view so that it will not be visible. If you are doing it in service then that is better because...
Second, you can use the AlarmManager for setting the alarm of particular time and then at that time, by using intent, start your service again. For stopping your app you can use AlarmManager, as well.