Can GoogleAds.dll be re written for windows uwp - windows-phone-8

I know there's a admob GoogleAds.dll for windows phone 8, can we decompile it and rewrite by changing the adview control with some uwp control ? Will it be a violation ? Is it possible to do this ?

If you already have ad boxes created before the announcement has been issued that you could no longer generate ad for wp from admob you can re-insert the code, but otherwise it is no longer possible, regards.

Related

Windows AdMediatorControl not displaying test ad

I'm setting Microsoft Advertising through Ad Mediator.
I did all required setups* but the ad doesn't appear on emulator.
It is set up to:
Application ID: test_client
Ad Unit ID: Image480_80
I'm building it for Windows Phone 8.
*added Connected Service, set up Microsoft Advertising there, checked capabilities, put AdMediatorControl into drawing surface
Does anyone encountered such problem?
Fixed the problem. Maybe it'll be interesting for someone else.
Ad Mediator stops working if there are other advertising plugins even if they are not used in game.
In my case it were prime31 ads.

WIndows Phone AdMediation control doesn't work with adduplex

I've integrated the AdMediation control into my Windows Phone app. This works fine for pubCenter and Google AdMob but not for adduplex.
According to the documentation, I've used the App ID from adduplex (App key in adduplex dashboard) but I still get a configuration error banner displayed. I found this blog post a few days ago. The post says that I have to use the Ad unit ID (banner in adduplex dashboard) instead of the App key but this it does not work either.
Can somebody who is using the AdMediation control with adduplex explain me the right way?
AdDuplex uses new identifiers since the introduction of AdDupplex Interstitial ads.
The AppId identifier has been replaced with AdUnitId and AppKey, but the ad mediator still uses an older version of AdDuplex SDK at the time of writing.
How to make it work
The conceptual changes made in AdDuplex are backwards compatible. The Ad unit ID is made to be interchangeable with App ID used by older SDKs.
So you will just have to set the App ID in the Ad Mediator configuration to AdDuplex Ad unit Id.
I still get the ad configuration error
If you are using an emulator for testing you will still get the ad configuration error. For some reason ad mediator uses a different configuration when run in an emulator. It basically ignores your settings and just uses 0 for App ID
There is a workaround for this. The test configuration can be edited in the AdMediator.config file, which is added to the project with the ad mediator control. Find the TestConfiguration tag and change it's AppId value from 0 to your Ad unit Id
Double check the ID which you've provided, whether it's the Windows Phone Store ID or the App ID provided by adduplex. Found a workaround here too.
Adduplex showing error "ad unit configuration error"
I solved this exact same problem changing the config in the project to the Ad Unit Id (the 5-6 digit number).
What did not work for me was only changing the config in Dev Center > AdMediator.
So you probably need an update for your app with the updated Ad Unit Id.

How to add PCL Profile 259

