title: Why can't I access this method from another class?
body: <p>I have the main class extends MapActivity, like this:</p>
  
  <pre><code>public class main extends MapActivity {
      private MapView mapView;
  
      ......//something
  
      public MapView getmapView() {
          return mapView;
      }
  
      ........//something
  }
  </code></pre>
  
  <p>Why i couldn't access getmapView() method in another class,like this</p>
  
  <pre><code>MapView mv=main.getMapview()
  </code></pre>