{"id":3484,"date":"2014-03-25T21:56:17","date_gmt":"2014-03-25T21:56:17","guid":{"rendered":"https:\/\/unknownerror.org\/index.php\/2014\/03\/25\/system-crashes-and-reboots-while-using-drag-and-drop-collection-of-common-programming-errors\/"},"modified":"2014-03-25T21:56:17","modified_gmt":"2014-03-25T21:56:17","slug":"system-crashes-and-reboots-while-using-drag-and-drop-collection-of-common-programming-errors","status":"publish","type":"post","link":"https:\/\/unknownerror.org\/index.php\/2014\/03\/25\/system-crashes-and-reboots-while-using-drag-and-drop-collection-of-common-programming-errors\/","title":{"rendered":"System crashes and reboots while using drag and drop-Collection of common programming errors"},"content":{"rendered":"<ul>\n<li><img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/88985f4480f813f3aed78acceeb09fc1?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nuser1822729<\/p>\n<p>I have a layout where 4 image view will be there. 3 image view will have the image of ball,cat and apple image. I need to drag any 1 of the 3 and drop in the 4th image view.<\/p>\n<p><strong>Issue :<\/strong> When I start drag any one of the 3 image the system crashes and reboots. Could you please guide me to resolve this issue ?<\/p>\n<h2>Java code:<\/h2>\n<pre><code>package com.example.draganddrop;\n\nimport android.os.Bundle;\nimport android.annotation.TargetApi;\nimport android.app.Activity;\nimport android.content.ClipData; \nimport android.util.Log;\nimport android.view.DragEvent;\nimport android.view.MotionEvent;\nimport android.view.View;\nimport android.view.Window;\nimport android.view.WindowManager;\nimport android.view.View.DragShadowBuilder;\nimport android.view.View.OnDragListener;\nimport android.view.View.OnTouchListener;\nimport android.widget.ImageView; \nimport android.widget.Toast;\n\n\n@TargetApi(11)\npublic class DragDropActivity extends Activity {\n\n\/\/text views being dragged and dropped onto\nprivate ImageView option1, option2, option3, choice1;\nString type;\n\n@TargetApi(11)\n@Override\nprotected void onCreate(Bundle savedInstanceState) {\n    super.onCreate(savedInstanceState);\n    requestWindowFeature(Window.FEATURE_NO_TITLE);\n    getWindow().setFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN, WindowManager.LayoutParams.FLAG_FULLSCREEN);\n\n    setContentView(R.layout.activity_drag_drop);\n\n    \/\/get both sets of text views\n\n    \/\/views to drag\n    option1 = (ImageView)findViewById(R.id.option_1);\n    option2 = (ImageView)findViewById(R.id.option_2);\n    option3 = (ImageView)findViewById(R.id.option_3);\n\n    \/\/views to drop onto\n    choice1 = (ImageView)findViewById(R.id.choice_1); \n\n    \/\/set touch listeners\n    option1.setOnTouchListener(new ChoiceTouchListener( \"ball\"));\n    option2.setOnTouchListener(new ChoiceTouchListener( \"cat\"));\n    option3.setOnTouchListener(new ChoiceTouchListener( \"apple\" ));\n\n    \/\/set drag listeners\n    choice1.setOnDragListener(new ChoiceDragListener(type)); \n}\n\n\/**\n * ChoiceTouchListener will handle touch events on draggable views\n *\n *\/\nprivate final class ChoiceTouchListener implements OnTouchListener {\n    ChoiceTouchListener(String typePassed){\n        type = typePassed;\n    }\n    public boolean onTouch(View view, MotionEvent motionEvent) {\n        if (motionEvent.getAction() == MotionEvent.ACTION_DOWN) { \n\n            switch (view.getId()){\n            case R.id.option_1: \n                Log.i(\"DragDropActivity\",\" 1. constructor dragging \" + \"ball\" ); \n                break;  \n\n            case R.id.option_2:  \n                Log.i(\"DragDropActivity\",\" 2. constructor dragging \" + \"cat\" );  \n                break; \n            case R.id.option_3:  \n                Log.i(\"DragDropActivity\",\" 3. constructor dragging \" + \"apple\" );  \n                break; \n            }\n\n            ClipData data = ClipData.newPlainText(\"\", \"\");\n            DragShadowBuilder shadowBuilder = new View.DragShadowBuilder(view); \n            view.startDrag(data, shadowBuilder, view, 0);\n            return true;\n        } else {\n            return false;\n        }\n    }\n} \n\n\/**\n * DragListener will handle dragged views being dropped on the drop area\n * - only the drop action will have processing added to it as we are not\n * - amending the default behavior for other parts of the drag process\n *\n *\/\nprivate class ChoiceDragListener implements OnDragListener {\n\n    ChoiceDragListener(String type){ \n        Log.i(\"DragDropActivity\",\" constructor dragging \" + type );  \n    }\n\n    @Override\n    public boolean onDrag(View v, DragEvent event) {\n        View view = (View) event.getLocalState(); \n        switch (event.getAction()) { \n        case DragEvent.ACTION_DRAG_STARTED: \n            break;\n        case DragEvent.ACTION_DRAG_ENTERED: \n            break;\n        case DragEvent.ACTION_DRAG_EXITED:    \n            break;\n        case DragEvent.ACTION_DROP: \n            Log.i(\"DragDropActivity\",\" Image is : dropped   \" );  \n\n            break;\n        case DragEvent.ACTION_DRAG_ENDED:  \n            break;\n        default:\n\n            break;\n        }\n\n        return true;\n    }\n} \n    }\n<\/code><\/pre>\n<h2>LogCat of my Device<\/h2>\n<pre><code>02-14 11:05:35.329: W\/WindowManager(272): Drag is in progress but there is no drag window handle.\n02-14 11:05:35.449: I\/DragDropActivity(1259):  1. constructor dragging ball\n02-14 11:05:35.469: I\/DragDropActivity(1259):  dragging apple\n02-14 11:05:35.469: I\/DragDropActivity(1259):  Image started dragging \n02-14 11:05:35.579: I\/DragDropActivity(1259):  Image is : dropped   \n02-14 11:05:35.579: I\/ViewRootImpl(1259): Reporting drop result: true\n02-14 11:05:35.579: W\/WindowManager(272): Drag is in progress but there is no drag window handle.\n02-14 11:05:35.689: I\/DragDropActivity(1259):  1. constructor dragging ball\n02-14 11:05:35.709: I\/DragDropActivity(1259):  dragging apple\n02-14 11:05:35.709: I\/DragDropActivity(1259):  Image started dragging \n02-14 11:05:35.819: I\/DragDropActivity(1259):  Image is : dropped   \n02-14 11:05:35.819: I\/ViewRootImpl(1259): Reporting drop result: true\n02-14 11:05:37.969: D\/dalvikvm(658): GC_CONCURRENT freed 316K, 10% free 6751K\/7495K, paused 2ms+2ms\n02-14 11:05:38.069: D\/dalvikvm(658): GC_FOR_ALLOC freed 391K, 11% free 6712K\/7495K, paused 16ms\n02-14 11:05:41.689: D\/lights(272): set_light_buttons: brightness=0\n02-14 11:05:45.249: D\/dalvikvm(658): GC_CONCURRENT freed 493K, 12% free 6669K\/7495K, paused 5ms+3ms\n02-14 11:05:52.509: D\/dalvikvm(658): GC_CONCURRENT freed 470K, 11% free 6693K\/7495K, paused 5ms+3ms\n02-14 11:05:59.729: D\/dalvikvm(658): GC_CONCURRENT freed 310K, 9% free 6870K\/7495K, paused 2ms+2ms\n02-14 11:05:59.809: D\/dalvikvm(658): GC_FOR_ALLOC freed 384K, 11% free 6712K\/7495K, paused 15ms\n02-14 11:06:06.989: D\/dalvikvm(658): GC_CONCURRENT freed 487K, 12% free 6653K\/7495K, paused 1ms+2ms\n02-14 11:06:07.149: D\/dalvikvm(489): GC_FOR_ALLOC freed 750K, 12% free 9190K\/10439K, paused 22ms\n02-14 11:06:07.229: D\/dalvikvm(658): GC_CONCURRENT freed 354K, 11% free 6701K\/7495K, paused 2ms+3ms\n02-14 11:06:10.009: W\/ActivityManager(272): Timeout of broadcast BroadcastRecord{2bff8c10 android.intent.action.TIME_TICK} - receiver=android.app.LoadedApk$ReceiverDispatcher$InnerReceiver@2bfb0bb8, started 10008ms ago\n02-14 11:06:10.009: W\/ActivityManager(272): Receiver during timeout: BroadcastFilter{2bfb0dc0 ReceiverList{2bfb0d48 272 system\/1000 local:2bfb0bb8}}\n02-14 11:06:15.380: I\/3gw.Service(1245): Mobile Network not connected - not roaming\n02-14 11:06:19.159: I\/Process(272): Sending signal. PID: 272 SIG: 3\n02-14 11:06:19.159: I\/dalvikvm(272): threadid=3: reacting to signal 3\n02-14 11:06:19.199: I\/dalvikvm(272): Wrote stack traces to '\/data\/anr\/traces.txt'\n02-14 11:06:20.019: W\/ActivityManager(272): Timeout of broadcast BroadcastRecord{2bff8c10 android.intent.action.TIME_TICK} - receiver=android.app.LoadedApk$ReceiverDispatcher$InnerReceiver@2bf1fbd0, started 10008ms ago\n02-14 11:06:20.019: W\/ActivityManager(272): Receiver during timeout: BroadcastFilter{2bf33818 ReceiverList{2bf42f58 272 system\/1000 local:2bf1fbd0}}\n02-14 11:06:21.479: D\/dalvikvm(658): GC_CONCURRENT freed 414K, 11% free 6725K\/7495K, paused 2ms+4ms\n02-14 11:06:21.589: D\/dalvikvm(658): GC_CONCURRENT freed 394K, 11% free 6720K\/7495K, paused 2ms+3ms \n02-14 11:06:28.799: D\/lights(272): set_light_backlight: brightness=102\n02-14 11:06:28.799: D\/dalvikvm(658): GC_CONCURRENT freed 497K, 11% free 6673K\/7495K, paused 2ms+3ms\n02-14 11:06:28.819: D\/lights(272): set_light_backlight: brightness=96\n02-14 11:06:29.039: D\/lights(272): set_light_backlight: brightness=26\n02-14 11:06:29.059: D\/lights(272): set_light_backlight: brightness=20\n02-14 11:06:35.931: D\/lights(272): set_light_backlight: brightness=0\n02-14 11:06:35.931: I\/power(272): *** set_screen_state 0\n02-14 11:06:35.939: D\/DASH - select(272): sensors_select_callback: select canceled by request\n02-14 11:06:35.939: D\/DASH - select(272): sensors_select_callback: select canceled by request\n02-14 11:06:35.939: D\/DASH-bma250_input(272): bma250_input_config_delay: rate:66667000\n02-14 11:06:35.949: D\/kernel(135): [  255.657379] request_suspend_state: sleep (0-&gt;3) at 251806856750 (2013-02-14 05:36:35.936248755 UTC)\n02-14 11:06:35.949: D\/kernel(135): [  255.657470] as3676 0-0040: as3676_early_suspend\n02-14 11:06:35.949: D\/kernel(135): [  255.661346] cyttsp-spi spi0.0: cyttsp_suspend: Enter\n02-14 11:06:35.969: D\/SurfaceFlinger(126): About to give-up screen, flinger = 0xfc48\n02-14 11:06:36.089: D\/dalvikvm(658): GC_CONCURRENT freed 472K, 11% free 6698K\/7495K, paused 6ms+3ms\n02-14 11:06:36.389: D\/kernel(135): [  256.102478] active wake lock PowerManagerService\n02-14 11:06:36.389: D\/kernel(135): [  256.102539] active wake lock usb_bus_active\n02-14 11:06:36.389: D\/kernel(135): [  256.102569] active wake lock msm_otg\n02-14 11:06:36.389: D\/kernel(135): [  256.102600] active wake lock bq24185_watchdog_lock\n02-14 11:06:36.389: D\/kernel(135): [  256.102661] wake lock mmc_delayed_work, expired\n02-14 11:06:49.205: W\/Watchdog(272): WATCHDOG PROBLEM IN SYSTEM SERVER: com.android.server.wm.WindowManagerService\n02-14 11:06:49.209: I\/Process(272): Sending signal. PID: 272 SIG: 3\n02-14 11:06:49.209: I\/dalvikvm(272): threadid=3: reacting to signal 3\n02-14 11:06:49.249: I\/dalvikvm(272): Wrote stack traces to '\/data\/anr\/traces.txt'\n02-14 11:06:49.249: I\/Process(272): Sending signal. PID: 459 SIG: 3\n02-14 11:06:49.249: I\/dalvikvm(459): threadid=3: reacting to signal 3\n02-14 11:06:49.259: I\/dalvikvm(459): Wrote stack traces to '\/data\/anr\/traces.txt'\n02-14 11:06:51.265: I\/Watchdog_N(272): dumpKernelStacks\n02-14 11:06:51.265: E\/Watchdog_N(272): Unable to open stack of tid 272 : 13 (Permission denied)\n02-14 11:06:51.265: E\/Watchdog_N(272): Unable to open stack of tid 274 : 13 (Permission denied)\n02-14 11:06:51.269: E\/Watchdog_N(272): Unable to open stack of tid 277 : 13 (Permission denied)\n02-14 11:06:51.269: E\/Watchdog_N(272): Unable to open stack of tid 278 : 13 (Permission denied)\n02-14 11:06:51.269: E\/Watchdog_N(272): Unable to open stack of tid 279 : 13 (Permission denied)\n02-14 11:06:51.269: E\/Watchdog_N(272): Unable to open stack of tid 280 : 13 (Permission denied)\n02-14 11:06:51.269: E\/Watchdog_N(272): Unable to open stack of tid 281 : 13 (Permission denied)\n02-14 11:06:51.269: E\/Watchdog_N(272): Unable to open stack of tid 282 : 13 (Permission denied)\n02-14 11:06:51.269: E\/Watchdog_N(272): Unable to open stack of tid 283 : 13 (Permission denied)\n02-14 11:06:51.269: E\/Watchdog_N(272): Unable to open stack of tid 288 : 13 (Permission denied)\n02-14 11:06:51.269: E\/Watchdog_N(272): Unable to open stack of tid 289 : 13 (Permission denied)\n02-14 11:06:51.269: E\/Watchdog_N(272): Unable to open stack of tid 291 : 13 (Permission denied)\n02-14 11:06:51.269: E\/Watchdog_N(272): Unable to open stack of tid 292 : 13 (Permission denied)\n02-14 11:06:51.269: E\/Watchdog_N(272): Unable to open stack of tid 293 : 13 (Permission denied)\n02-14 11:06:51.269: E\/Watchdog_N(272): Unable to open stack of tid 294 : 13 (Permission denied)\n02-14 11:06:51.269: E\/Watchdog_N(272): Unable to open stack of tid 296 : 13 (Permission denied)\n02-14 11:06:51.269: E\/Watchdog_N(272): Unable to open stack of tid 297 : 13 (Permission denied)\n02-14 11:06:51.269: E\/Watchdog_N(272): Unable to open stack of tid 298 : 13 (Permission denied)\n02-14 11:06:51.269: E\/Watchdog_N(272): Unable to open stack of tid 299 : 13 (Permission denied)\n02-14 11:06:51.269: E\/Watchdog_N(272): Unable to open stack of tid 300 : 13 (Permission denied)\n02-14 11:06:51.269: E\/Watchdog_N(272): Unable to open stack of tid 302 : 13 (Permission denied)\n02-14 11:06:51.269: E\/Watchdog_N(272): Unable to open stack of tid 303 : 13 (Permission denied)\n02-14 11:06:51.269: E\/Watchdog_N(272): Unable to open stack of tid 304 : 13 (Permission denied)\n02-14 11:06:51.269: E\/Watchdog_N(272): Unable to open stack of tid 305 : 13 (Permission denied)\n02-14 11:06:51.269: E\/Watchdog_N(272): Unable to open stack of tid 306 : 13 (Permission denied)\n02-14 11:06:51.269: E\/Watchdog_N(272): Unable to open stack of tid 307 : 13 (Permission denied)\n02-14 11:06:51.269: E\/Watchdog_N(272): Unable to open stack of tid 308 : 13 (Permission denied)\n02-14 11:06:51.269: E\/Watchdog_N(272): Unable to open stack of tid 309 : 13 (Permission denied)\n02-14 11:06:51.269: E\/Watchdog_N(272): Unable to open stack of tid 310 : 13 (Permission denied)\n02-14 11:06:51.269: E\/Watchdog_N(272): Unable to open stack of tid 312 : 13 (Permission denied)\n02-14 11:06:51.269: E\/Watchdog_N(272): Unable to open stack of tid 313 : 13 (Permission denied)\n02-14 11:06:51.269: E\/Watchdog_N(272): Unable to open stack of tid 314 : 13 (Permission denied)\n02-14 11:06:51.269: E\/Watchdog_N(272): Unable to open stack of tid 316 : 13 (Permission denied)\n02-14 11:06:51.269: E\/Watchdog_N(272): Unable to open stack of tid 317 : 13 (Permission denied)\n02-14 11:06:51.269: E\/Watchdog_N(272): Unable to open stack of tid 318 : 13 (Permission denied)\n02-14 11:06:51.269: E\/Watchdog_N(272): Unable to open stack of tid 327 : 13 (Permission denied)\n02-14 11:06:51.269: E\/Watchdog_N(272): Unable to open stack of tid 328 : 13 (Permission denied)\n02-14 11:06:51.269: E\/Watchdog_N(272): Unable to open stack of tid 329 : 13 (Permission denied)\n02-14 11:06:51.269: E\/Watchdog_N(272): Unable to open stack of tid 330 : 13 (Permission denied)\n02-14 11:06:51.269: E\/Watchdog_N(272): Unable to open stack of tid 331 : 13 (Permission denied)\n02-14 11:06:51.269: E\/Watchdog_N(272): Unable to open stack of tid 332 : 13 (Permission denied)\n02-14 11:06:51.269: E\/Watchdog_N(272): Unable to open stack of tid 333 : 13 (Permission denied)\n02-14 11:06:51.279: E\/Watchdog_N(272): Unable to open stack of tid 334 : 13 (Permission denied)\n02-14 11:06:51.279: E\/Watchdog_N(272): Unable to open stack of tid 335 : 13 (Permission denied)\n02-14 11:06:51.279: E\/Watchdog_N(272): Unable to open stack of tid 336 : 13 (Permission denied)\n02-14 11:06:51.279: E\/Watchdog_N(272): Unable to open stack of tid 337 : 13 (Permission denied)\n02-14 11:06:51.289: E\/Watchdog_N(272): Unable to open stack of tid 338 : 13 (Permission denied)\n02-14 11:06:51.289: E\/Watchdog_N(272): Unable to open stack of tid 339 : 13 (Permission denied)\n02-14 11:06:51.289: E\/Watchdog_N(272): Unable to open stack of tid 340 : 13 (Permission denied)\n02-14 11:06:51.289: E\/Watchdog_N(272): Unable to open stack of tid 341 : 13 (Permission denied)\n02-14 11:06:51.289: E\/Watchdog_N(272): Unable to open stack of tid 342 : 13 (Permission denied)\n02-14 11:06:51.289: E\/Watchdog_N(272): Unable to open stack of tid 343 : 13 (Permission denied)\n02-14 11:06:51.289: E\/Watchdog_N(272): Unable to open stack of tid 352 : 13 (Permission denied)\n02-14 11:06:51.289: E\/Watchdog_N(272): Unable to open stack of tid 353 : 13 (Permission denied)\n02-14 11:06:51.289: E\/Watchdog_N(272): Unable to open stack of tid 359 : 13 (Permission denied)\n02-14 11:06:51.289: E\/Watchdog_N(272): Unable to open stack of tid 362 : 13 (Permission denied)\n02-14 11:06:51.289: E\/Watchdog_N(272): Unable to open stack of tid 363 : 13 (Permission denied)\n02-14 11:06:51.289: E\/Watchdog_N(272): Unable to open stack of tid 415 : 13 (Permission denied)\n02-14 11:06:51.289: E\/Watchdog_N(272): Unable to open stack of tid 417 : 13 (Permission denied)\n02-14 11:06:51.289: E\/Watchdog_N(272): Unable to open stack of tid 430 : 13 (Permission denied)\n02-14 11:06:51.289: E\/Watchdog_N(272): Unable to open stack of tid 450 : 13 (Permission denied)\n02-14 11:06:51.289: E\/Watchdog_N(272): Unable to open stack of tid 452 : 13 (Permission denied)\n02-14 11:06:51.289: E\/Watchdog_N(272): Unable to open stack of tid 455 : 13 (Permission denied)\n02-14 11:06:51.289: E\/Watchdog_N(272): Unable to open stack of tid 457 : 13 (Permission denied)\n02-14 11:06:51.289: E\/Watchdog_N(272): Unable to open stack of tid 475 : 13 (Permission denied)\n02-14 11:06:51.289: E\/Watchdog_N(272): Unable to open stack of tid 488 : 13 (Permission denied)\n02-14 11:06:51.289: E\/Watchdog_N(272): Unable to open stack of tid 490 : 13 (Permission denied)\n02-14 11:06:51.289: E\/Watchdog_N(272): Unable to open stack of tid 494 : 13 (Permission denied)\n02-14 11:06:51.289: E\/Watchdog_N(272): Unable to open stack of tid 511 : 13 (Permission denied)\n02-14 11:06:51.289: E\/Watchdog_N(272): Unable to open stack of tid 547 : 13 (Permission denied)\n02-14 11:06:51.289: E\/Watchdog_N(272): Unable to open stack of tid 588 : 13 (Permission denied)\n02-14 11:06:51.289: E\/Watchdog_N(272): Unable to open stack of tid 590 : 13 (Permission denied)\n02-14 11:06:51.289: E\/Watchdog_N(272): Unable to open stack of tid 592 : 13 (Permission denied)\n02-14 11:06:51.289: E\/Watchdog_N(272): Unable to open stack of tid 597 : 13 (Permission denied)\n02-14 11:06:51.289: E\/Watchdog_N(272): Unable to open stack of tid 598 : 13 (Permission denied)\n02-14 11:06:51.289: E\/Watchdog_N(272): Unable to open stack of tid 623 : 13 (Permission denied)\n02-14 11:06:51.289: E\/Watchdog_N(272): Unable to open stack of tid 624 : 13 (Permission denied)\n02-14 11:06:51.289: E\/Watchdog_N(272): Unable to open stack of tid 767 : 13 (Permission denied)\n02-14 11:06:51.289: E\/Watchdog_N(272): Unable to open stack of tid 881 : 13 (Permission denied)\n02-14 11:06:51.289: E\/Watchdog_N(272): Unable to open stack of tid 882 : 13 (Permission denied)\n02-14 11:06:51.289: E\/Watchdog_N(272): Unable to open stack of tid 883 : 13 (Permission denied)\n02-14 11:06:51.289: E\/Watchdog_N(272): Unable to open stack of tid 884 : 13 (Permission denied)\n02-14 11:06:51.289: E\/Watchdog_N(272): Unable to open stack of tid 969 : 13 (Permission denied)\n02-14 11:06:51.289: E\/Watchdog_N(272): Unable to open stack of tid 1352 : 13 (Permission denied)\n02-14 11:06:51.369: D\/dalvikvm(272): GC_FOR_ALLOC freed 1407K, 17% free 12077K\/14471K, paused 70ms\n02-14 11:06:53.297: I\/Process(272): Sending signal. PID: 272 SIG: 9\n02-14 11:06:53.297: W\/Watchdog(272): *** WATCHDOG KILLING SYSTEM PROCESS: com.android.server.wm.WindowManagerService\n02-14 11:06:53.319: E\/ViewRootImpl(1259): Unable to report drop result\n02-14 11:06:53.319: I\/ServiceManager(121): service 'content' died\n02-14 11:06:53.319: I\/ServiceManager(121): service 'netpolicy' died\n02-14 11:06:53.319: I\/ServiceManager(121): service 'power' died\n02-14 11:06:53.319: I\/ServiceManager(121): service 'bluetooth_a2dp' died\n02-14 11:06:53.319: I\/ServiceManager(121): service 'entropy' died\n02-14 11:06:53.319: I\/ServiceManager(121): service 'telephony.registry' died\n02-14 11:06:53.319: I\/ServiceManager(121): service 'cpuinfo' died\n02-14 11:06:53.319: I\/ServiceManager(121): service 'gfxinfo' died\n02-14 11:06:53.319: I\/ServiceManager(121): service 'account' died\n02-14 11:06:53.319: I\/ServiceManager(121): service 'textservices' died\n02-14 11:06:53.319: I\/ServiceManager(121): service 'statusbar' died\n02-14 11:06:53.319: I\/ServiceManager(121): service 'input_method' died\n02-14 11:06:53.319: I\/ServiceManager(121): service 'notification' died\n02-14 11:06:53.319: I\/ServiceManager(121): service 'devicestoragemonitor' died\n02-14 11:06:53.319: I\/ServiceManager(121): service 'accessibility' died\n02-14 11:06:53.319: I\/ServiceManager(121): service 'activity' died\n02-14 11:06:53.319: I\/ServiceManager(121): service 'permission' died\n02-14 11:06:53.319: I\/ServiceManager(121): service 'meminfo' died\n02-14 11:06:53.319: I\/ServiceManager(121): service 'network_management' died\n02-14 11:06:53.319: I\/ServiceManager(121): service 'netstats' died\n02-14 11:06:53.319: I\/ServiceManager(121): service 'clipboard' died\n02-14 11:06:53.319: I\/ServiceManager(121): service 'connectivity' died\n02-14 11:06:53.319: I\/ServiceManager(121): service 'wifi' died\n02-14 11:06:53.319: I\/ServiceManager(121): service 'mount' died\n02-14 11:06:53.319: I\/ServiceManager(121): service 'throttle' died\n02-14 11:06:53.319: I\/ServiceManager(121): service 'batteryinfo' died\n02-14 11:06:53.319: I\/ServiceManager(121): service 'usagestats' died\n02-14 11:06:53.319: I\/ServiceManager(121): service 'sensorservice' died\n02-14 11:06:53.319: I\/ServiceManager(121): service 'wifip2p' died\n02-14 11:06:53.319: I\/ServiceManager(121): service 'package' died\n02-14 11:06:53.319: I\/ServiceManager(121): service 'bluetooth' died\n02-14 11:06:53.319: I\/ServiceManager(121): service 'audio' died\n02-14 11:06:53.319: I\/ServiceManager(121): service 'usb' died\n02-14 11:06:53.319: I\/ServiceManager(121): service 'uimode' died\n02-14 11:06:53.319: I\/ServiceManager(121): service 'backup' died\n02-14 11:06:53.319: I\/ServiceManager(121): service 'appwidget' died\n02-14 11:06:53.319: I\/ServiceManager(121): service 'diskstats' died\n02-14 11:06:53.319: I\/ServiceManager(121): service 'samplingprofiler' died\n02-14 11:06:53.319: I\/ServiceManager(121): service 'search' died\n02-14 11:06:53.319: I\/ServiceManager(121): service 'dropbox' died\n02-14 11:06:53.319: I\/ServiceManager(121): service 'wallpaper' died\n02-14 11:06:53.319: I\/ServiceManager(121): service 'location' died\n02-14 11:06:53.319: I\/ServiceManager(121): service 'country_detector' died\n02-14 11:06:53.319: I\/ServiceManager(121): service 'hardware' died\n02-14 11:06:53.319: I\/ServiceManager(121): service 'vibrator' died\n02-14 11:06:53.319: I\/ServiceManager(121): service 'battery' died\n02-14 11:06:53.319: I\/ServiceManager(121): service 'alarm' died\n02-14 11:06:53.319: I\/ServiceManager(121): service 'device_policy' died\n02-14 11:06:53.319: I\/ServiceManager(121): service 'window' died\n02-14 11:06:53.319: W\/AudioFlinger(143): power manager service died !!!\n02-14 11:06:53.319: W\/Sensors(1168): sensorservice died [0x165178]\n02-14 11:06:53.319: W\/Sensors(489): sensorservice died [0x204e88]\n02-14 11:06:53.319: W\/Sensors(459): sensorservice died [0x184328]\n02-14 11:06:53.319: I\/ActivityThread(1562): Removing dead content provider: settings\n02-14 11:06:53.319: I\/ActivityThread(1543): Removing dead content provider: settings\n02-14 11:06:53.319: I\/ActivityThread(1522): Removing dead content provider: settings\n02-14 11:06:53.319: I\/ActivityThread(1449): Removing dead content provider: settings\n02-14 11:06:53.319: I\/ActivityThread(1168): Removing dead content provider: settings\n02-14 11:06:53.319: I\/ActivityThread(1245): Removing dead content provider: settings\n02-14 11:06:53.319: I\/ActivityThread(489): Removing dead content provider: settings\n02-14 11:06:53.319: I\/ActivityThread(1099): Removing dead content provider: settings\n02-14 11:06:53.319: I\/ActivityThread(658): Removing dead content provider: settings\n02-14 11:06:53.319: I\/ActivityThread(418): Removing dead content provider: settings\n02-14 11:06:53.319: I\/ActivityThread(459): Removing dead content provider: settings\n02-14 11:06:53.319: I\/ActivityThread(443): Removing dead content provider: settings\n02-14 11:06:53.329: D\/kernel(135): [  273.043487] binder: release 272:283 transaction 34753 in, still active\n02-14 11:06:53.329: D\/kernel(135): [  273.043518] binder: send failed reply for transaction 34753 to 658:1079\n02-14 11:06:53.329: D\/kernel(135): [  273.043548] binder: release 272:884 transaction 34264 in, still active\n02-14 11:06:53.329: D\/kernel(135): [  273.043548] binder: send failed reply for transaction 34264 to 1259:1259\n02-14 11:06:53.329: I\/ActivityThread(349): Removing dead content provider: settings\n02-14 11:06:53.389: E\/installd(130): eof\n02-14 11:06:53.389: E\/installd(130): failed to read size\n02-14 11:06:53.389: I\/installd(130): closing connection\n02-14 11:06:53.419: D\/kernel(135): [  273.138488] binder: 658:1079 transaction failed 29189, size 64-0\n02-14 11:06:53.429: D\/kernel(135): [  273.145935] alarm_release: clear alarm, pending 0\n02-14 11:06:53.429: D\/kernel(135): [  273.145965] alarm_release: clear alarm, pending 0\n02-14 11:06:53.429: D\/kernel(135): [  273.145965] alarm_release: clear alarm, pending 0\n02-14 11:06:53.429: D\/kernel(135): [  273.145965] alarm_release: clear alarm, pending 0\n02-14 11:06:53.449: W\/Display(658): Unable to get display size\n02-14 11:06:53.449: W\/Display(658): android.os.DeadObjectException\n02-14 11:06:53.449: W\/Display(658): \n02-14 11:06:53.449: W\/Display(658): \n02-14 11:06:53.449: W\/Display(658): \n02-14 11:06:53.449: W\/Display(658): \n02-14 11:06:53.449: W\/Display(658): \n02-14 11:06:53.449: W\/Display(658): \n02-14 11:06:53.449: W\/Display(658): \n02-14 11:06:53.449: W\/Display(658): \n02-14 11:06:53.449: D\/libEGL(1741): loaded \/system\/lib\/egl\/libGLES_android.so\n02-14 11:06:53.459: D\/libEGL(1741): loaded \/system\/lib\/egl\/libEGL_adreno200.so\n02-14 11:06:53.459: D\/libEGL(1741): loaded \/system\/lib\/egl\/libGLESv1_CM_adreno200.so\n02-14 11:06:53.459: D\/libEGL(1741): loaded \/system\/lib\/egl\/libGLESv2_adreno200.so\n02-14 11:06:53.469: W\/Display(658): Unable to get display size\n02-14 11:06:53.469: W\/Display(658): android.os.DeadObjectException\n02-14 11:06:53.469: W\/Display(658): \n02-14 11:06:53.469: W\/Display(658): \n02-14 11:06:53.469: W\/Display(658): \n02-14 11:06:53.469: W\/Display(658): \n02-14 11:06:53.469: W\/Display(658): \n02-14 11:06:53.469: W\/Display(658): \n02-14 11:06:53.469: W\/Display(658): \n02-14 11:06:53.469: W\/Display(658): \n02-14 11:06:53.469: W\/Display(658): \n02-14 11:06:53.499: W\/dalvikvm(658): threadid=11: thread exiting with uncaught exception (group=0x2b542210)\n02-14 11:06:53.519: E\/InputQueue-JNI(489): channel '2bf9eb68 com.sonyericsson.home\/com.sonyericsson.home.HomeActivity (client)' ~ Publisher closed input channel or an error occurred.  events=0x8\n02-14 11:06:53.529: D\/kernel(135): [  273.240631] device rmnet0 left promiscuous mode\n02-14 11:06:53.539: E\/InputQueue-JNI(349): channel '2bf685c0 com.android.systemui.ImageWallpaper (client)' ~ Publisher closed input channel or an error occurred.  events=0x8\n02-14 11:06:53.549: E\/InputQueue-JNI(349): channel '2c070728 StatusBar (client)' ~ Publisher closed input channel or an error occurred.  events=0x8\n02-14 11:06:53.559: E\/AndroidRuntime(658): FATAL EXCEPTION: Thread-55\n02-14 11:06:53.559: E\/AndroidRuntime(658): java.lang.NullPointerException\n02-14 11:06:53.559: E\/AndroidRuntime(658): \n02-14 11:06:53.559: E\/AndroidRuntime(658): \n02-14 11:06:53.559: E\/AndroidRuntime(658): \n02-14 11:06:53.559: E\/AndroidRuntime(658): \n02-14 11:06:53.559: E\/AndroidRuntime(658): \n02-14 11:06:53.559: E\/AndroidRuntime(658): \n02-14 11:06:53.559: E\/AndroidRuntime(658): \n02-14 11:06:53.559: E\/AndroidRuntime(658): \n02-14 11:06:53.559: D\/BootAnimation(1741): persist.sys.boot.sound.volume:26\n02-14 11:06:53.559: I\/BootAnimation(1741): mp3 is null\n02-14 11:06:53.599: E\/InputQueue-JNI(349): channel '2c0aaec8 StatusBarExpanded (client)' ~ Publisher closed input channel or an error occurred.  events=0x8\n02-14 11:06:53.599: E\/InputQueue-JNI(349): channel '2bfbbce8 TrackingView (client)' ~ Publisher closed input channel or an error occurred.  events=0x8\n02-14 11:06:53.599: E\/InputQueue-JNI(1259): channel '2c0182b0 com.example.draganddrop\/com.example.draganddrop.DragDropActivity (client)' ~ Publisher closed input channel or an error occurred.  events=0x8\n02-14 11:06:53.609: E\/InputQueue-JNI(349): channel '2bfee2d0 RecentsPanel (client)' ~ Publisher closed input channel or an error occurred.  events=0x8\n02-14 11:06:53.609: E\/InputQueue-JNI(459): channel '2c0ae360 com.android.phone\/com.android.phone.SemcInCallScreen (client)' ~ Publisher closed input channel or an error occurred.  events=0x8\n02-14 11:06:53.609: I\/Zygote(127): Exit zygote because system server (272) has terminated\n02-14 11:06:53.609: E\/AndroidRuntime(658): Error reporting crash\n02-14 11:06:53.609: E\/AndroidRuntime(658): android.os.DeadObjectException\n02-14 11:06:53.609: E\/AndroidRuntime(658): \n02-14 11:06:53.609: E\/AndroidRuntime(658): \n02-14 11:06:53.609: E\/AndroidRuntime(658): \n02-14 11:06:53.609: E\/AndroidRuntime(658): \n02-14 11:06:53.609: E\/AndroidRuntime(658): \n02-14 11:06:53.619: I\/Process(658): Sending signal. PID: 658 SIG: 9\n: E\/(): Device disconnected\n<\/code><\/pre>\n<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/193194ea35066bc9c3a19b5ad5cf343f?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\ndragonfly<\/p>\n<p>the reason is that: your screen upload action_move too lazily.<\/p>\n<p>in normal case , action move is uploading very frequently even if your finger don&#8217;t move on the screen. but some phone screens are not so sensitive.<\/p>\n<p>you can modify the threshold of your phone. It needs kernel support.<\/p>\n<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>user1822729 I have a layout where 4 image view will be there. 3 image view will have the image of ball,cat and apple image. I need to drag any 1 of the 3 and drop in the 4th image view. Issue : When I start drag any one of the 3 image the system crashes [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-3484","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/3484","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/comments?post=3484"}],"version-history":[{"count":0,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/3484\/revisions"}],"wp:attachment":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/media?parent=3484"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/categories?post=3484"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/tags?post=3484"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}