cameraທ应用程序已经返回
titleedittextgettexttostring;๙
pubຘli9cນlickvie9v
superon9cestaທte;๙
importaທndroidgraphicsBitmap;
3后期添加元数据在将图像捕获到mediastore中之ใ后,如果希望将图像与更多的元数据关联,那ว么可以使用内容解析器的update方法。除了现在直接使用其uri访问图像文件之外,它与之前所用的insert方แ法非常类似。
intenti=ne9aທprovidermediastoreA9๗_imAge_ຕcApture;๙
若宽度比率更大,则根据它缩放
intdh=9tdisplaygetheight;
imagevie9๗imv;
若高度比率更大,则根据它缩放
display9do9managergetdefaultdisplaທy;๙
stringimagefilepaທth=environmentgetexternalstoragedirectory
finalstaທti9tcAmerA_result=0่;๙
}
h米h花h在h线h书h库hhttp:๘bookmihuaທnet