When using
Launcher.OpenAsync("http://maps.google.com")
the google maps application opens beautifully but with
Launcher.OpenAsync("http://photos.google.com")
it opens the application in browser.
According to the official docs ,
the
OpenAsync(String)
Launches the app specified by the uri scheme
So if you set the url like below it'll start the google photos application.I tested it on my side and it does open the application.
await Launcher.OpenAsync("http://photos.google.com");
Update:
If you want to launch the app respectively, please try use the following format of links:
for instagram
instagram://user?username=yourUserName
for twitter
twitter://userName?user_id=userId
for facebook
fb://page/page_id
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.