void m_ChoosePhoneButton_Click(object sender, EventArgs e) { IntentFactory.StartActivityWithNoHistory <ContactsMasterActivitiy>(this, (intent) => { intent.PutExtra(IntentFactory.SetCallType, Convert.ToInt32(SettingsTable.CallTypeEnum.Phone)); }); }
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)); }); }
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)); }); }
public override void OnBackPressed() { base.OnBackPressed(); IntentFactory.StartActivityWithNoHistory <ContactsMasterActivitiy>(this, (intent) => { intent.PutExtra(IntentFactory.SetCallType, Convert.ToInt32(m_CallType)); }); }
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); }); }
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)); }); }
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); }); }
private void ChooseSkypeUserButton_Click(object sender, EventArgs e) { IntentFactory.StartActivityWithNoHistory <SkypeUserActivity>(this); }
public override void OnBackPressed() { base.OnBackPressed(); IntentFactory.StartActivityThatAlreadyExist <MainActivity>(this); }
void m_ChooseSkypeButton_Click(object sender, EventArgs e) { IntentFactory.StartActivityWithNoHistory <SkypeChooseUserOrPhoneActivity>(this); }