如何在相机上进行验证以捕获图像? [英] How to put validation on camera for capturing an image?

查看:82
本文介绍了如何在相机上进行验证以捕获图像?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,



这里我想添加一个验证,就像一整天相机打开只有10次拍摄图像。特定日期如果他点击更多时间,相机会将图片拍摄10次,如果您的限制仅为10,则在此日期拍摄照片(今天的日期)。

解决方案

Hello Varsha,



请查看此文档 http://developer.android.com/reference/android/hardware/Camera.html [ ^ ]。 Camera.ShutterCallback 界面是我认为你会感兴趣的。



问候,


Hello guys,

Here i want to add a validation like in the whole day the camera is open only 10 times for capturing an image.At Specific date the camera snap the picture only 10 times if he click on more time the message will display like your limit is only 10 for snap the picture on this date(Today''s Date).

解决方案

Hello Varsha,

Please have a look at this documentation http://developer.android.com/reference/android/hardware/Camera.html[^]. Camera.ShutterCallback interface is what I think will interest you.

Regards,


这篇关于如何在相机上进行验证以捕获图像?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