Voip application for windows phone 8.1 fails store submission

A voip application with the new 8.1 architecture based on a separate process for the voip server is not accepted by the store.
Voip architecture is based on 8.1 sample: https://code.msdn.microsoft.com/windowsapps/ChatterBox-VoIP-WP81-64921ad4
Errors during submission:
3011: The package is missing RpalManifest.xml. Update it and then try again.
1028: The native API api-ms-win-core-processthreads-l1-1-2.dll:ExitProcess() isn’t allowed in assembly doubango.BackEndServerHost.exe. Update it and then try again.

Update.  I am currently working with the sample team to update the sample.   We found the problem to be in the way the BackEndServerHost VIsual studio 
project was created.   While we work on re-creating that from scratch, testing, and re-publishing I wanted to post what we have done so far in case anyone 
wants to move forward.
First there are a couple bugs in the sample, maybe you worked around those already in your development but in case not here they are.
In the backendaudio.cpp BackEndCapture::InitCapture I changed the code:
if (SUCCEEDED(hr))
WAVEFORMATEX format = {};
if (SUCCEEDED(hr))
FillPcmFormat(format, m_pwfx->nChannels, m_pwfx->nSamplesPerSec, m_pwfx->wBitsPerSample);
m_sourceFrameSizeInBytes = (format.wBitsPerSample / 8) * format.nChannels;
hr = m_pDefaultCaptureDevice->Initialize(AUDCLNT_SHAREMODE_SHARED, 0x88140000, 1000 * 10000, 0, &format, NULL);
The m_pwfx was already retrieved via GetMixFormat earlier, just use that.  Don’t create a custom one.
In the BackEndAudio::Stop routine change the order of cleanup:
if (m_pDefaultRenderDevice)
m_pDefaultRenderDevice->Release();
m_pDefaultRenderDevice = NULL;
if (m_pDefaultCaptureDevice)
m_pDefaultCaptureDevice->Release();
m_pDefaultCaptureDevice = NULL;
if (m_pCaptureClient)
m_pCaptureClient->Release();
m_pCaptureClient = NULL;
The next step is to basically delete the BackEndServerHost project and create a new one with the following steps.
1)  Add a new C++ Dirext X App (Windows Phone) to the solution and name it VoipBackendServerHost  NOTE: using "." in the name causes problems, so don't use the same name as the original sample.
2)  Remove the Common and Content Folders
3)  Remove App1Main.cpp and App1Main.h
4)  Contents of app.cpp should be:
#include "pch.h"
#include "App.h"
#include <windows.applicationmodel.core.h>
#include <wrl.h>
#include <string>
#include <stdexcept>
using namespace ABI::Windows::ApplicationModel::Core;
using namespace ABI::Windows::Foundation;
using namespace Microsoft::WRL;
using namespace Wrappers;
HRESULT __cdecl MyGetActivationFactory(_In_ HSTRING activatableClassId, _COM_Outptr_ IInspectable **factory);
class GetCustomClass : public RuntimeClass<RuntimeClassFlags<RuntimeClassType::WinRtClassicComMix>,
IGetActivationFactory,
CloakedIid<IAgileObject >>
public:
IFACEMETHODIMP GetActivationFactory(_In_ HSTRING activatableClassId, _COM_Outptr_ IInspectable **factory)
return MyGetActivationFactory(activatableClassId, factory);
private:
HMODULE m_hMod;
[Platform::MTAThread]
int main(Platform::Array<Platform::String^>^)
HRESULT hr = Initialize(RO_INIT_MULTITHREADED);
if (FAILED(hr))
throw std::runtime_error(std::string("Failed to Initialize(RO_INIT_MULTITHREADED), HRESULT: ").append(std::to_string(hr)));
// Scoping for smart pointers
ComPtr<ICoreApplication> spApplicationFactory;
hr = GetActivationFactory(HStringReference(RuntimeClass_Windows_ApplicationModel_Core_CoreApplication).Get(), &spApplicationFactory);
if (FAILED(hr))
throw std::runtime_error(std::string("Failed to GetActivationFactory(RuntimeClass_Windows_ApplicationModel_Core_CoreApplication), HRESULT: ").append(std::to_string(hr)));
ComPtr<IGetActivationFactory> spGetActivationFactory = Make<GetCustomClass>();
spApplicationFactory->RunWithActivationFactories(spGetActivationFactory.Get());
Uninitialize();
 5) Right click and bring up Project properties.  go To Linker->Input.
 6) Set the Configuration and Platform dropdowns to change all configurations all platforms at the same time
 7) Choose Edit for Additional Dependencies and set to this:
