Mapview zoomin, zoomto not working

Discussion created by user123456 on Dec 26, 2011
Latest reply on Dec 29, 2011 by aagarwal-esristaff
map = (MapView)findViewById(;
  // Add dynamic layer to MapView
  map.addLayer(new ArcGISDynamicMapServiceLayer("" +
  //Retrieve the non-configuration instance data that was previously returned.
  Object init = getLastNonConfigurationInstance();
   if (init != null) {
   map.restoreState((String) init);


i'm new to this and trying to zoom in from current map resolution.

map.zoomin and map.zoomto is not working for me.