Giter Site home page Giter Site logo

崩溃 about qbox HOT 4 OPEN

ocnyang avatar ocnyang commented on May 5, 2024
崩溃

from qbox.

Comments (4)

GitACDreamer avatar GitACDreamer commented on May 5, 2024

以前我也利用聚合数据做过生活类的APP,数据质量不高,所以没有充钱进去,这个APP架构和一些热门的第三方库用的不错。
honor 8 手电筒打开不亮,多点几次崩溃(不知道作者利用tencent 的bugly收集crash信息没?还不错)
UI真心需要吐槽,有几个页面返回动画很别扭(天气功能,返回时有一段白屏以为是当前页面崩溃,重新载入呢!)

from qbox.

OCNYang avatar OCNYang commented on May 5, 2024

手电筒:
我的机型是小米6,昨天刚进行了新的系统升级,发现新的系统对应用权限进行了动态改变,从前我授予过App的权限被动态关闭了。然后我刚刚测试了一下手电筒,发现也是点击就退出应用,我检查了一遍应用权限发现照相机权限被关闭了,重新授权发现没问题了。(照相机权限其实是首次打开App时的必要权限,所以在手电筒这里就没有做权限的检测,现在我将在打开手电筒功能时添加上 照相机权限的检测)
天气:
UI是我个人凭感觉设计的(毕竟单身狗也不认识UI妹妹,所以...),天气白屏是一直存在的问题,一直在寻找解决方案,后续会解决这个问题的。

from qbox.

GitACDreamer avatar GitACDreamer commented on May 5, 2024

@OCNYang 没怎么仔细看你的代码,有点多,你那个WeatherActivity里面返回到我的页面监听的是KEY_DOWN ,我一般是Override onBackPressed 这个函数来处理,返回到上层UI没出现过你这种现象

from qbox.

OCNYang avatar OCNYang commented on May 5, 2024

返回按钮事件监听用哪个都行,这不会造成什么问题。
白屏的现象是因为调用了 System.exit(0); 强制退出,所以屏幕会闪一下,但是目前没有更好的解决方案。(如果不强制退出就会造成ANR。)

from qbox.

Related Issues (17)

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.