Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在开发一个应用程序,我需要在其中单击一系列图像,例如 30 秒内拍摄 10 张照片。
所以我想拍摄连拍照片是一种选择,但我该怎么做呢?
我希望该应用程序以这样一种方式工作,即单击一次,必须单击十张图像并且必须存储..
任何帮助 - 讨论这个或代码本身的博客 - 将不胜感激
这可以通过使用自定义 Android 应用程序来实现,例如通过使用在单击按钮时启动并调用takePicture其run()函数的计时器。看看这个关于如何使用计时器的stackoverflow问题。
takePicture
run()