$(SolutionDir)$(PlatformTarget)\$(Configuration)\BackEnd\PhoneVoIPApp.BackEnd.lib
WindowsPhoneCore.lib
RuntimeObject.lib
 8) Under Cofniguration Properties->General Set the Target Name to PhoneVoIP.BackEnd.HostServer and Output directory to $(SolutionDir)UI
 9) APply the settings. Then click OK
10) Build the Proxy Stub
11) Build the Agents
12) Build the new Project
13) Expand the UI (Windows Phone Silverlight 8.1) Project and find the PhoneVoIP.BackEnd.HOstServer.exe and remove it.
14) Right click UI and Choose Add Existing and add the PhoneVoIP.BackEnd.HostServer
This should hopefully get you moving forward.  Please test and make sure your application is working. The end result should pass WACK now.  Please let me know if there are any issues.  It is a lot of steps and I hope I didn't miss any.
Bret Bentzinger (MSFT) @awehellyeah

Similar Messages

  • SQLite3-WinRT / SQLite3Component for Windows Phone 8.1 (HTML5 & JavaScript)

    Dear all
    I am a newbie in the developpement for Windows 8.1 and Windows Phone 8.1.
    After a few weeks reading books and watching videos to learn developping Windows Store Apps 8.1 with HTML5 and JavaScript, I have started my very first serious application as a Universal Windows Store App using visual studio 2013 community edition. I would
    like to use SQLite for persisiting the data of my application.
    I installed the necessary extensions to VS2013 both for windows 8.1 and windows phone 8.1 (SDK + SQLite extension)
    I cloned the SQLite3-WinRT projet from GitHub, and, as VS2013 asked it, run the targetting process to upgrade to Windows 8.1.
    I successfully installed and tested SQLite3-WinRT using Javascript for the WIndows 8.1 part of my project.
    But when i tried to add the SQLite3Component project as a reference to my Windows Phone 8.1 project, VS2013 complained that SQLite3Component project is an invalid reference for a windows phone project... I can understand this as the SQLite3Component project
    seems to be a windows 8 only project.
    I have been looking for a solution for two days now without success and decided therefore to post my question here: is there a SQLite3Component project targetted for WINdows Phone 8(.1)? If not, what are my alternatives for persisting potentially large amount
    of data with advanced search queries locally on a windows phone?
    Thank you for any help the comunity could give me.
    Regards
    François

    While not specifically talking about JavaScript/HTML5 this article series outlines how to use SQLite in Universal App projects:
    http://blog.tpcware.com/2014/04/universal-app-with-sqlite-part-1/
    I have already used it from C# and given that we're talking about WinRT components it should be accessible from WinJS as well. Hope it helps.

  • Inking for Windows Phone 8.1 (Not Silverlight)

    Is there any way to use Inking for Windows phone 8.1 application. I am able to use it in Silverlight application for freehand drawing.
    But is there anything available to use for this purpose in WinRT?

    Hi Morichi,
    As far as I known in Windows Phone 8.1 Runtime there is no such a Inking api or control as in Windows Phone 8.1 Silverlight app. If you want to implement the inking function in Windows phone 8.1 Runtime application, please try to refer to
    the @Rob Caplan - MSFT's reply in this thread:
    http://stackoverflow.com/questions/28862500/inking-for-windows-phone-8-1-not-silverlight .
    Best Regards,
    Amy Peng
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Windows Intune support deployment for windows phone (8.1) *.appx files

    Hi
    We are trying to deploy a windows phone 8.1 appx file with intune (over sccm console). the appx file is signed with a valid symantec certificate.
    the installation of the app fails, either when we upload the file as "Required" (so pushing it automatically to the devices) or when we make the app on the company portal app available. 
    in the sccm console the deployment status says failed -> unkonwn error.
    when we use .xap file of an windows 8.0 app, it works like a charm and the xap file is signed with the same certificate.
    My question is, is there no support for publishing windows phone 8.1 appx files on Intune? Or what can it be?
    Thanks for any hints

    UPDATE
    According to these links and the comments from Mitch Denny, can somebody confirm that .appx files (company apps) cannot be deployed/installed on windows phone 8.1 yet?
    http://blogs.technet.com/b/windowsintune/archive/2014/05/12/what-s-coming-next-with-windows-intune.aspx
    http://blogs.technet.com/b/windowsintune/archive/2014/04/28/availability-of-update-to-windows-intune-for-windows-phone-8-1-and-samsung-knox-standard.aspx
    I would really appreciate if someone can confirm me this, because im struggling with this since days and there is no official statement from MS.
    Thanks

  • Simple upload image to amazon S3 winjs for windows phone 8.1?

    Hi
    Can behind simple upload image to amazon S3 winjs for windows phone 8.1?Thank

    Yes.
    Matt Small - Microsoft Escalation Engineer - Forum Moderator
    If my reply answers your question, please mark this post as answered.
    NOTE: If I ask for code, please provide something that I can drop directly into a project and run (including XAML), or an actual application project. I'm trying to help a lot of people, so I don't have time to figure out weird snippets with undefined
    objects and unknown namespaces.

  • How to create a VPN client for Windows Phone 8.1?

    We have our own VPN client for Windows and Android. I would like to create a VPN client  for Windows phone 8.1. After referring these site I found that there are some third
    party VPN plugins available for WP 8.1.
    I checked OpenVPN but it is also not available for WP 8.1.
    Is there any APIs available for creating a VPN client in WP 8.1 similar to
    VpnService provided by Android SDK ?

    The VPN APIs for WP8.1 are not open at this time.
    Matt Small - Microsoft Escalation Engineer - Forum Moderator
    If my reply answers your question, please mark this post as answered.
    NOTE: If I ask for code, please provide something that I can drop directly into a project and run (including XAML), or an actual application project. I'm trying to help a lot of people, so I don't have time to figure out weird snippets with undefined
    objects and unknown namespaces.

  • HP Pocket Playlist mobile application for windows 8 devices

    Hi,
    does someone know why there is not HP Pocket Playlist mobile application for Windows 8 phones? or when the application will be available in the app store?
    Any information is very welcome.
    Regards,
    Fer

    I am very dissappointed, I am also not able to find an app for my Windows 8.1 phone. Please tell us where we are to get it.

  • FM Radio Application for Windows 8

    I am trying to develop a simple FM Radio Application for Windows 8 phones. I found one class but it says it will not work for devices targeting windows 8. Can some one please help. 
    https://msdn.microsoft.com/en-us/library/windows/apps/microsoft.devices.radio.fmradio(v=vs.105).aspx

    It's been a long time since I last answered an FM radio question so I might be forgetting some details but basically...
    In Windows Phone 7 timeframe the FM radio hardware was part of the requirements but for Windows Phone 8 FM radio hardware was optional and, in fact, the FM Radio drivers were not available until build 8.0.10322.
    I cannot recall if the restriction regarding FMRadio API for Windows Phone 8 targeted applications mentioned in the MSDN documentation, is enforced during submission to the store but I know it is possible to use the APIs in a Windows Phone 8 targeted project
    during development (...requires: ID_CAP_MEDIALIB_AUDIO I believe.)
    Eric Fleck, Windows Store and Windows Phone Developer Support. If you would like to provide feedback or suggestions for future improvements to the Windows Phone SDK please go to http://wpdev.uservoice.com/ where you can post your suggestions and/or cast
    your votes for existing suggestions.

  • How to make backward compatibility of windows phone 8.1 app for windows phone 7?

    I developed windows phone 8.1 app which is in windows phone store. Now, i want to make this app compatible for windows 7 also. Is it possible, if yes then how?

    It may be that you are using non-backward compatible capabilities in your Windows Phone 8.1 app(s).
    Developers that want to develop for different OS's usually have platforms with the different OS's on them for developing applications so they work on each platform.
    I suppose you developed for Windows phone 8.1 rather than Windows phone 7. Therefore your app runs on a different framework than a Windows phone 7 has as well as probably newer hardware with greater capabilities.
    So you will probably need to purchase an older phone that came with Windows phone 7 in order to develop for. I couldn't find documentation like the last link below (App capabilities and hardware requirements for Windows Phone 8) for Windows phone 7
    from Microsoft but maybe you can.
    Windows Phone OS 7.1 - Developing a Windows Phone Application from Start to Finish
    Types of Applications
    The Windows Phone application platform provides two frameworks for developing applications:
    Silverlight
    The Silverlight framework supports event-driven, XAML-based application development.
    XNA
    The XNA Framework supports loop-based games.
    Silverlight and XNA can also be combined in a single application.
    The following table lists some of the criteria that you can use to determine whether you should use Silverlight or the XNA Framework for your Windows Phone application. With Windows Phone OS 7.1, you can combine Silverlight and XNA into one application. 
    For more information about Silverlight and XNA, see
    The Silverlight and XNA Frameworks for Windows Phone. For more information about the application platform, see
    Application Platform Overview for Windows Phone.
    What's New in Windows Phone 8.1
    Platform convergence with Windows Store apps
    Windows Phone 8.1 introduces an important change in the Windows Phone developer ecosystem. In this release, Windows Phone converges with the Windows Store apps platform into a single developer platform that runs the same types of apps—Windows Runtime apps.
    Platform convergence began in Windows Phone 8, which supports a small subset of Windows Runtime APIs, but which differs from Windows in many core areas. In Windows Phone 8.1, there’s so much more in common—a much larger API set, a similar app model
    and life cycle, a shared toolset, a common UI framework—Windows Phone and Windows Store app developer platforms truly have become one, single development platform.
    Of course there are still some small differences in behavior and supported features between Windows Phone and Windows Store apps. Some of these are the result of timing of the different product cycles, and they may not appear in future releases. Some differences
    are the result of the different natures of phones and computers, their sizes, and the way people use them. We encourage developers to think in terms of Windows app development—developing for a single Windows Runtime, but targeting two different platforms on
    phones and computers.
    Required Tools for Windows Phone Development
    App capabilities and hardware requirements for Windows Phone
    8
    La vida loca

  • Adobe reader for windows phone market availability

    Adobe for windows phone is the defacto pdf reader in the whole of the windows phone ecosystem. Unfortunately while publishing the application for distribution, adobe forgot to include the new windows phone supported markets. This means users with windows phone in those markets can't download the application.  Kindly rectify this and include the new markets. I beleive this application should be distributed worldwide.  My market confuguration is tied to the Kenya Region.

    [topic moved to Adobe Reader for Windows Phone forum]

  • AIR SDK for Windows Phone 7?

    Hi
    I'd like to know if Adobe is working with Microsoft to get an AIR SDK for Windows Phone 7 so developers were able to compile ActionScipt projects into WinMo7 applications.
    Thanks

    Hi
    I'd like to know if Adobe is working with Microsoft to get an AIR SDK for Windows Phone 7 so developers were able to compile ActionScipt projects into WinMo7 applications.
    Thanks

  • I am converting existing wpf application to Windows phone 8 app using visual studio 2013

    i want to replace the  xmltextreader for windows phone 8 project ????
    as we dont have  xmltextreader.whitespacehandling...... how to replace this for windows phone project.....
    and i am getting some more error like 'system.net.sockets.socket' doesnot contain a defination for 'beginconnect' and no extension method 'beginconnect' accepting a first argument........

    Hi sagaradi,
    >> So now i want to target that application  to windows 8.1 store and Windows phone 8.1
    For the exception about "System.net.sockets.socket doesnot contain a defination for 'BeginAccept' and no extension mehod 'BeginAccept' accepting a first argument of type 'system.sockets'cuold not be found",
    it is because that System.Net.Sockets is not available in Windows Phone Runtime app, we have to use the
    Windows.Networking.Sockets for instead, for more information, please try to refer to:
    http://stackoverflow.com/questions/23477961/cannot-find-system-net-sockets-assembly-for-wp-8-1 .
    For others exceptions, since I do not have your code, it will be hard to tell. But although WPF/Windows Phone/Windows Store are all XAML-based platforms, they still have a lot of difference among them. Some API which are available in the WPF
    may be not available in the Windows Store and Windows Phone. So please pay attention on it, for more information, please try to refer to the following article:
    #Move form WPF and Microsoft Silverlight to WinRT:
    https://msdn.microsoft.com/en-us/library/windows/apps/br229571.aspx .
    Best Regards,
    Amy Peng
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • I can't install "windows phone power tool" in window 8 for windows phone 8 app development.

    Dear Sir/Mam,
    I can't install "windows phone power tool" in window 8 for windows phone 8 app development.
    I am download the Windows phone power tool  for install in windows 8 for wp8 app development then it show the dialogbox for install that software. if i am click on install button it shows a another dialogbox that 
    i am using this link for install wp power tool.
    "https://wptools.codeplex.com/releases/view/97029"
    System Update Required,
    Unable to install or run the application. The application requires that assembly
    Microsoft.SmartDevice.Connectivity Version 12.0.0.0 be installed in the Global Assembly Cache(GAC) first .
    More information on this system update can be found by visiting the site here()
    How can i solve this problem. Please help me for install wp8 power tool.
    Thanks & Regards,
    SrinivaaS.

    Hi SrinivaaS Birlangi,
    >>Microsoft.SmartDevice.Connectivity Version 12.0.0.0 be installed in the Global Assembly Cache(GAC) first
    When we meet the above exception, first please try to make sure that we have installed the WP8.0 SDK very well.
    Then please try to check the following article which may give you some idea:
    https://wptools.codeplex.com/workitem/41 .
    Best Regards,
    Amy Peng
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • HP All-in-One Printer Remote App For Windows Phone 8.1 Troublesho​ot

    Dear HP,
    Device                Nokia Lumia 520
    OS                        Windows Phone 8.1
    Printer                HP Officejet Pro 8600 All in One Printer
    I have installed HP All-in-One Printer Remote on my smartphone as well as on my PC having Microsoft Windows 8.1. The PC app is running 
    fine but on my smartphone, app can't find my HP Wireless printer. All Devices(PC, Smartphone, Printer) are connected to same wireless LAN Network.
    Regards
    Sahyog Vishwakarma
    Mob.: +91-7206369455
    Yamuna Nagar
    Haryana

    Hi,
    The app for Windows phone is a BETA version. In my case (also a Nokia) it can find my printer but when sending something to printer, printer won't print. Again, it's only a BETA version.
    Regards.
    BH
    **Click the KUDOS thumb up on the left to say 'Thanks'**
    Make it easier for other people to find solutions by marking a Reply 'Accept as Solution' if it solves your problem.

  • Preview for Developers update for Windows Phone 8.1.1

    Start your phone updates
    Microsoft has just pushed out Windows Phone 8.1.1 for those participating in the Preview Developer Program.
    It's believed to fix the following issues:
    lingering issues with those not getting the Lumia Cyan firmware
    errors in installing
    and even a fix for HTC users
    Source: Microsoft rolling out Preview for Developers update for Windows Phone 8.1.1 | Windows Phone Central

    primortal wrote:
    This bit is interesting from the Windows Phone Blog in regards to this update.
    Remember, while we are releasing Lumia Cyan for a large number of phones, there still may be some of you that are not offered the Cyan update, yet. However, as explained in the blog, we’ll continue to add more Lumia devices every couple of days over the coming weeks until we bring everyone up to the latest.
    Source: New Update for Windows Phone Preview for Developers
    That Text is no where to be found in that blog post. Anywhere.

Maybe you are looking for