Exemple #1
0
        private void Btnget_Click(object sender, EventArgs e)
        {
            //Get Sessionvalue
            Context        mContext = Android.App.Application.Context;
            AppPreferences ap       = new AppPreferences(mContext);
            string         key      = ap.getAccessKey();

            txtview.Text = key.ToString();
        }
Exemple #2
0
        private void Btnsave_Click(object sender, EventArgs e)
        {
            //Save Sessionvalue

            Context        mContext = Android.App.Application.Context;
            AppPreferences ap       = new AppPreferences(mContext);

            ap.saveAccessKey(txtname.Text);
            txtname.Text = "";
        }