void m_ChoosePhoneButton_Click(object sender, EventArgs e)
 {
     IntentFactory.StartActivityWithNoHistory <ContactsMasterActivitiy>(this, (intent) =>
     {
         intent.PutExtra(IntentFactory.SetCallType, Convert.ToInt32(SettingsTable.CallTypeEnum.Phone));
     });
 }
Esempio n. 2
0
 void ChooseSkypeOutButton_Click(object sender, EventArgs e)
 {
     // start Contact List (for Skype phone type)
     IntentFactory.StartActivityWithNoHistory <ContactsMasterActivitiy>(this, (intent) =>
     {
         intent.PutExtra(IntentFactory.SetCallType, Convert.ToInt32(SettingsTable.CallTypeEnum.SkypeOut));
     });
 }
Esempio n. 3
0
 private void M_OkButton_Click(object sender, EventArgs e)
 {
     IntentFactory.StartActivityThatAlreadyExist <MainActivity>(this, (intent) =>
     {
         intent.PutExtra(IntentFactory.SetIdToCall, m_CallNumber);
         intent.PutExtra(IntentFactory.SetCallType, Convert.ToInt32(m_CallType));
     });
 }
Esempio n. 4
0
        public override void OnBackPressed()
        {
            base.OnBackPressed();

            IntentFactory.StartActivityWithNoHistory <ContactsMasterActivitiy>(this, (intent) =>
            {
                intent.PutExtra(IntentFactory.SetCallType, Convert.ToInt32(m_CallType));
            });
        }
Esempio n. 5
0
        void m_ListView_ItemClick(object sender, AdapterView.ItemClickEventArgs e)
        {
            var contact = m_ContactsAdapter[e.Position];

            IntentFactory.StartActivityWithNoHistory <PhoneNumbersActivity>(this, (intent) =>
            {
                intent.PutExtra(IntentFactory.SetCallType, Convert.ToInt32(m_CallType));
                intent.PutExtra(IntentFactory.SetIdToCall, contact.ID);
            });
        }
Esempio n. 6
0
        void m_ListView_ItemClick(object sender, AdapterView.ItemClickEventArgs e)
        {
            var number = m_PhoneNumbersAdapter[e.Position];

            // IntentFactory.StartActivityWithNoHistory<PhoneNumberAdditionalSettingsActivity>(this, (intent) =>    //TODO: use this in future versions
            IntentFactory.StartActivityThatAlreadyExist <MainActivity>(this, (intent) =>
            {
                intent.PutExtra(IntentFactory.SetIdToCall, number.Number);
                intent.PutExtra(IntentFactory.SetCallType, Convert.ToInt32(m_CallType));
            });
        }
Esempio n. 7
0
        void chooseSkypeUserOKButton_Click(object sender, EventArgs e)
        {
            TextView skypeUserTextView = this.FindViewById <TextView>(Resource.Id.ChooseSkypeUserText);
            string   skypeUser         = skypeUserTextView.Text;

            if (string.IsNullOrWhiteSpace(skypeUser))
            {
                return;
            }

            IntentFactory.StartActivityThatAlreadyExist <MainActivity>(this, (intent) =>
            {
                intent.PutExtra(IntentFactory.SetCallType, Convert.ToInt32(SettingsTable.CallTypeEnum.SkypeUser));
                intent.PutExtra(IntentFactory.SetIdToCall, skypeUser);
            });
        }
Esempio n. 8
0
 private void ChooseSkypeUserButton_Click(object sender, EventArgs e)
 {
     IntentFactory.StartActivityWithNoHistory <SkypeUserActivity>(this);
 }
Esempio n. 9
0
        public override void OnBackPressed()
        {
            base.OnBackPressed();

            IntentFactory.StartActivityThatAlreadyExist <MainActivity>(this);
        }
 void m_ChooseSkypeButton_Click(object sender, EventArgs e)
 {
     IntentFactory.StartActivityWithNoHistory <SkypeChooseUserOrPhoneActivity>(this);
 }