public override void onCreate(Bundle savedInstanceState)
        {
            base.onCreate(savedInstanceState);

            ContentView = R.layout.general_purpose_image_filter;

            Sif imageFilterSdk = new Sif();

            try
            {
                imageFilterSdk.initialize(this);
            }
            catch (Exception e1)
            {
                // TODO Auto-generated catch block
                Console.WriteLine(e1.ToString());
                Console.Write(e1.StackTrace);
            }

            mContext = this;

            mImageFilterBtn = (Button)findViewById(R.id.imagefilter);
            mImageFilterBtn.OnClickListener     = imagefilterBtnClickListener;
            mBackgroundImageBtn                 = (Button)findViewById(R.id.backgroundimage);
            mBackgroundImageBtn.OnClickListener = backgroundimageBtnClickListener;
            mFilterLevelBtn = (Button)findViewById(R.id.filterlevel);
            mFilterLevelBtn.OnClickListener = filterlevelBtnClickListener;

            mBackgroudnImageView = (ImageView)findViewById(R.id.imageview_background);

            arrayAdapter = ArrayAdapter.createFromResource(this, R.array.imageoperation, R.layout.general_purpose_filter_list);

            filterlistView            = (ListView)findViewById(R.id.filter_list);
            filterlistView.Adapter    = arrayAdapter;
            filterlistView.ChoiceMode = ListView.CHOICE_MODE_SINGLE;

            // Don't show list view
            bShowListView             = false;
            filterlistView.Visibility = View.GONE;

            // initial background
            bmBackgroundBitmap = BitmapFactory.decodeResource(Resources, R.drawable.baby);
            mBackgroudnImageView.ImageBitmap = bmBackgroundBitmap;

            // getting Get the original image
            // Bitmap backgroundBitmap = BitmapFactory.decodeResource(getResources(), R.drawable.baby);
            // Bitmap filteredBitmap = SifImageFilter.filterImageCopy(backgroundBitmap, SifImageFilter.FILTER_SEPIA,
            // SifImageFilter.LEVEL_MEDIUM);
            // Apply image filtering

            filterlistView.OnItemClickListener = new OnItemClickListenerAnonymousInnerClassHelper(this);
        }