I am working on VOIP app. I am using VOIP API. The issue which i am facing is whenever app goes in background all my sockets like SIPSocket and RTPSocket is getting closed. It seems some how i can keep those sockets open while my app goes to background.Let me know if anyone have done to solve this.
I guess you're using the VoIP app from a InProc WinRT component? You need to use it OutProc, or it won't run in the background.
See VoIP apps for Windows Phone 8 and our ChatterBox VoIP sample
The ChatterBox sample also have the necessary tooling for registering OutProc interfaces with your managed app.
Related
I want to develop background task when app is closed.I searched on google but I am not getting any proper answer.I am developing windows phone runtime app,not silver light.please help me..
you can develop now - UWP apps
learn UWP - https://developer.microsoft.com/en-us/windows/develop
Windows 8 development -https://msdn.microsoft.com/library/windows/apps/xaml/mt244353.aspx
Support your app with background tasks- https://msdn.microsoft.com/en-us/windows/uwp/launch-resume/support-your-app-with-background-tasks
Get started with Windows apps - https://developer.microsoft.com/en-us/windows/getstarted
Creating background Task is easy.
You can go through this link
https://msdn.microsoft.com/en-us/windows/uwp/launch-resume/create-and-register-a-background-task
I'm writing a Windows 8.1 universal App (WinRT).
I need to integrate with Facebook to track App Events.
I made the same thing in an Android App using the AppEventsLogger.
I added the "Facebook SDK for .NET" to my project using NuGet, but I cannot find any way to track the App Events (like activateApp, deactivateApp, logEvent)
Are these functionalities I need included in the SDK I'm using?
Can I track these events in any other way in a WinRT Application?
Thank you all.
Windows Phone API has the namespace DataTransferManager to share files from internal storage.
I'm trying to use this feature on my Xamarin App.
I got a WP8 XAML page displayed via Xamarin's PageRenderer. Inside this page I call DataTransferManager.GetForCurrentView() like described in many tutorials. But at runtime the App crashes with NotSupportedException.
Please help me on how I can share files (no pictures) from my App.
Thanks
I found a solution: Upgrading the WinPhone Project to WP8.1.
So far there are no errors with PCL and 8.1.
I made a little app for WP8 that would fetch notifications from Azure mobile service table (and it did). Then I added push to it. The app is identical to the sample app given on the Azure website. I even tried the sample one and the same thing happened: log shows toasts have been sent but my device doesn't receive any at all.
Also, I have done the same with WinJS app and it works flawlessly.
Last night, I tried it again and got toast on device just once out of nearly 20 requests.
I am clueless - if its the code that you are looking for it's right here http://www.windowsazure.com/en-us/develop/mobile/tutorials/get-started-with-push-wp8/
Any help would be appreciated, thanks!
Were you running the application in the foreground on the phone at the time? Toasts don't show on WP8 if the app is in the foreground.
I'd like to start work on a Windows Store App client for Spotify, using LibSpotify. However, it seems that I'm unable to use the libspotify dll from inside a Metro app, presumably because it uses parts of the win32 api that are off-limits to the Metro Sandbox.
Loading in my own simple test dll using LoadPackagedLibrary works ok, but loading in libspotify gives error 1114 - ERROR_DLL_INIT_FAILED.
Is there any hope for me?
Thanks
Tom
If you are trying to create a Metro-Style-App - you have no hope until Spotify releases an updated library or someone reverse engineers their library to make it work in WinRT.
If you want to create a Metro style app that is not WinRT - based - there are WPF libraries that let you theme your application to look Metro, but you won't be able to sell it in Windows Store unless you work for Spotify and get into a deal with Microsoft.
You can only use the WinRT library in Windows 8 Metro Apps, not Win32.