开发者

Camera activity in android?

When i start recording video using camera ,it starts recording , but if i hold the camera idle without doing any operation(like touch , tap..etc) , device went to sleep mode means device locked , then i need to reopen the device.

I need to make the device active while recording and not want to go sleep mode while recording. If any one knows t开发者_高级运维hat solution please help me.

Thanks.


You are looking for the PowerManager service. Have a look at the official documentation.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