PJSIP porting to Windows-10 Universal Application - windows-runtime

I am able to port PJSIP library to Universal Windows 10.Then I have created universal DLL which has reference of the ported PJSIP libraries. I am loading this DLL using Universal application.
The application is working fine. But the issue is only waveInOpen() API. It is getting failed. But waveOutWrite() is successful.
I have not done any code change in PJSIP library code.
Need some suggestion.
Thanks in advance.

Related

ZeroMQ on Windows Phone 8.1?

I've been developing an app for Windows Phone 8.1 and i wanted to use ZeroMQ for the communication with the server. I've used ZMQ before and it has always worked after some trying but i just coulnd't get it to work with WP8.1. I already tried to use NetMQ but i get the error "the package does not contain any assembly references or content files that are compatible with that framework" when trying to install it via NuGet, the same Problem with clrzmq4 and Castle.ZMQ Is there any possibility out there to get ZeroMQ running on WP8.1? I'm thankful for your help.
According to this thread, ZeroMQ is not compatible with Windows Phone, since this doesn't support the .NET sockets library.
I guess you'll have to use an alternative or build your own then...

How to port Windows Store 8.1 apps to Windows 10?

I have developed few apps in windows store 8.1 and i want to port them to windows 10.
Previously when windows 8.1 has released, In Visual Studio when you open the windows store 8 app code, in the solution we had an option called target to windows store 8.1, then it takes care of everything.
Now how to Port Windows store 8.1 apps to Windows 10 using C# and xaml
Any help or any article on this please?
Thanks in advance
The best way to do this is to create a new Windows 10 project based on the universal template and then copy all the source files and assets to it. There's a detailed description on MSDN here:
https://msdn.microsoft.com/en-us/library/windows/apps/dn705768.aspx
and here:
https://msdn.microsoft.com/en-us/library/windows/apps/dn751495.aspx
0) Install Win10 RTM
OK? =)
(But, If you just want to bulid the UWP project, Win8.1 is also ok. But you can't use the xaml designer, inspector, etc.... I can't recomend this way)
1) Install VS2015 RTM and Win10SDK RTM.
By default, Win10SDK is NOT installed. You should select the Win10 SDK from installation option dialog.
1.5) Update NuGET 3.1.
You can see the Flag Icon on the top-right corner of VS2015 Window. Click it to install Nuget Update.
2) Migrate your solution and project.
You should modify your .csproj manually with this guide.
Migrate apps to the Universal Windows Platform (UWP)
After that, you can build your app with VS2015.
Note - if you got the thousands of compile error, try Installing following nuget package from nuget console.
Microsoft.NETCore.UniversalWindowsPlatform
3) Modifying your app to suit for UWP manner
Following pages helps you.
Move from Windows Runtime 8 to UWP
Porting Windows Runtime 8 XAML and UI to UWP

Porting windows phone 8.0 apps to windows phone 8.1

I am working on a project in Windows Phone 8.0 SDK for the last year or so. Now that Windows Phone 8.1 SDK is out I am trying to port my application to 8.1 SDK.
Currently, I have targeted my application which was built in 8.0 to 8.1. It works fine. But there are certain things which I am curious to know more are the about the namespace changes.
So now all the windows 8.1 and windows phone 8.1 apps fall under the windows store apps, there are certain namespace that are missing. For example, the System.IO.IsolatedStorage namespace does not exist in the 8.1 SDK. But there exists Windows.Storage namespace which can serve the same purpose.
Here's where it gets really interesting,
I have a solution with 10 projects built in 8.0 originally, and targeted to 8.1. System.IO.IsolatedStorage namespace still works and Microsoft.Xna.Framework.Media namespace still works. But when I create a new project in the same solution, I don't get these namespace.
I get the point that the original project was built in 8.0 and that's why I am able to see the earlier namespaces. But the problem arises when I would like to use the isolated storage data in the 8.1 SDK.
I am assuming that the solution would be to change each and every namespace to Windows.Storage instead of System.IO.IsolatedStorage. This is going to be a tedious process as the application we have here is quite a big application.
Am I missing anything here? What is the best practice?
But when I create a new project in the same solution, I don't get these namespace.
Sounds like you're creating a Windows Runtime project in your solution, and your existing solutions are Silverlight 8.1 solutions.
You need to make sure you pick a project type that includes "Silverlight".

Doubts on Phonegap.js, Phonegap Build and Intel XDK

