Changes between Version 5 and Version 6 of Getting-Started/Windows-Phone
- Timestamp:
- Mar 9, 2016 12:32:06 PM (9 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Getting-Started/Windows-Phone
v5 v6 1 = Getting Started: Building for Windows Phone =1 = Getting Started: Building for Windows Phone 8.x and UWP = 2 2 [[TracNav(Getting-Started/TOC)]] 3 3 [[PageOutline(2-3,,inline)]] … … 5 5 == Build Preparation == 6 6 7 * Get the source code from Windows Phonebranch located in:8 '''http ://svn.pjsip.org/repos/pjproject/branches/projects/winphone'''7 * Get the source code from UWP branch located in: 8 '''https://svn.pjsip.org/repos/pjproject/branches/projects/uwp''' 9 9 * Set your [wiki:Getting-Started/Build-Preparation config_site.h] to the following: 10 10 {{{ … … 19 19 20 20 The Visual Studio based project files can be used with one of the following tools: 21 * Microsoft Visual Studio 201 2. Tested on Professional and Express version.21 * Microsoft Visual Studio 2015. 22 22 23 In addition, the following SDK is needed: 24 * [http://dev.windowsphone.com/en-us/downloadsdk Windows phone SDK]. The SDK also provides Visual Studio Express 2012 for Windows Phone. 23 ==== Windows Phone 8.x SDK ==== 24 * [http://dev.windowsphone.com/en-us/downloadsdk Windows phone SDK]. 25 26 ==== Configuring Windows Phone 8.x for Development ==== 27 * [http://msdn.microsoft.com/en-us/library/windowsphone/develop/ff769508(v=vs.105).aspx Follow these instructions] 28 29 ==== UWP SDK ==== 30 * [https://dev.windows.com/en-us/downloads/windows-10-sdk UWP SDK]. 31 32 ==== Configuring Windows Phone 10 for Development ==== 33 * [https://msdn.microsoft.com/en-us/windows/uwp/get-started/enable-your-device-for-development Follow these instructions] 25 34 26 35 === Host requirements === … … 30 39 * Operating System type : 64-bit Windows 8 Professional or higher. 31 40 32 === Configuring the Windows Phone device for Development === 33 * For the rest of this tutorial, we will assume that you already have the Windows Phone target device configured for development. If not, follow [http://msdn.microsoft.com/en-us/library/windowsphone/develop/ff769508(v=vs.105).aspx these instructions]. 41 == Building and running the Projects == 34 42 35 == Building and running the Projects==43 === Windows Phone 8.x === 36 44 37 45 Follow the steps below to build the libraries/application using Visual Studio: 38 46 39 1. Open {{{pjproject-vs11.sln}}} solution file. 40 1. Set '''pjsua_wp''' as Active or Startup Project. 47 1. Open {{{pjproject-vs14.sln}}} solution file. 48 1. Set API_Family on pjproject-vs14-api-def.props to Winphone8 49 1. Set '''pjsua_cli_wp''' as Active or Startup Project. 41 50 1. Set '''ARM''' as the target platform. 42 51 1. Select '''Debug''' or '''Release''' build as appropriate. 43 1. Build the project. This will build '''pjsua_ wp''' application and all libraries needed by '''pjsua_wp'''.44 1. Run/deploy the '''pjsua_ wp''' application on a registered Windows phone device.52 1. Build the project. This will build '''pjsua_cli_wp''' application and all libraries needed by '''pjsua_cli_wp'''. 53 1. Run/deploy the '''pjsua_cli_wp''' application on a registered Windows phone device. 45 54 1. You will see telnet instructions on the device's screen. Telnet to this address to operate the application. See [wiki:PJSUA-CLI PJSUA CLI Manual] for command reference. 55 56 === UWP === 57 58 1. Open {{{pjproject-vs14.sln}}} solution file. 59 1. Set API_Family on pjproject-vs14-api-def.props to UWP 60 1. Set '''Voip''' as Active or Startup Project. 61 1. Set '''ARM''' as the target platform for Windows Phone Device, otherwise set '''Win32''' as the target 62 1. Select '''Debug''' or '''Release''' build as appropriate. 63 1. Build the project. This will build '''Voip''' application and all libraries needed by '''Voip'''. 64 1. Run/deploy the '''Voip''' application on a Windows 10 device 46 65 47 66 == Debugging Application == 48 67 49 68 To Debug native(C/C++) part of the application: 50 * Set the '''Debugger type''' of p jsua_wp project properties [Debug menu] to '''Native Only'''.69 * Set the '''Debugger type''' of project properties [Debug menu] to '''Native Only'''. 51 70 52 71 To Debug managed(C#) part of the application: 53 * Set the '''Debugger type''' of p jsua_wp project properties [Debug menu] to '''Managed Only'''.72 * Set the '''Debugger type''' of project properties [Debug menu] to '''Managed Only'''. 54 73 55 74 === Assert Problem on Debugging Native Code === … … 67 86 == Other References == 68 87 * [http://msdn.microsoft.com/en-us/library/windowsphone/develop/jj206983%28v=vs.105%29.aspx VoIP apps for Windows Phone 8] 88 * [https://trac.pjsip.org/repos/ticket/1900 Windows 10/UWP Port ticket]