[英]Google Glass OnActivityResult not called for intent MediaStore.ACTION_IMAGE_CAPTURE
I want to take image followed by certain operations on that image. 我要拍摄图像,然后对该图像进行某些操作。 first part is working as expected :
第一部分按预期工作:
Intent intent = new Intent(MediaStore.ACTION_IMAGE_CAPTURE);
startActivityForResult(intent, REQ_TAKE_PICTURE);
opens camera, take picture and say tap to accept. 打开相机,拍照并说出接受。 now as soon as i tap it, glass start showing default scree "ok glass".
现在,一旦我点击它,玻璃杯就会开始显示默认屏幕“ ok glass”。 Idealy it should call onActiviryResult.
从理论上讲,它应该调用onActiviryResult。
@Override
public void onActivityResult(int requestCode, int resultCode, Intent data) {
Log.d(LOG_TAG, "onActivityResult " + requestCode + " " + resultCode + " "data);
super.onActivityResult(requestCode, resultCode, data);
}
:( ........... no clue whats wrong with google glass :( :( .......不清楚Google Glass有什么问题:(
Doesn't work for me either. 也不适合我。 It's a bug in their latest update, XE19.1.
这是其最新更新XE19.1中的错误。 Issues have been filed and sent to Google, so it should be taken care of and fixed in the next update.
已将问题归档并发送给Google,因此应在下一次更新中予以解决。
Source: https://code.google.com/p/google-glass-api/issues/detail?id=555 来源: https : //code.google.com/p/google-glass-api/issues/detail?id = 555
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.