1. Check out our app, Forums for Android! Download and leave feedback here!

google map zoom problem

Discussion in 'Application Development' started by SilentCoder, Jul 11, 2010.

  1. SilentCoder

    SilentCoder New Member
    Thread Starter
    5

    Jun 17, 2010
    3
    0
    5
    I am using google maps in my android application. I want to implement onDoubleTap() zoom in function. I have written some code but still i need some help. i am sharing my code here. I will really appriciate if somebody point out my mistake or if im on right track le me know what to do next. i am struck at this point.

    @Override
    public boolean onTouchEvent(MotionEvent event){
    this.detector.onTouchEvent(event);
    return super.onTouchEvent(event);
    }
    @Override
    public boolean onDoubleTap(MotionEvent e) {
    return false;
    }
    @Override
    public boolean onDoubleTapEvent(MotionEvent e) {
    // TODO Auto-generated method stub
    return false;
    }

    BR,
     

    Advertisement

Share This Page

Loading...