Changes between Version 5 and Version 6 of Getting-Started/Windows-Phone


Ignore:
Timestamp:
Mar 9, 2016 12:32:06 PM (8 years ago)
Author:
riza
Comment:

--

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 = 
    22[[TracNav(Getting-Started/TOC)]] 
    33[[PageOutline(2-3,,inline)]] 
     
    55== Build Preparation == 
    66 
    7  * Get the source code from Windows Phone branch 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''' 
    99 * Set your [wiki:Getting-Started/Build-Preparation config_site.h] to the following: 
    1010  {{{ 
     
    1919 
    2020The Visual Studio based project files can be used with one of the following tools: 
    21     * Microsoft Visual Studio 2012. Tested on Professional and Express version. 
     21    * Microsoft Visual Studio 2015. 
    2222 
    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] 
    2534 
    2635=== Host requirements === 
     
    3039    * Operating System type : 64-bit Windows 8 Professional or higher. 
    3140 
    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 == 
    3442 
    35 == Building and running the Projects == 
     43=== Windows Phone 8.x === 
    3644 
    3745Follow the steps below to build the libraries/application using Visual Studio: 
    3846 
    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. 
    4150   1. Set '''ARM''' as the target platform. 
    4251   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. 
    4554   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 
    4665 
    4766== Debugging Application == 
    4867 
    4968To Debug native(C/C++) part of the application: 
    50    * Set the '''Debugger type''' of pjsua_wp project properties [Debug menu] to '''Native Only'''. 
     69   * Set the '''Debugger type''' of project properties [Debug menu] to '''Native Only'''. 
    5170 
    5271To Debug managed(C#) part of the application: 
    53    * Set the '''Debugger type''' of pjsua_wp project properties [Debug menu] to '''Managed Only'''. 
     72   * Set the '''Debugger type''' of project properties [Debug menu] to '''Managed Only'''. 
    5473 
    5574=== Assert Problem on Debugging Native Code === 
     
    6786== Other References == 
    6887 * [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]