I am very new to mobile application development. Now I am into a mobile application project which should work on IOS, Android, BB and WP.
After googling to learn what can I do on this, I felt Phonegap fulfils my requirement. I have downloaded and installed phonegap on eclipse to start develop for Android.
I have downloaded, SDK, AVD, eclipse etc to get started with Phonegap for Android.I followed the procedures in the Getting Started Guide.
For User Interface, I took Intel App Framework as my tool of choice.
Everything goes fine with me, other than my doubts in Cross Platform mobile application development.
1) I have read about PhoneGap build, it just requires html,css and js file to wrap up an application for different platforms. So downloading and linking phonegap.js in an the application is not required unless I need to access the device's native function ?
And just create a responsive HTML5 application and build with PhoneGap Build is all I have to do ?
2) If I can just do like above, then why I should install eclipse and android SDK to create for android when I can just make HTML5 application and build with phonegap build and put it on google play.
3) I have came across Intel XDK and they have similar service like phonegap, if I use Intel XDK then I don't have to use any assets of phonegap ?
Please answer these question as these things are confusing me a lot.
As per my knowledge these are the answers,
1) I have read about PhoneGap build, it just requires html,css and js
file to wrap up an application for different platforms. So downloading
and linking phonegap.js in an the application is not required unless I
need to access the device's native function ?
Yes, until your application need to access devices's native function or any inbuilt or custom plugins, no need of phonegap.js.
And just create a responsive HTML5 application and build with PhoneGap
Build is all I have to do ?
2) If I can just do like above, then why I should install eclipse and
android SDK to create for android when I can just make HTML5
application and build with phonegap build and put it on google play.
Phonegap applications need to be developed as native applications using web technologies,
ex: IOS apps need to developed on MAC (using IOS SDK) etc.
3) I have came across Intel XDK and they have similar service like
phonegap, if I use Intel XDK then I don't have to use any assets of
phonegap ?
Intel XDK using cloud based development where your html,css etc are uploaded into the Intel server and the application will build their and give your the final build. In this case you no need of MAC for IOS application development.
In my experience developing with Phonegap and its Build service I generally use a plain web IDE which is based on eclipse called Aptana. It's primary use is for just HTML web development. I never install iOS or Android SDK's since the whole reason you use Phonegap's online build service is so you can be free from having to set up multiple development environments.
All my project specifications are configured in the config.xml. I don't include a copy of Phonegap's libraries since they are bundled at the time of compilation in via Phonegap's online build service.
For general testing and debugging I use either the Chrome debug inspector or Chrome and the Ripple emulator. When I've finished testing and need to compile the binaries I send my code up to Phonegap's build service using maven and Chris Price's Phonegap build maven plugin.
This allows me to :
Unlock the signing keys (maven-ant-plugin and an http get call)
Upload my project for compilation to Phonegap's Build service
Sign my project with a specified signing key
Download a compiled binary for a specified platform
All from one single command. When I develop on my Mac Mini I installed a ruby script which will deploy the downloaded binary straight to my iOS device as final step.
I came up with this solution with the idea that I wanted to be able to checkout my code and be able to compile it online using only maven on any machine. This achieves that.
To answer #2. For phonegap you only need to download eclipse and android SDK or Xcode(iOS) if you are NOT using phone gap build. If you use Phonegap Build (included with Photoshop subscription) you can build with their servers and download the app straight to the device through the phonegap site. Its real simple for Android, a bit harder for iOS.
My understanding is that you have to subscribe to iOS Developer Program (US$99pa) to generate an iOS-installable app (even just for testing it), and publishing/distribution is also a bit more complicated than e.g. Android as well. That is completely regardless of what tool you use to build it, you need an Apple key code to install it. Of course, you can always just build and publish it as a a web application that be viewed in any browser. Then you don't need the iOS developer sub.

ZXing Barcodescanner with Phonegap and Windows 8

I need to integrate the ZXing barcode scanning library with a Windows 8 app(port from iOS/Android). I did successfuly use the Windows (7) Plugin however this plugin only supports QR codes and not "Regular Barcodes" (UPC-A) format.
This plugin uses the 1.7 version of zxing library I need to either upgrade it to the latest (2.2) which I believe supports the UPC-A format or go with the .NET Port
Either way I havent figured out how as I am no .NET developer and havent found any tutorials how to integrate the ZXing library with Phonegap, I know it can be done just not how.
A step by step guild would be best if you have any links about this.
Thanks