AdMob for Windows Phone 8 FailedToReceiveAd NetworkError - windows-phone-8

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

Related

Suppress screen share permission dialog in Chrome App

We are implementing a Chrome App that runs in a controlled environment on a specific machine under Windows. We have complete control over the environment, including using command-line args to run Chrome, changing registry settings, etc.
Part of the functionality of the app is to take screen captures and stream them to a remote machine. When this feature is initiated, Chrome displays the permission dialog ("Chrome wants to share your screen...") and requires validation by the user.
In the context of our app, this is poor user experience and we would like to find a way to suppress this dialog. As I mentioned, we have complete control over the host machine. Is there any way to do this short of making our own custom Chrome build?
Try running Chrome with the command line argument --auto-select-desktop-capture-source="Entire screen". Source: Chromium issue. Also related: Issue about force-installed extensions and desktop sharing.
In case you want to compile chrome yourself, this would be a good starting point for whitelisting your own extension
For C# Selenium Users. Do not put the "Entire screen" in double quotes.
use it as --auto-select-desktop-capture-source=Entire screen //<--observe no double quotes
var chromeOptions = new ChromeOptions();
chromeOptions.AddArguments("--auto-select-desktop-capture-source=Entire screen");
var driver = new ChromeDriver(chromeOptions);

deeplink into internal page windows phone using third party

I have an app made in xamarin (for Android, iOS and Windows Phone) which requires deep linking which should open and internal page on receiving an url.
This url will be sent by sms to the user with http protocol. I tried the solutions provided by OneLink and Branch Metrics and they work with Android and iOS. The only problem is with Windows phone (8.1).
Both of them are not able to detect if windows phone is installed and if yes open the app and not take to the store.
Is there any solution to this (maybe third party solution).
NOTE: i have tried directly clicking myapp://open and it works on windows phone but what i need is using http and not my app as the above custom protocols are non clickable within Sms's.
Yes, deep linking is possible on Windows Phone. Shortcut Media offers a third-party solution for this (disclaimer: I work for Shortcut Media).
Have a look at this answer to see how to implement it manually...

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

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.

In-app sms sending in as3

How to send sms within an iphone and android app using as3. I found this code while googling:
var callURL:String="sms:0-123-456-7890";
var targetURL:URLRequest = new URLRequest(callURL);
navigateToURL(targetURL);
Its working, but it is navigating the app to sms window controller. Can it be done without opening the sms controller window. Is there anything that opens a window within the app itself. Is there any air native extenson which perform this for android and iphone?
Yeah, using navigateToURL is going to pop you over to the phones default SMS app. To get around this you're going to need to use a native extension.
I know of one for Android:
https://github.com/mr-archano/Android-AIR-Extensions
If you have an Android phone you can check out a demo of this ANE inside of the AIRexplorer app. Select the SMS ANE version from the list (the app includes an extension as well as navigateToURL)
I don't know of one for iOS right now so you may have to do a little bit of digging
Oh Also, wanted to add a comment because I'm not really sure of your intent here.
If your goal is to send a sms without any user interaction that is not going to be possible. ANE or not
I very much doubt that either ios or android (maybe if you root your device?) would allow sending a SMS without the users explicit consent.