I'm trying to make application, in which are used icons of some social sites, like facebook.
So the application looks like:
If you click on Facebook:
public void Facebook_Click()
{
**Here must be code to detect installed applications**
if (detected=true)
{
RunApplication (facebook);
}
else
{
OpenBrowser on page Facebook.com
}
}
How to detect installed apps and run them?
Before saying it is impossible:
Auto-launching apps using file and URI associations for Windows Phone 8:
http://msdn.microsoft.com/en-us/library/windowsphone/develop/jj206987(v=vs.105).aspx
Maybe someone tried this?
there is no way to know what App are installed on the user's phone. You can open a link in web browser, but cannot do that with apps that haven't got URI associations as Alaa Masoud said.
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.