All pastes #2051918 Raw Edit

Stuff

public text v1 · immutable
#2051918 ·published 2011-04-29 12:57 UTC
rendered paste body
public boolean onKeyDown(int keyCode, KeyEvent event) { 
                if (keyCode == KeyEvent.KEYCODE_Z) { 
                        mapView.getController().zoomIn(); 
                        return true; 
                } else if (keyCode == KeyEvent.KEYCODE_X) { 
                        mapView.getController().zoomOut(); 
                        return true; 
                } 
                return false; 
        }