private void checkAddCity() {
   if (WeatherData.getCityInfo(0).mShowType
       == com.moji.mjweather.data.CityWeatherInfo.ShowType.ST_NOSET) {
     Gl.setHandler(MainHandler);
     Intent intent = new Intent(this, AddCityActivity.class);
     Bundle bundle = new Bundle();
     bundle.putInt("cityindex", 0);
     bundle.putBoolean("isNoDisplayLocation", true);
     intent.putExtras(bundle);
     startActivity(intent);
   }
 }
 /**
  * Factory method for this fragment class. Constructs a new fragment for the given page number.
  */
 public static ScreenSlidePageFragment create(int pageNumber) {
   ScreenSlidePageFragment fragment = new ScreenSlidePageFragment();
   Bundle args = new Bundle();
   args.putInt(ARG_PAGE, pageNumber);
   fragment.setArguments(args);
   return fragment;
 }