GithubHelp home page GithubHelp logo

在显示自定义照相界面调用照相机api回调result_code=0 In the display of the custom camera interface to call the camera API callback result_code=0 about camerafilter HOT 5 CLOSED

nekocode avatar nekocode commented on June 11, 2024
在显示自定义照相界面调用照相机api回调result_code=0 In the display of the custom camera interface to call the camera API callback result_code=0

from camerafilter.

Comments (5)

nekocode avatar nekocode commented on June 11, 2024

@qssq 你用中文描述吧,这机翻的英文我表示看不懂啊。

from camerafilter.

lozn00 avatar lozn00 commented on June 11, 2024

是这样的 有一个界面 加载后我就调用你这个项目的api进行预览了,但是这个预览界面上面还有一层显示界面 然后呢还有一个对话框 就是有几个行为 ,当前界面预览拍照,以及选择相册 选择自带相机拍照,我使用了当前预览界面拍照后 然后选择 相册后返回 崩溃了 ,就是之前反馈的线程问题, 然后还导致了自带相机返回值 一直为0 RESULT_CODE =0 很纳闷啊。

from camerafilter.

nekocode avatar nekocode commented on June 11, 2024

能分享你目前的代码给我么?我检查下具体是什么问题。

from camerafilter.

lozn00 avatar lozn00 commented on June 11, 2024

谢谢,是真实项目 太乱 又太啰嗦。 估计只能分享一个j横截面了。。 其实我上面描述的应该很清楚呀。同一个界面实现拍照 以及 拍照后的 图片ps也就是 合成 头发虚拟发型 同一个界面进行操作,所以在textstrue上面有一个图层 没有选择对话框的拍照选项时照相机是被隐藏的,显示后就调用了拍照方法 完全复制您上面demo里面的代码 直接拍照没问题就是选择一个本地相册api然后再重新选择照相就崩溃了线程错误 ,然后就是 自带相机回调失败,我也搞不懂。

from camerafilter.

nekocode avatar nekocode commented on June 11, 2024

你可以尝试在 这一行这一行 分别设置断点。检查跳转到相册选择界面时是否调用了渲染线程的 interrupt() 方法,以及返回到渲染界面时 isAlive() 是否返回 false(简而言之就是判断线程的状态)。

from camerafilter.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.