@Override
  public void onResume() {
    ListActivity.info("resume mapping.");
    myLocationOverlay.enableCompass();
    enableLocation();

    super.onResume();
  }
Esempio n. 2
0
 @Override
 protected void onResume() {
   // TODO Auto-generated method stub
   try {
     super.onResume();
     PhimpMe.showTabs();
     if (PhimpMe.IdList.size() == 5) {
       PhimpMe.IdList.clear();
       PhimpMe.IdList.add(0);
     }
     PhimpMe.IdList.add(1);
     myLocationOverlay.enableMyLocation();
     myLocationOverlay.enableCompass();
   } catch (UnsupportedOperationException e) {
   }
 }