Exemplo n.º 1
0
        public override void OnCreate()
        {
            base.OnCreate();

            context = this;

            mHistoryFile      = new File(GetExternalFilesDir(null), FILENAME);
            mClipboardManager = (ClipboardManager)GetSystemService(ClipboardService);
            mClipboardManager.AddPrimaryClipChangedListener(this);

            sharedPrefs = PreferenceManager.GetDefaultSharedPreferences(context);

            DisplayNotificationAnnInterface = new DisplayNotificationAnnTask(this);
        }
Exemplo n.º 2
0
 public AnnotationActivity()
 {
     UpdateLinesAnnInterface = new UpdateLinesAnnTask(this);
     DumpPinyinAnnInterface  = new DumpPinyinAnnTask(this);
     DumpBothAnnInterface    = new DumpBothAnnTask(this);
 }