public static Class getMapActivityClass(Context context) {
    if (UIUtils.isHoneycombTablet(context)) {
      return MapMultiPaneActivity.class;
    }

    return MapActivity.class;
  }
  private void refresh() {
    mMessageHandler.removeCallbacks(mCountdownRunnable);
    mRootView.removeAllViews();

    final long currentTimeMillis = System.currentTimeMillis();

    // Show Loading... and load the view corresponding to the current state
    if (currentTimeMillis < UIUtils.CONFERENCE_START_MILLIS) {
      setupBefore();
    } else if (currentTimeMillis > UIUtils.CONFERENCE_END_MILLIS) {
      setupAfter();
    } else {
      setupDuring();
    }

    if (!UIUtils.isHoneycombTablet(getActivity())) {
      View separator = new View(getActivity());
      separator.setLayoutParams(new ViewGroup.LayoutParams(1, ViewGroup.LayoutParams.FILL_PARENT));
      separator.setBackgroundResource(R.drawable.whats_on_separator);
      mRootView.addView(separator);

      View view =
          getActivity().getLayoutInflater().inflate(R.layout.whats_on_stream, mRootView, false);
      view.setOnClickListener(
          new View.OnClickListener() {
            public void onClick(View view) {
              AnalyticsUtils.getInstance(getActivity())
                  .trackEvent("Home Screen Dashboard", "Click", "Devoxx France 2012 Site", 0);
              //                    Intent intent = new Intent(getActivity(),
              // TagStreamActivity.class);
              Intent intent = new Intent(getActivity(), DevoxxSiteActivity.class);
              startActivity(intent);
            }
          });
      mRootView.addView(view);
    }
  }
    /** {@inheritDoc} */
    @Override
    public void bindView(View view, Context context, Cursor cursor) {
      final TextView titleView = (TextView) view.findViewById(R.id.session_title);
      final TextView subtitleView = (TextView) view.findViewById(R.id.session_subtitle);
      final TextView subtitleTagView = (TextView) view.findViewById(R.id.session_subtitle_tag);

      titleView.setText(cursor.getString(SessionsQuery.TITLE));

      // Format time block this session occupies
      final long blockStart = cursor.getLong(SessionsQuery.BLOCK_START);
      final long blockEnd = cursor.getLong(SessionsQuery.BLOCK_END);
      final String roomName = cursor.getString(SessionsQuery.ROOM_NAME);
      final Spanned subtitle = formatSessionSubtitle(blockStart, blockEnd, roomName, context);

      subtitleView.setText(subtitle);

      subtitleTagView.setText(cursor.getString(SessionsQuery.SESSION_THEME));

      final boolean starred = cursor.getInt(SessionsQuery.STARRED) != 0;
      view.findViewById(R.id.star_button).setVisibility(starred ? View.VISIBLE : View.INVISIBLE);

      // Possibly indicate that the session has occurred in the past.
      UIUtils.setSessionTitleColor(blockStart, blockEnd, titleView, subtitleView);
    }