I am continuously capturing images with my camera at interval of 1 min.It is working without any problem.But when i got incoming call,my camera activity goes to background and not capturing any images.When call finishes m able to see my activity and images are captured without any problem.
What to do so that when incoming call,s开发者_Python百科till camera should capture images.
Thanks and Regards.
Rohan Wagh
What to do so that when incoming call,still camera should capture images.
If the problem occurs if your "camera activity goes to background" for other reasons (e.g., open a Notification that leads to some other activity, press the HOME button), then I think you are out of luck. The camera preview is required to capture images, and the preview is not visible while other activities have the foreground (e.g., in-call screen).
If the problem is specific to the in-call screen, though, that I cannot explain.
精彩评论