1. Download our Official Android App: Forums for Android!

Apps google map zoom problem

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

  1. SilentCoder

    SilentCoder Lurker
    Thread Starter
    Rank:
    None
    Points:
    5
    Posts:
    3
    Joined:
    Jun 17, 2010

    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...