@Override
  public void onCreate(Bundle savedInstanceState) {
    // TODO Auto-generated method stub
    super.onCreate(savedInstanceState);
    Log.d(TAG, "onCreate");
    m_GridviewItemHeight = this.getResources().getDimensionPixelSize(R.dimen.gridview_item_height);
    m_GridviewItemWidth = this.getResources().getDimensionPixelSize(R.dimen.gridview_item_width);

    // Prepare greySquare
    m_GreySquare = new SquareDrawable(m_GridviewItemWidth, m_GridviewItemHeight);
  }
 @Override
 public void onDestroyView() {
   Log.d(TAG, "onDestroyView");
   // clear references
   if (m_GridView != null) {
     m_GridView.setAdapter(null);
     m_GridView = null;
   }
   m_NoMediaView = null;
   // call super
   super.onDestroyView();
 }
 @Override
 public void onActivityCreated(Bundle savedInstanceState) {
   super.onActivityCreated(savedInstanceState);
   Log.d(TAG, "onActivityCreated");
 }
 @Override
 public void onAttach(Activity activity) {
   super.onAttach(activity);
   Log.d(TAG, "onAttach");
 }
 @Override
 public void onResume() {
   // TODO Auto-generated method stub
   super.onResume();
   Log.d(TAG, "onResume");
 }