Auto-launching apps URI associations for Windows Phone 8 ' shows Sorry no apps found' - windows-phone-8

I have published an Windows Phone 8.1 silverlight application in to the store. And I integrated Auto-launching apps URI associations for Windows Phone 8 with this build.
So that my application can be open from any other application by just calling the uri schema.
await Windows.System.Launcher.LaunchUriAsync(new System.Uri("mypp:"));
And it open my app from another application if it already installed on the device.
In case the user did not install my app, it shows Search for app in the store message dialog, and clicking on this store app get opens, searching for application and shows 'Sorry, no apps found'
What I missed to implement here? I need to show my app in the list when the they search in the store.
I checked with 'foursquare:' & 'metrotube' , It shows in the search list if it is not previously installed.
Please suggest what I missed here.

Unfortunately LauncherOptions is not supported for Windows Phone 8. Any alternative for this ?
My issue has been resolved by adding Launch options with the Launch Uri method.But it is supported in windows phone 8.1 version.
private async void LaunchChillr(object sender, RoutedEventArgs e)
{
var options = new Windows.System.LauncherOptions();
options.FallbackUri = new Uri("http://windowsphone.com/s?appid=0dff7a2f-51f8-xxxx-8ff7-5e9ddab540c0");
options.TreatAsUntrusted = true;
await Windows.System.Launcher.LaunchUriAsync(new System.Uri("myapp:"), options);
}

Related

Check if any app can handle URI scheme

I'm creating a Windows Phone 8 app (Store apps) in which I will have some links for the user to open other apps.
My goal is to hide or show only the links for which I have apps that can handle them.
For instance, I have a link for
mymoneyapp://user=123
and another for
mymusic://user=123
So, if I have an app that can handle the mymoneyapp scheme I want the link to show if not then I hide it.
The only why I found to test this is using
LauncherOptions options = LauncherOptions();
options.FallbackUri = new Uri("http://myfallbackpage.com");
Launcher.LauncherUriAsync(new Uri("mymoneyapp://user=123"), options);
But in this case I get my fallback Uri launched if no app can handle that schema.
Is there any way just to test if an app can launch it without actually do it?
There is no API for this on Windows Phone 8. Windows 10 adds Launcher.QueryUriSupportAsync to allow checking if there is a handler before launching it.
https://msdn.microsoft.com/en-us/library/windows/apps/windows.system.launcher.queryurisupportasync.aspx

AdMob for Windows Phone 8 FailedToReceiveAd NetworkError

I need to add AdMob banner to my app. But I catch FailedToReceiveAd event with NetworkError message on emulator and on device. Example from official site behave the same way. WebBrowser and other network tasks work with network good.
Plese help, because i can't find any solutions of this proplem.
Select the mandatory and optional capabilities for your app. You can modify your app's capabilities by opening WMAppManifest.XML and selecting the Capabilities tab.
Also check adRequest.ForceTesting = true; it must be false

login to facebook using fb API in Windows Phone 8.1

I am stuck in using facebook API in WindowsPhone8.1, i am unable to create a login button and authenticate user in WP8.1, and i couldnt search relative material on google too, even though i have done the same task in Windows 8.1 and Windows Phone 8 but not in Windows phone 8.1
here is my code that i have used for login process
App.fb.session = await App.fb.sessionclient.LoginAsync("user_about_me,read_stream,publish_action");
App.fb.AccessToken = App.fb.session.AccessToken;
App.fb.FacebookID = App.fb.session.FacebookId;
App.fb.expires = App.fb.session.Expires;
but i give "No Implemented" Exception
Thanks in advance
I'm not very sure about whether the WP8.1 has integrated the Facebook Authentication. As mentioned here it's still not.

Replacement of MediaPlayerLauncher in Windows Phone 8.1 Universal apps

What is the replacement of the MediaPlayerLauncher in Windows Phone 8.1 Universal apps?
Launching the URI opens the browser:
var options = new LauncherOptions();
options.ContentType = "video/mp4";
await Launcher.LaunchUriAsync(uri.Uri, options);
Or crashes when setting the ContentType (as shown above).
What's the solution (except to implement an own page with a player)?
There is no replacement for MediaPlayerLauncher in WP 8.1 RT
The only solution is using MediaElement to play video in app.

Auto-launching DailyMotion Windows Phone from another App

I have read about Auto-launching apps from another app on Windows Phone. I have a app that shows some videos, these videos are mainly from DailyMotion. Now my Question is if there is any possibility to check, if DailyMotion App is installed on my Phone, than open this video in this DailyMotion app instead of browser.
You can use custom URL to launch the dailymotion app. For example, using the line of code
string dailyUrl = "dailymotion://myurl";
Windows.System.Launcher.LaunchUriAsync(new Uri(dailyUrl));
It will automatically open the dailymotion app if it is installed on the phone, but otherwise it will probably perform nothing. So with the previous answer explaining how you might check if the app is installed, and this piece of code, you might be able to perform what you need :)
You cannot get the list of applications that are installed on the Windows Phone that are published by someone other than the publisher of the calling application.
There is a way, however, to get the list of applications that are installed on the device and are originating from the publisher of the caller ape.
Have a look over here
IEnumerable<Package> apps = Windows.Phone.Management.Deployment.InstallationManager.FindPackagesForCurrentPublisher();
apps.First().Launch(string.Empty);