How is it possible to setup Profile 259?
Right now my dev environment has VS 2012(Update 4), Xamarin Studio 5.5.2 & Windows Phone SDK 8 (in which I haven't activated a phone yet).
When I try to create a PCL project (to be used with a MVVMCross framework) I can select the iOS & Android frameworks but not the Windows Phone 7. The process of "adjusting" profile 259 is described in this article, which assumes the profile already exists in a physical folder.
In my situation there is only profile 78.
As always in life...insight comes after having spoken out the question!
Well I can't say that i found a real solution, but for my requirements..it works:
Create the PCL project with the following frameworks selected: iOS, Android, .NET4.5.
Add the reference to MVVMCross.
Change the target frameworks (in project-properties), adding Windows Phone 8.

MissingManifestResourceException on Windows Phone 8.1 with .resx resources

I'm developing a Windows Phone 8.1 app that also targets Android(Xamarin)
As ever I added my string resources(.resx) on a PCL and referenced them on my launcher project to use it on my views, this all works fine on WP 8.1 silverlight but on the WinRt when I configure the project to release and run it on a device, for some reason I always get a MissingManifestResourceException. I've tried every solution for this problem out there without any success.
Note that on the emulator everything works fine, when the solution configurator is set to Debug it also works on both device and emulator. The only combination here is device and Release.
The app source code is on Github.
I was able to create a simple project to replicate this issue, basically it is a WP 8.1 app and a PCL project with the embedded resources, Download Link
Anyone has any ideas?
EDIT: After making some more testing I tried running an old Windows 8.1 app that I've done with the same localisation model and the same issue appeared so it seams to be a tool issue and not a configuration issue, since the Windows 8.1 app is on the market and everything went fine back there.
Our team ran into a similar issue which was tracked down to the runtime and not the PCL, WinRT component, or application package. That is, the resources exist within the PCL assembly, within the application package resources.pri file, but just cannot be found at runtime.
There is an active Microsoft Connect report here:
https://connect.microsoft.com/VisualStudio/feedback/details/991028/issue-using-resx-files-on-winrt-apps-windows-phone-and-windows
Our workaround was for the WinRT component to inject into each generated Resources class of each referenced PCL our own derived ResourceManager which redirected the call to the WinRT ResourceLoader instead. I've written a blog post that describes that workaround:
http://blogs.msdn.com/b/philliphoff/archive/2014/11/19/missingmanifestresourceexception-when-using-portable-class-libraries-in-winrt.aspx
I got to the bottom of this today. While bundling the app package, resources in dependencies that are not for a language being used by the app are stripped out. To prevent this from happening, add the following assembly-level attribute to your application.
using System.Resources;
[assembly: NeutralResourcesLanguage("en")]
I had the same behaviour. Today I created a new PCL Library (with another name) and copied the resx file to this project. I modified all references and everything just works fine in my WinRt (Windows Store) App now!
There was the string 'resources' in the portable class library name. Perhaps this was the problem!
I am able to reproduce this issue launching DVD sample and unfortunately in my project. I have an WP Silverlight 8.1 project registering a Windows Runtime Component Background Task and both of them using a Portable Class Library sharing some common localized strings as resources (.resx), among other things. The exception is thrown from Background Task when calling any property to get strings on generated .Design.cs class (only Release + Device).
In order to fix this I tried, without success, to use directly ResourceManager and/or to add .resx files directly into the Background Task.
I ended-up porting needed strings to .resw files and use the new "WinRT preferred" way via Windows.ApplicationModel.Resources.ResourceLoader in the Background Task project.
Seems to me that ResourceManager is not compatible with Windows Runtime anymore in release.
This is not necessary an answer, but is better than nothing since I do not have 50 reputation points for a comment.

Windows Phone 8.1 - DLL reference problems when using the camera

I'm trying to create a simple camera application according to the MSDN tutorial.
All I did was installing Visual Studio 2013 Update 3 and then created a new Visual C# \ Store-Apps \ Windows Phone-Apps \ Empty App Template and added the code to my MainPage.xaml.cs.
The first problem is, that it does not find the namespaces Microsoft.Xna.Framework.Media, System.IO.IsolatedStorage and Microsoft.Devices. According to the tutorial, I have to add the Xna DLL in the "Add references" .net Tab, but unfortunately, there is no .net tab. I only have the following categories:
-Assembly (All Assemblys are already references)
-Project
-Windows Phone 8.1 (only 5 DLLs, but different ones)
After a lot of searching, I found them in 'C:\Program Files (x86)\Microsoft SDKs\Windows Phone\v8.1\Tools\AppDeploy\MdilXapCompilev8.0\Framework', but there is no System.IO.IsolatedStorage DLL.
When I ommit this using directive, I end up getting an error because it does not know this.Dispatcher.
Am I missing something? Do I have to install anything else?
The problem is probably that the link you have provided concerns WP8.1 Silverlight and you might have chosen WP8.1 Runtime project. Those are different API's - XNA is not supported in RunTime, you also won't find Microsoft.Devices there.
If you want to create your Camera App for WP8.1 Silverlight encure that you have chosen (Windows Phone Silverlight) template. Otherwise, of course you can also write Camera App but with different API - you may take a look here,also you may find something useful here at blog.