remoteyourcam-usb
remoteyourcam-usb copied to clipboard
关于Android连接单反相机
你好,我最近正在研究remoteyourcam-usb。发现有个问题,若您了解,忘不吝啬解答。 我的单反相机nikonD610在连接手机后,发现无法再相机上调出相册,按拍门拍摄后,相机也是黑屏,不显示刚拍的照片。
这个情况我测试没遇到过,这种情况按照我的理解是,当相机连接上手机之后,相机的相册管理权限手机拥有,所以导致相机无法查看图片,拍照权限有时候也会被剥夺。遇到拍照权限被剥夺时重启下相机可以解决。希望对你有所帮助。
你好,我最近也在看remoteyourcam-usb.有一个问题比较困扰,不知道该怎么解决,希望你能赐教。 相机连接单反问题不大,但是所有的nikon系列,连接上相机之后相机就无法预览照片,而canon的相机连接之后就没有这个问题,希望你能不吝赐教,方便的话给个联系方式详聊,谢谢
你好,我最近也在看remoteyourcam-usb这个库.遇到一个问题比较困扰,不知道该怎么解决,看到您在这里回答特此过来请教一下。现在连接单反已经成功,但是遇到的nikonD5、D4s、D850系列,连接上相机之后相机就无法预览照片、无法回放,别的型号的尼康相机是没问题的,希望你能不吝赐教,方便的话加个联系方式,谢谢!
你好,我最近也在看remoteyourcam-usb这个库.遇到一个问题比较困扰,不知道该怎么解决,看到您在这里回答特此过来请教一下。现在连接单反已经成功,但是遇到的nikon系列,连接上相机之后相机就无法预览照片、无法回放,希望你能不吝赐教,方便的话加个联系方式,谢谢!
你好,可以加个联系方式,可以交流一下吗?
------------------ 原始邮件 ------------------ 发件人: "chenjianjun571"[email protected]; 发送时间: 2018年10月12日(星期五) 下午5:01 收件人: "duwurensheng010/remoteyourcam-usb"[email protected]; 抄送: "Sunny"[email protected]; "Comment"[email protected]; 主题: Re: [duwurensheng010/remoteyourcam-usb] 关于Android连接单反相机 (#1)
你好,我最近也在看remoteyourcam-usb这个库.遇到一个问题比较困扰,不知道该怎么解决,看到您在这里回答特此过来请教一下。现在连接单反已经成功,但是遇到的nikon系列,连接上相机之后相机就无法预览照片、无法回放,希望你能不吝赐教,方便的话加个联系方式,谢谢!
— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or mute the thread.
你好,可以加个联系方式,可以交流一下吗? … ------------------ 原始邮件 ------------------ 发件人: "chenjianjun571"[email protected]; 发送时间: 2018年10月12日(星期五) 下午5:01 收件人: "duwurensheng010/remoteyourcam-usb"[email protected]; 抄送: "Sunny"[email protected]; "Comment"[email protected]; 主题: Re: [duwurensheng010/remoteyourcam-usb] 关于Android连接单反相机 (#1) 你好,我最近也在看remoteyourcam-usb这个库.遇到一个问题比较困扰,不知道该怎么解决,看到您在这里回答特此过来请教一下。现在连接单反已经成功,但是遇到的nikon系列,连接上相机之后相机就无法预览照片、无法回放,希望你能不吝赐教,方便的话加个联系方式,谢谢! — You are receiving this because you commented. Reply to this email directly, view it on GitHub, or mute the thread.
276775937 我的qq
尼康的我这边还没试过,测试一直用的是佳能的,佳能碰到那种无法拍照的问题有可能是因为开启了自动对焦。
您好,我也遇到尼康连接后无法预览,无法打开回放。请问个问题有解决方法了吗
解决了,请移步https://blog.csdn.net/qq_32136827/article/details/100552216 ------------------ 原始邮件 ------------------ 发件人: "duwurensheng010/remoteyourcam-usb" <[email protected]>; 发送时间: 2020年9月27日(星期天) 下午3:38 收件人: "duwurensheng010/remoteyourcam-usb"<[email protected]>; 抄送: "Sunny"<[email protected]>;"Comment"<[email protected]>; 主题: Re: [duwurensheng010/remoteyourcam-usb] 关于Android连接单反相机 (#1)
您好,我也遇到尼康连接后无法预览,无法打开回放。请问个问题有解决方法了吗
— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or unsubscribe.
解决了,请移步https://blog.csdn.net/qq_32136827/article/details/100552216 ------------------ 原始邮件 ------------------ 发件人: "duwurensheng010/remoteyourcam-usb" <[email protected]>; 发送时间: 2020年9月27日(星期天) 下午3:38 收件人: "duwurensheng010/remoteyourcam-usb"<[email protected]>; 抄送: "Sunny"<[email protected]>;"Comment"<[email protected]>; 主题: Re: [duwurensheng010/remoteyourcam-usb] 关于Android连接单反相机 (#1) 您好,我也遇到尼康连接后无法预览,无法打开回放。请问个问题有解决方法了吗 — You are receiving this because you commented. Reply to this email directly, view it on GitHub, or unsubscribe.
文章内的apk我测试闪退了
找了一个解决办法,在PtpCamera#onSessionOpened 中: 加上queue.add(new SetDevicePropValueCommand(this, 0xD1F0, 1, uint8)); 这样可以在连接的同时打开预览和回放,但无法主动获取相片; 目前的解决方法是在获取相片处(即PtpCamera#retrieveStorages() 和 retrieveImageHandles()),调用queue.add(new SetDevicePropValueCommand(this, 0xD1F0, 0 uint8),获取完成后再调用queue.add(new SetDevicePropValueCommand(this, 0xD1F0, 1, uint8);
以上仅在三星s9+ Android 10,Nikon D7000上测试通过
两年多过过去了没想到这个问题还在。
其实这个问题当时已经解决了。当时是通过反编译市场上的竞品app之后,发现在连接特定相机所提前设定的16进制位参数不同,导致了某些相机无法预览。解决方法就是拿到相机的正确配置参数,在代码中配置上就行。而关于相机开发的相关参数,最好找厂家要,看看官方网网站有没有。
解决了呀,看一下 https://blog.csdn.net/qq_32136827/article/details/100552216
------------------ 原始邮件 ------------------ 发件人: "duwurensheng010/remoteyourcam-usb" <[email protected]>; 发送时间: 2020年9月27日(星期天) 下午3:38 收件人: "duwurensheng010/remoteyourcam-usb"<[email protected]>; 抄送: "Sunny"<[email protected]>;"Comment"<[email protected]>; 主题: Re: [duwurensheng010/remoteyourcam-usb] 关于Android连接单反相机 (#1)
您好,我也遇到尼康连接后无法预览,无法打开回放。请问个问题有解决方法了吗
— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or unsubscribe.
Android7.0测试机版本,请勿使用别的Android版本
------------------ 原始邮件 ------------------ 发件人: "Whatder"<[email protected]>; 发送时间: 2020年9月27日(星期天) 晚上6:59 收件人: "duwurensheng010/remoteyourcam-usb"<[email protected]>; 抄送: "Sunny"<[email protected]>; "Comment"<[email protected]>; 主题: Re: [duwurensheng010/remoteyourcam-usb] 关于Android连接单反相机 (#1)
解决了,请移步https://blog.csdn.net/qq_32136827/article/details/100552216 ------------------ 原始邮件 ------------------ 发件人: "duwurensheng010/remoteyourcam-usb" <[email protected]>; 发送时间: 2020年9月27日(星期天) 下午3:38 收件人: "duwurensheng010/remoteyourcam-usb"<[email protected]>; 抄送: "Sunny"<[email protected]>;"Comment"<[email protected]>; 主题: Re: [duwurensheng010/remoteyourcam-usb] 关于Android连接单反相机 (#1) 您好,我也遇到尼康连接后无法预览,无法打开回放。请问个问题有解决方法了吗 — You are receiving this because you commented. Reply to this email directly, view it on GitHub, or unsubscribe.
文章内的apk我测试闪退了
— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or unsubscribe.
厉害
------------------ 原始邮件 ------------------ 发件人: "ongnen"<[email protected]>; 发送时间: 2020年9月30日(星期三) 中午1:49 收件人: "duwurensheng010/remoteyourcam-usb"<[email protected]>; 抄送: "Sunny"<[email protected]>; "Comment"<[email protected]>; 主题: Re: [duwurensheng010/remoteyourcam-usb] 关于Android连接单反相机 (#1)
其实这个问题当时已经解决了。当时是通过反编译市场上的竞品app之后,发现在连接特定相机所提前设定的16进制位参数不同,导致了某些相机无法预览。解决方法就是拿到相机的正确配置参数,在代码中配置上就行。而关于相机开发的相关参数,最好找厂家要,看看官方网网站有没有。
— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or unsubscribe.
目前用佳能,尼康测试导入图片到手机,按下快门自动获取刚拍好的图片到手机效果如下! https://blog.csdn.net/weixin_54133377/article/details/117650564?spm=1001.2014.3001.5501
找了一个解决办法,在PtpCamera#onSessionOpened 中: 加上queue.add(new SetDevicePropValueCommand(this, 0xD1F0, 1, uint8)); 这样可以在连接的同时打开预览和回放,但无法主动获取相片; 目前的解决方法是在获取相片处(即PtpCamera#retrieveStorages() 和 retrieveImageHandles()),调用queue.add(new SetDevicePropValueCommand(this, 0xD1F0, 0 uint8),获取完成后再调用queue.add(new SetDevicePropValueCommand(this, 0xD1F0, 1, uint8);
以上仅在三星s9+ Android 10,Nikon D7000上测试通过
我试过了尼康Z6不行
其实这个问题当时已经解决了。当时是通过反编译市场上的竞品app之后,发现在连接特定相机所提前设定的16进制位参数不同,导致了某些相机无法预览。解决方法就是拿到相机的正确配置参数,在代码中配置上就行。而关于相机开发的相关参数,最好找厂家要,看看官方网网站有没有。
你好这个应该怎么设置参数?
您好,我也遇到尼康连接后无法预览,无法打开回放。请问个问题有解决方法了吗
我解决了,一行代码的问题
可以加Q772875381讨论
已实现索尼、佳能、尼康的手动点传、即拍即传,可以加QQ2676014118讨论