Title: 开启“不保留活动”,还是会报异常 · Issue #12 · D-clock/AndroidStudyCode · GitHub
Open Graph Title: 开启“不保留活动”,还是会报异常 · Issue #12 · D-clock/AndroidStudyCode
X Title: 开启“不保留活动”,还是会报异常 · Issue #12 · D-clock/AndroidStudyCode
Description: 在华为 C8816,android 4.3 上,会报空指针异常。 经过断点调试,发现是 mCapturePhotoHelper 为 null @Override protected void onActivityResult(int requestCode, int resultCode, Intent data) { Log.i(TAG, "requestCode: " + requestCode + " resultCode: " + resultCode + " ...
Open Graph Description: 在华为 C8816,android 4.3 上,会报空指针异常。 经过断点调试,发现是 mCapturePhotoHelper 为 null @Override protected void onActivityResult(int requestCode, int resultCode, Intent data) { Log.i(TAG, "requestCode: " + request...
X Description: 在华为 C8816,android 4.3 上,会报空指针异常。 经过断点调试,发现是 mCapturePhotoHelper 为 null @Override protected void onActivityResult(int requestCode, int resultCode, Intent data) { Log.i(TAG, "requestCode: "...
Opengraph URL: https://github.com/D-clock/AndroidStudyCode/issues/12
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"开启“不保留活动”,还是会报异常","articleBody":"在华为 C8816,android 4.3 上,会报空指针异常。\n\n经过断点调试,发现是 `mCapturePhotoHelper` 为 null\n\n```\n@Override\n protected void onActivityResult(int requestCode, int resultCode, Intent data) {\n Log.i(TAG, \"requestCode: \" + requestCode + \" resultCode: \" + resultCode + \" data: \" + data);\n if (requestCode == CapturePhotoHelper.CAPTURE_PHOTO_REQUEST_CODE) {\n File photoFile = mCapturePhotoHelper.getPhoto();\n // 代码省略\n}\n```\n\n是不是因为 `mCapturePhotoHelper` 被回收了啊?\n","author":{"url":"https://github.com/okadaNana","@type":"Person","name":"okadaNana"},"datePublished":"2016-10-11T08:34:44.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/12/AndroidStudyCode/issues/12"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:4aaefb15-9d5b-3c65-f729-5480f494213d |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | E9E8:1A9004:11D8D6A:18EB4A5:696A31BD |
| html-safe-nonce | e13f1f306c7b479b78fbde8ea3e4c1e6c2efc1b94355e436371f1bdd2b363ee4 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFOUU4OjFBOTAwNDoxMUQ4RDZBOjE4RUI0QTU6Njk2QTMxQkQiLCJ2aXNpdG9yX2lkIjoiODM4NzExMDExMDQ0OTI1MDc0OSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 1b46ca34269f6ba4bbcdb1b718fec49330d584409b776f4635b6541ea1f77833 |
| hovercard-subject-tag | issue:182205467 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/D-clock/AndroidStudyCode/12/issue_layout |
| twitter:image | https://opengraph.githubassets.com/45bcc38f438cb624f002e82f51676e789c7a0419807320644d45647bf6e75de6/D-clock/AndroidStudyCode/issues/12 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/45bcc38f438cb624f002e82f51676e789c7a0419807320644d45647bf6e75de6/D-clock/AndroidStudyCode/issues/12 |
| og:image:alt | 在华为 C8816,android 4.3 上,会报空指针异常。 经过断点调试,发现是 mCapturePhotoHelper 为 null @Override protected void onActivityResult(int requestCode, int resultCode, Intent data) { Log.i(TAG, "requestCode: " + request... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | okadaNana |
| hostname | github.com |
| expected-hostname | github.com |
| None | ade130928b3890d20ecf9c887468a17e88d5c9a740ea2a85c2c2162e7c58e623 |
| turbo-cache-control | no-preview |
| go-import | github.com/D-clock/AndroidStudyCode git https://github.com/D-clock/AndroidStudyCode.git |
| octolytics-dimension-user_id | 6497308 |
| octolytics-dimension-user_login | D-clock |
| octolytics-dimension-repository_id | 58705220 |
| octolytics-dimension-repository_nwo | D-clock/AndroidStudyCode |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 58705220 |
| octolytics-dimension-repository_network_root_nwo | D-clock/AndroidStudyCode |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | c00842167ca2e5b13e8171812965d503e925ece6 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width