{"id":587,"date":"2015-09-11T12:44:50","date_gmt":"2015-09-11T03:44:50","guid":{"rendered":"http:\/\/beingTested.jp\/wordpress\/?p=587"},"modified":"2018-06-12T09:16:05","modified_gmt":"2018-06-12T00:16:05","slug":"587","status":"publish","type":"post","link":"https:\/\/beingtested.jp\/wordpress\/?p=587","title":{"rendered":"&#8220;ANDROID.PERMISSION.CAMERA&#8221;"},"content":{"rendered":"<p>\u9a5a\u3044\u305f\u30fc\u3002<\/p>\n<p>\u4eca\u3055\u3089\u3067\u3059\u3051\u3069\u6700\u8fd1Android\u3067\u904a\u3073\u59cb\u3081\u307e\u3057\u305f\u3002<\/p>\n<p>\u3069\u3053\u306e\u60c5\u5831\u898b\u3066\u3082\uff62eclipse+ADT\u306f\u30aa\u30ef&#8230;\uff63\u3068\u306e\u3053\u3068\u3067\u3057\u305f\u306e\u3067\u7a7a\u3044\u3066\u305fSSD1\u500b\u5c02\u7528\u306b\u8a2d\u7f6e\u3057\u3066AndroidStudio\u5165\u308c\u305f\u308f\u3051\u3067\u3059\u3088\u3002<\/p>\n<p>\u5f53\u7136\u4f7f\u3044\u306b\u304f\u3044\u3002\u3044\u307e\u3044\u3061\u30b3\u30fc\u30c9\u88dc\u5b8c\u304c\u3057\u3063\u304f\u308a\u3053\u306a\u3044\u3002\u4ffasyso\u591a\u7528\u3059\u308b\u3057\u3002\u3067\u3082\u6163\u308c\u308b\u3057\u304b\u306a\u3044\u3068\u4f7f\u3063\u3066\u305f\u308f\u3051\u3067\u3059\u3088\u3002<\/p>\n<p>\u307b\u3093\u3067\u3001\u534a\u65e5\u306f\u307e\u3063\u305f\u306e\u304c\u3053\u308c\u3002<\/p>\n<p>&lt;uses-permission android:name=&#8221;ANDROID.PERMISSION.CAMERA&#8221; \/&gt;<\/p>\n<p>\u30ab\u30e1\u30e9\u4f7f\u3046\u306a\u3089\u5f53\u7136\u306e1\u884c\u3002\u304d\u3063\u3061\u308a\u30b3\u30fc\u30c9\u88dc\u5b8c\u3067\u51fa\u308b\u3057\u3001\u3084\u3063\u3071\u308aAS\u306b\u3057\u3066\u3088\u304b\u3063\u305f\u3068\u601d\u3046\u308f\u3051\u3067\u3059\u3002<\/p>\n<p>\u3057\u304b\u3057\u3001\u5168\u7136\u52d5\u304b\u306a\u3044\u3002<\/p>\n<p>java.lang.RuntimeException: Fail to connect to camera service<\/p>\n<p>\u672a\u3060\u306bcamera2\u3058\u3083\u306a\u304f\u3066Camera\u4f7f\u3063\u3066\u308b\u304b\u3089\u304b\u3001\u3068\u304b\u3001surfaceView\u306exml\u3078\u306e\u8a2d\u7f6e\u3063\u3066\u3057\u306a\u304f\u3066\u826f\u3044\u306e\uff1f\u3068\u304b\u3001\u3088\u304f\u5206\u304b\u3063\u3066\u306a\u3044\u304b\u3089\u5168\u65b9\u4f4d\u624b\u63a2\u308a\u72b6\u614b\u3002\u3088\u304flogcat\u898b\u308b\u3068<\/p>\n<p>D\/Camera\ufe55 open(int cameraId) application != null<\/p>\n<p>\u306a\u306e\u3067\u5168\u30a2\u30d7\u30ea\u7d42\u4e86\u3001\u518d\u8d77\u52d5\u3082\u3057\u307e\u3057\u305f\u3088\u3002\u3067\u3082\u3060\u3081\u3002<\/p>\n<p>\u534a\u65e5net\u3092\u3055\u307e\u3088\u3063\u305f\u6319\u53e5\u3001\uff62\u306a\u3093\u304b\u9055\u3046\uff63\u3068\u304a\u3082\u3063\u3066\u8a66\u3057\u306b<\/p>\n<pre>&lt;uses-permission android:name=\"android.permission.CAMERA\" \/&gt;\r\n\r\n\u4e00\u90e8\u5c0f\u6587\u5b57\u306b\u3057\u305f\u3089\u3061\u3083\u3093\u3068\u52d5\u3044\u305f\u3002AS\u6016\u3044\u3002<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>\u9a5a\u3044\u305f\u30fc\u3002 \u4eca\u3055\u3089\u3067\u3059\u3051\u3069\u6700\u8fd1Android\u3067\u904a\u3073\u59cb\u3081\u307e\u3057\u305f\u3002 \u3069\u3053\u306e\u60c5\u5831\u898b\u3066\u3082\uff62eclipse+ADT\u306f\u30aa\u30ef&#8230;\uff63\u3068\u306e\u3053\u3068\u3067\u3057\u305f\u306e\u3067\u7a7a\u3044\u3066\u305fSSD1\u500b\u5c02\u7528\u306b\u8a2d\u7f6e\u3057\u3066AndroidStudio\u5165\u308c\u305f\u308f\u3051\u3067\u3059\u3088\u3002 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[26],"tags":[46,41],"class_list":["post-587","post","type-post","status-publish","format-standard","hentry","category-26","tag-android","tag-java"],"_links":{"self":[{"href":"https:\/\/beingtested.jp\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/587","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/beingtested.jp\/wordpress\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/beingtested.jp\/wordpress\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/beingtested.jp\/wordpress\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/beingtested.jp\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=587"}],"version-history":[{"count":2,"href":"https:\/\/beingtested.jp\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/587\/revisions"}],"predecessor-version":[{"id":589,"href":"https:\/\/beingtested.jp\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/587\/revisions\/589"}],"wp:attachment":[{"href":"https:\/\/beingtested.jp\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=587"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/beingtested.jp\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=587"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/beingtested.jp\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=587"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}