整个导航栏上的水平导航

时间:2015-02-13 12:14:54

标签: android

Hello Friends我正在使用无线蓝牙来选择动作.. 什么是我的问题..当我从拖动移动光标时它适用于选择,但当我水平移动光标它不工作时...任何人都可以帮助我从这个

case MotionEvent.ACTION_HOVER_MOVE: {
            this.mTimerTaskHover = new TimerTask() {
                public void run() {
                    Runnable docScreenRunnable = new Runnable() {
                        public void run() {
                            playKeyTone();

                        }
                    };
                    runOnUiThread(docScreenRunnable, "homeScreeImageView");
                }
            };

        }
            break;
        case MotionEvent.ACTION_HOVER_EXIT: {
            // this.mTimerHover.cancel();

            if (this.mTimerTaskHover != null) {
                this.mTimerTaskHover.cancel();
                this.mTimerTaskHover = null;
                this.mTimerHover.cancel();
                this.mTimerHover.purge();
                this.mTimerHover = null;
                this.mTimerHover = new Timer(); // if timer was cancelled
                                                // starts it again
            }

0 个答案:

没有答案