我想捕捉和放大器;保存图像和放大器;让使用Android手机的前置摄像头的图像的URL,而无需打开摄像头应用程序。 谁能帮我这个?
I want to capture & save an image & get the url of the image using the front camera of the android phone without opening the camera application. Can anyone help me with this?
只要按照步骤在这里: 如何拍照
Just follow the steps here: How to take photos
您想要的前置摄像头,所以要选择摄像机,你应该叫
You want the front camera, so to choose the camera you should call
myCamera.open(cameraNumber)
和cameraNumber是您要使用的摄像机的编号。如果你有两个摄像头,你可以0或1。把它称为尝试两个参数来看看哪些相机各项参数激活。
and cameraNumber is the number of the camera that you want to use. if you have two cameras, you can call it with 0 or 1. try both parameters to see which camera each parameter activates.