hi what is code for this?
@shaghayegh Do you want to open the third app in your app? If so , you can try the following methods: 1. with a specific URL schema You can try to call Device.OpenUri with a specific URL schema, example:
Device.OpenUri(new System.Uri("www.google.com"));
For more details: https://riccardo-moschetti.org/2014/10/03/opening-a-mobile-app-from-a-link-the-xamarin-way-url-schemas/https://blog.xamarin.com/deep-link-content-with-xamarin-forms-url-navigation/https://github.com/xamarin/recipes/tree/master/Recipes/ios/shared_resources/phone/dial-phone-uri 2. With package (android)
Intent intent = new Intent(Intent.ActionMain); intent.SetComponent(new ComponentName("com.package.address","com.package.address.MainActivity")); StartActivity(intent); Or Intent intent = PackageManager.GetLaunchIntentForPackage("com.package.address"); StartActivity(intent);
Answers
@shaghayegh
Do you want to open the third app in your app?
If so , you can try the following methods:
1. with a specific URL schema
You can try to call Device.OpenUri with a specific URL schema, example:
For more details:
https://riccardo-moschetti.org/2014/10/03/opening-a-mobile-app-from-a-link-the-xamarin-way-url-schemas/
https://blog.xamarin.com/deep-link-content-with-xamarin-forms-url-navigation/
https://github.com/xamarin/recipes/tree/master/Recipes/ios/shared_resources/phone/dial-phone-uri
2. With package (android)