Windows Phone project in an universal app solution cannot have admob control - windows-phone-8.1

I'm creating an app using the universal app template from visual studio 2013 update 2 and I'm trying to add Admob SDK. However, when I try to compile even before adding the adView control to a page I receive an error saying that this kind of project cannot have an adcontrol.
Does anyone know a solution for this?

As for now AdMob library contains only Silverlight components. So it is not compatible with WinRT and Windows Phone 8.1 apps. The only alternative for now is Microsoft's pubCenter, which is limited to list of countries.
Also you can use AdDuplex - it is not exactly for earning but for promoting your app.

Related

Errors while submitting windows phone app to the store

i was trying to submit my app to the Windows Phone Store, but i got these errors:
In Visual Studio 2013, i compiled the solution as release and not as debug. One of those Microsoft's links (the first error) suggests to add a flag to the linker, but i didn't manage to do that.
Also, the second one regards a bunch of unsupported APIs that i didn't even include in my project. Did someone face the same issue?
Thanks
Please check thirdparty libraries or you code for some API which not allowed for Windows Phone 8.1 Store Apps
For example, I added Flurry WP8.0 SDK in my WP8.1 Store App and I have the same problems. After that I removed Flurry and Store accepted my App

unable to add reference to windows.media.speechsynthesis.dll

I am working on text to speech conversion in windows 8.1 (silverlight) and i need to access the SynthesizeTextToStreamAsync method for which I need to add reference to Windows.media.speechSynthesis. I am unable to add this reference to my project
it shows me error message as
A reference to a higher version or incompatible assembly cannot be added to the project.
I am currently using Visual studio 2013 professional version. Can someone please help me out with this issue?
Look at MSDN, it is only supported in 8.1 XAML apps, not in 8.1 Silverlight apps.

Should I target WP8 users while developing new app?

We are planing to develop new app .It has VoIP feature and app is similar to whatsapp.
Since the app has Voip feature we have to go with WP8 silver light. Winrt for WP is not supporting VOIP api.
Can we guess almost all the WP8 devices are upgraded to WP8.1 ? If there are large user base still remains in WP8 we will develop the app using WP8 api's (Using VS2012). Otherwise we will go with WP8.1 api's (using VS2013).I heard there are few performance improvements and controls are available in WP8.1
Any suggestions on this ?
Thanks in advance
All Lumia phones can be updated to WP8.1 and a huge part of users so did.
Just an article for reference: http://www.engadget.com/2014/04/02/nokia-lumia-windows-phone-8-1-update/
On my apps I use analytics to track users and I hardly see few users stuck with WP8.
Update - market share
http://www.gsmarena.com/adduplex_wp81_market_share_surpasses_wp80-news-10062.php
This article is from last October, WP8.1 has been out for about 5 months and it had already surpassed WP8. I let you think the actual quota...
Should you go with WinRT? It depends on your needs. Of course you should use at least WP8.1 Silveright (not WP8). But if your application does not require specific functions only available in WinRT, you might go with WP8.1 Silverlight, since WinRT has still many little performance issues.
There are a lot of new available APIs and features either for WP 8.1 Silverlight or WinRT. I would definitely target 8.1. Users still using WP 8.0 probably don't care that much about apps anyway.

Universal App (WP & WinRT) should i use Cirrious MvvmCross or Galasoft MVVM Light Toolkit

I would like your input, so that i can make a good decision on whether I should use Cirrious MvvmCross or Galasoft MVVM Light Toolkit?
I am going to be developing 2 applications using Universal Apps (Windows Phone 8.1 and Windows 8.1) in XAML/C#. I am not new to developing windows phone and windows 8 apps however i am new to developing MVVM apps and thus would greatly appreciate you into in this?
Should i use Cirrious MvvmCross or Galasoft MVVM Light Toolkit, (should I use something else) what are their strengths and weakness?
Thank you for your time and your help!
Is there an added benefit for using MVVMCross in your app? Will you be developing an Android or IOS APP? If the answer no, then there is no need for MVVMCross or such. The new WinRT API should have 95% of what your app needs. You can add a portable class library to the solution and share third party libraries between the apps as well.
Good Luck.
MvvmCross is the best way to cross-platform work with xamarin for exemple but you can work with it just for create windows and windows phone app.
MvvmLight is really good to implement mvvm pattern in your project.
Just for create ms app, you should work with mvvm light.
MvvmLight does not have support for iOS yet. Support for Android was added in version 4.0 in May 2014. More info here : http://blog.galasoft.ch/posts/2014/05/mvvm-light-v4-4-with-xamarin-android-support/
MvvmCross does not support Universal Apps (yet).
More info here :https://github.com/MvvmCross/MvvmCross/issues/656
A ray of hope here : http://www.microsoft.com/en-gb/developers/articles/week05jun14/mvvmcross-support-for-universal-apps
Looks like you have two options -
MvvmCross allows you to share code with Windows Phone and Windows 8 also. Just not via Universal App project. If the objective is to share code - you can go with MvvmCross. You wil get your WinPhone and WinStore apps along with Android and iOS also.
Start with Mvvmlight on Universal App and hope for Xamarin.iOS support soon.
http://blog.galasoft.ch/posts/2014/04/building-a-universal-application-for-windows-phone-8-1-and-windows-8-1-with-mvvm-light/

Camera command/accessibility in Visual Studio 2013

What would be the command and where is located in order to use the phone's camera capabilities?
I want to create a camera based application, and as a beginner, I don't know how to put it in the application. I have activated the ID_CAP_ISV_CAMERA from the WMAppMAnifest.xml so the access to the hardware is granted, but I can't find the command or string to integrate in my app.
I am using Visual Studio Ultimate 2013
I think this tutorial should help you create your application sucessfully !
http://msdn.microsoft.com/en-us/library/windowsphone/develop/hh202956(v=vs.105).aspx
It applies to both Windows Phone 8 and 7.1 as well
Also , you can read about the main Camera API from here
http://msdn.microsoft.com/en-us/library/windowsphone/develop/microsoft.devices.photocamera(v=vs.105).aspx
Good Luck !