{"action":"created","issue":{"url":"https://api.github.com/repos/mindpin/knowledge-camp-art/issues/4","labels_url":"https://api.github.com/repos/mindpin/knowledge-camp-art/issues/4/labels{/name}","comments_url":"https://api.github.com/repos/mindpin/knowledge-camp-art/issues/4/comments","events_url":"https://api.github.com/repos/mindpin/knowledge-camp-art/issues/4/events","html_url":"https://github.com/mindpin/knowledge-camp-art/issues/4","id":108041747,"number":4,"title":"初版Demo开发","user":{"login":"destinyd","id":68806,"avatar_url":"https://avatars.githubusercontent.com/u/68806?v=3","gravatar_id":"","url":"https://api.github.com/users/destinyd","html_url":"https://github.com/destinyd","followers_url":"https://api.github.com/users/destinyd/followers","following_url":"https://api.github.com/users/destinyd/following{/other_user}","gists_url":"https://api.github.com/users/destinyd/gists{/gist_id}","starred_url":"https://api.github.com/users/destinyd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/destinyd/subscriptions","organizations_url":"https://api.github.com/users/destinyd/orgs","repos_url":"https://api.github.com/users/destinyd/repos","events_url":"https://api.github.com/users/destinyd/events{/privacy}","received_events_url":"https://api.github.com/users/destinyd/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2015-09-24T02:00:30Z","updated_at":"2015-10-09T04:08:05Z","closed_at":null,"body":"mockup地址\r\nhttp://www.mindpin.com/mockups/kc/art-camp_20150920/\r\n\r\n版本库地址\r\nhttps://github.com/destinyd/art-demo\r\n\r\n预计完成时间\r\n9月28日\r\n\r\n提交物\r\nAndroid版Demo"},"comment":{"url":"https://api.github.com/repos/mindpin/knowledge-camp-art/issues/comments/146751530","html_url":"https://github.com/mindpin/knowledge-camp-art/issues/4#issuecomment-146751530","issue_url":"https://api.github.com/repos/mindpin/knowledge-camp-art/issues/4","id":146751530,"user":{"login":"fushang318","id":326242,"avatar_url":"https://avatars.githubusercontent.com/u/326242?v=3","gravatar_id":"","url":"https://api.github.com/users/fushang318","html_url":"https://github.com/fushang318","followers_url":"https://api.github.com/users/fushang318/followers","following_url":"https://api.github.com/users/fushang318/following{/other_user}","gists_url":"https://api.github.com/users/fushang318/gists{/gist_id}","starred_url":"https://api.github.com/users/fushang318/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fushang318/subscriptions","organizations_url":"https://api.github.com/users/fushang318/orgs","repos_url":"https://api.github.com/users/fushang318/repos","events_url":"https://api.github.com/users/fushang318/events{/privacy}","received_events_url":"https://api.github.com/users/fushang318/received_events","type":"User","site_admin":false},"created_at":"2015-10-09T04:08:05Z","updated_at":"2015-10-09T04:08:05Z","body":"大神F2 移动版（4.4.2）\r\n点击 画完了!点击拍照提交 就会报错，堆栈如下\r\n```\r\n10-09 12:01:24.015 3911-3911/com.mindpin.art_demo.samples I/View: Touch up dispatch to android.widget.Button{4208ca50 VFED..C. ...P.... 0,1034-720,1134 #7f090004 app:id/btn_next}, event = MotionEvent { action=ACTION_UP, id[0]=0, x[0]=538.25244, y[0]=80.015625, toolType[0]=TOOL_TYPE_FINGER, buttonState=0, metaState=0, flags=0x0, edgeFlags=0x0, pointerCount=1, historySize=0, eventTime=1823330, downTime=1823191, deviceId=2, source=0x1002 }\r\n10-09 12:01:24.016 3911-3911/com.mindpin.art_demo.samples V/Provider/Settings:  from settings cache , name = sound_effects_enabled , value = 0\r\n10-09 12:01:24.504 3911-3911/com.mindpin.art_demo.samples V/PhoneWindow: DecorView setVisiblity: visibility = 4 ,Parent =null, this =com.android.internal.policy.impl.PhoneWindow$DecorView{422852e8 I.E..... R.....ID 0,0-0,0}\r\n10-09 12:01:24.509 3911-3911/com.mindpin.art_demo.samples V/PhoneWindow: DecorView setVisiblity: visibility = 0 ,Parent =ViewRoot{42290d90 com.mindpin.art_demo.samples/com.mindpin.art_demo.samples.views.StepActivity,ident = 3}, this =com.android.internal.policy.impl.PhoneWindow$DecorView{422852e8 V.E..... R.....ID 0,0-0,0}\r\n10-09 12:01:24.640 3911-3911/com.mindpin.art_demo.samples V/PhoneWindow: DecorView setVisiblity: visibility = 4 ,Parent =ViewRoot{41ec47c0 com.mindpin.art_demo.samples/com.mindpin.art_demo.samples.views.ChapterActivity,ident = 2}, this =com.android.internal.policy.impl.PhoneWindow$DecorView{41f9b3b0 I.E..... R....... 0,0-720,1280}\r\n10-09 12:01:27.022 3911-3911/com.mindpin.art_demo.samples I/View: Touch down dispatch to android.widget.Button{41f4fa18 VFED..C. ........ 0,1034-720,1134 #7f090004 app:id/btn_next}, event = MotionEvent { action=ACTION_DOWN, id[0]=0, x[0]=509.29266, y[0]=65.02734, toolType[0]=TOOL_TYPE_FINGER, buttonState=0, metaState=0, flags=0x0, edgeFlags=0x0, pointerCount=1, historySize=0, eventTime=1826336, downTime=1826336, deviceId=2, source=0x1002 }\r\n10-09 12:01:27.164 3911-3911/com.mindpin.art_demo.samples I/View: Touch up dispatch to android.widget.Button{41f4fa18 VFED..C. ...P.... 0,1034-720,1134 #7f090004 app:id/btn_next}, event = MotionEvent { action=ACTION_UP, id[0]=0, x[0]=509.29266, y[0]=65.02734, toolType[0]=TOOL_TYPE_FINGER, buttonState=0, metaState=0, flags=0x0, edgeFlags=0x0, pointerCount=1, historySize=0, eventTime=1826474, downTime=1826336, deviceId=2, source=0x1002 }\r\n10-09 12:01:27.178 3911-3911/com.mindpin.art_demo.samples V/Provider/Settings:  from settings cache , name = sound_effects_enabled , value = 0\r\n10-09 12:01:28.006 3911-3911/com.mindpin.art_demo.samples W/dalvikvm: threadid=1: thread exiting with uncaught exception (group=0x41aded40)\r\n10-09 12:01:28.007 3911-3911/com.mindpin.art_demo.samples W/dalvikvm: threadid=1: uncaught exception occurred\r\n10-09 12:01:28.007 3911-3911/com.mindpin.art_demo.samples W/System.err: java.lang.RuntimeException: Unable to resume activity {com.mindpin.art_demo.samples/com.mindpin.art_demo.samples.views.TakePhotoActivity}: java.lang.RuntimeException: autoFocus failed\r\n10-09 12:01:28.007 3911-3911/com.mindpin.art_demo.samples W/System.err:     at android.app.ActivityThread.performResumeActivity(ActivityThread.java:2985)\r\n10-09 12:01:28.008 3911-3911/com.mindpin.art_demo.samples W/System.err:     at android.app.ActivityThread.handleResumeActivity(ActivityThread.java:3014)\r\n10-09 12:01:28.008 3911-3911/com.mindpin.art_demo.samples W/System.err:     at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2403)\r\n10-09 12:01:28.008 3911-3911/com.mindpin.art_demo.samples W/System.err:     at android.app.ActivityThread.access$800(ActivityThread.java:159)\r\n10-09 12:01:28.008 3911-3911/com.mindpin.art_demo.samples W/System.err:     at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1329)\r\n10-09 12:01:28.008 3911-3911/com.mindpin.art_demo.samples W/System.err:     at android.os.Handler.dispatchMessage(Handler.java:110)\r\n10-09 12:01:28.008 3911-3911/com.mindpin.art_demo.samples W/System.err:     at android.os.Looper.loop(Looper.java:193)\r\n10-09 12:01:28.009 3911-3911/com.mindpin.art_demo.samples W/System.err:     at android.app.ActivityThread.main(ActivityThread.java:5367)\r\n10-09 12:01:28.009 3911-3911/com.mindpin.art_demo.samples W/System.err:     at java.lang.reflect.Method.invokeNative(Native Method)\r\n10-09 12:01:28.009 3911-3911/com.mindpin.art_demo.samples W/System.err:     at java.lang.reflect.Method.invoke(Method.java:515)\r\n10-09 12:01:28.009 3911-3911/com.mindpin.art_demo.samples W/System.err:     at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:847)\r\n10-09 12:01:28.009 3911-3911/com.mindpin.art_demo.samples W/System.err:     at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:663)\r\n10-09 12:01:28.009 3911-3911/com.mindpin.art_demo.samples W/System.err:     at dalvik.system.NativeStart.main(Native Method)\r\n10-09 12:01:28.009 3911-3911/com.mindpin.art_demo.samples W/System.err: Caused by: java.lang.RuntimeException: autoFocus failed\r\n10-09 12:01:28.013 3911-3911/com.mindpin.art_demo.samples W/System.err:     at android.hardware.Camera.native_autoFocus(Native Method)\r\n10-09 12:01:28.013 3911-3911/com.mindpin.art_demo.samples W/System.err:     at android.hardware.Camera.autoFocus(Camera.java:1454)\r\n10-09 12:01:28.014 3911-3911/com.mindpin.art_demo.samples W/System.err:     at com.mindpin.art_demo.samples.views.TakePhotoActivity.focus(TakePhotoActivity.java:117)\r\n10-09 12:01:28.014 3911-3911/com.mindpin.art_demo.samples W/System.err:     at com.mindpin.art_demo.samples.views.TakePhotoActivity.onResume(TakePhotoActivity.java:451)\r\n10-09 12:01:28.015 3911-3911/com.mindpin.art_demo.samples W/System.err:     at android.app.Instrumentation.callActivityOnResume(Instrumentation.java:1197)\r\n10-09 12:01:28.015 3911-3911/com.mindpin.art_demo.samples W/System.err:     at android.app.Activity.performResume(Activity.java:5358)\r\n10-09 12:01:28.015 3911-3911/com.mindpin.art_demo.samples W/System.err:     at android.app.ActivityThread.performResumeActivity(ActivityThread.java:2971)\r\n10-09 12:01:28.016 3911-3911/com.mindpin.art_demo.samples W/System.err: \t... 12 more\r\n10-09 12:01:28.016 3911-3911/com.mindpin.art_demo.samples W/dalvikvm: threadid=1: calling UncaughtExceptionHandler\r\n10-09 12:01:28.018 3911-3911/com.mindpin.art_demo.samples E/AndroidRuntime: FATAL EXCEPTION: main\r\n10-09 12:01:28.018 3911-3911/com.mindpin.art_demo.samples E/AndroidRuntime: Process: com.mindpin.art_demo.samples, PID: 3911\r\n10-09 12:01:28.018 3911-3911/com.mindpin.art_demo.samples E/AndroidRuntime: java.lang.RuntimeException: Unable to resume activity {com.mindpin.art_demo.samples/com.mindpin.art_demo.samples.views.TakePhotoActivity}: java.lang.RuntimeException: autoFocus failed\r\n10-09 12:01:28.018 3911-3911/com.mindpin.art_demo.samples E/AndroidRuntime:     at android.app.ActivityThread.performResumeActivity(ActivityThread.java:2985)\r\n10-09 12:01:28.018 3911-3911/com.mindpin.art_demo.samples E/AndroidRuntime:     at android.app.ActivityThread.handleResumeActivity(ActivityThread.java:3014)\r\n10-09 12:01:28.018 3911-3911/com.mindpin.art_demo.samples E/AndroidRuntime:     at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2403)\r\n10-09 12:01:28.018 3911-3911/com.mindpin.art_demo.samples E/AndroidRuntime:     at android.app.ActivityThread.access$800(ActivityThread.java:159)\r\n10-09 12:01:28.018 3911-3911/com.mindpin.art_demo.samples E/AndroidRuntime:     at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1329)\r\n10-09 12:01:28.018 3911-3911/com.mindpin.art_demo.samples E/AndroidRuntime:     at android.os.Handler.dispatchMessage(Handler.java:110)\r\n10-09 12:01:28.018 3911-3911/com.mindpin.art_demo.samples E/AndroidRuntime:     at android.os.Looper.loop(Looper.java:193)\r\n10-09 12:01:28.018 3911-3911/com.mindpin.art_demo.samples E/AndroidRuntime:     at android.app.ActivityThread.main(ActivityThread.java:5367)\r\n10-09 12:01:28.018 3911-3911/com.mindpin.art_demo.samples E/AndroidRuntime:     at java.lang.reflect.Method.invokeNative(Native Method)\r\n10-09 12:01:28.018 3911-3911/com.mindpin.art_demo.samples E/AndroidRuntime:     at java.lang.reflect.Method.invoke(Method.java:515)\r\n10-09 12:01:28.018 3911-3911/com.mindpin.art_demo.samples E/AndroidRuntime:     at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:847)\r\n10-09 12:01:28.018 3911-3911/com.mindpin.art_demo.samples E/AndroidRuntime:     at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:663)\r\n10-09 12:01:28.018 3911-3911/com.mindpin.art_demo.samples E/AndroidRuntime:     at dalvik.system.NativeStart.main(Native Method)\r\n10-09 12:01:28.018 3911-3911/com.mindpin.art_demo.samples E/AndroidRuntime:  Caused by: java.lang.RuntimeException: autoFocus failed\r\n10-09 12:01:28.018 3911-3911/com.mindpin.art_demo.samples E/AndroidRuntime:     at android.hardware.Camera.native_autoFocus(Native Method)\r\n10-09 12:01:28.018 3911-3911/com.mindpin.art_demo.samples E/AndroidRuntime:     at android.hardware.Camera.autoFocus(Camera.java:1454)\r\n10-09 12:01:28.018 3911-3911/com.mindpin.art_demo.samples E/AndroidRuntime:     at com.mindpin.art_demo.samples.views.TakePhotoActivity.focus(TakePhotoActivity.java:117)\r\n10-09 12:01:28.018 3911-3911/com.mindpin.art_demo.samples E/AndroidRuntime:     at com.mindpin.art_demo.samples.views.TakePhotoActivity.onResume(TakePhotoActivity.java:451)\r\n10-09 12:01:28.018 3911-3911/com.mindpin.art_demo.samples E/AndroidRuntime:     at android.app.Instrumentation.callActivityOnResume(Instrumentation.java:1197)\r\n10-09 12:01:28.018 3911-3911/com.mindpin.art_demo.samples E/AndroidRuntime:     at android.app.Activity.performResume(Activity.java:5358)\r\n10-09 12:01:28.018 3911-3911/com.mindpin.art_demo.samples E/AndroidRuntime:     at android.app.ActivityThread.performResumeActivity(ActivityThread.java:2971)\r\n10-09 12:01:28.018 3911-3911/com.mindpin.art_demo.samples E/AndroidRuntime:     at android.app.ActivityThread.handleResumeActivity(ActivityThread.java:3014) \r\n10-09 12:01:28.018 3911-3911/com.mindpin.art_demo.samples E/AndroidRuntime:     at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2403) \r\n10-09 12:01:28.018 3911-3911/com.mindpin.art_demo.samples E/AndroidRuntime:     at android.app.ActivityThread.access$800(ActivityThread.java:159) \r\n10-09 12:01:28.018 3911-3911/com.mindpin.art_demo.samples E/AndroidRuntime:     at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1329) \r\n10-09 12:01:28.018 3911-3911/com.mindpin.art_demo.samples E/AndroidRuntime:     at android.os.Handler.dispatchMessage(Handler.java:110) \r\n10-09 12:01:28.018 3911-3911/com.mindpin.art_demo.samples E/AndroidRuntime:     at android.os.Looper.loop(Looper.java:193) \r\n10-09 12:01:28.018 3911-3911/com.mindpin.art_demo.samples E/AndroidRuntime:     at android.app.ActivityThread.main(ActivityThread.java:5367) \r\n10-09 12:01:28.018 3911-3911/com.mindpin.art_demo.samples E/AndroidRuntime:     at java.lang.reflect.Method.invokeNative(Native Method) \r\n10-09 12:01:28.018 3911-3911/com.mindpin.art_demo.samples E/AndroidRuntime:     at java.lang.reflect.Method.invoke(Method.java:515) \r\n10-09 12:01:28.018 3911-3911/com.mindpin.art_demo.samples E/AndroidRuntime:     at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:847) \r\n10-09 12:01:28.018 3911-3911/com.mindpin.art_demo.samples E/AndroidRuntime:     at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:663) \r\n10-09 12:01:28.018 3911-3911/com.mindpin.art_demo.samples E/AndroidRuntime:     at dalvik.system.NativeStart.main(Native Method) \r\n```"}}