用户工具

站点工具


差别

这里会显示出您选择的修订版和当前版本之间的差别。

到此差别页面的链接

en:razor:windows-phone-developer-guide [2015/03/18 16:28]
cobub [2.2 SDK Usage Step]
en:razor:windows-phone-developer-guide [2017/07/14 11:18]
行 1: 行 1:
-====== Cobub Razor Windows Phone Developer Guide ====== 
-  * [[#​Overview|Overview]] 
-  * [[#Basic Setup Guide|Basic Setup Guide]] 
-  * [[#API Reference|API Reference]] 
-===== 1   ​Overview ===== 
-==== 1.1   ​Documentation Goal ==== 
  
- 
-The goal of this document is to explain usage rules of Cobub Razor Windows Phone SDK for facilitating mobile app developers. 
- 
-==== 1.2   ​Application Scope ==== 
- 
- 
-This document is for Windows Phone SDK developers, which uses the Open Source Mobile Analytics – Cobub Razor. 
- 
-==== 1.3   Terms and Abbreviations ==== 
- 
- 
-Cobub Razor  - [[en:|The Open Source ​ Mobile Analytics]] 
- 
-==== 1.4   ​Relevant Documentation ==== 
- 
- 
-NA 
-===== 2   Basic Setup Guide ===== 
-==== 2.1   ​Obtain AppKey ==== 
- 
- 
-First please setup the Web Server of Cobub Razor ([[en:​razor:​installation|instruction]]),​ then register App at web server and fill App info after login. Once App is created successfully,​ you could obtain **AppKey**. 
- 
-==== 2.2   SDK Usage Step ==== 
- 
- 
-=== 2.2.1   ​Import UMSAgent.dll === 
- 
- 
-Import Windows Phone SDK into your project. 
- 
-VS users right click own project “Reference” directory and select “Add Reference —>​Browse”. Then select path of UMSAgent.dll. Click OK and then import is completed. 
- 
-=== 2.2.2   ​Integration Instructions === 
- 
- 
-We recommend you Calling 
-<​code>​UmsAgent.UMSApi.onPageBegin("​current_page_name "​)</​code>​ 
-and 
-<​code>​UmsAgent.UMSApi.onPageEnd("​current_page_name "​)</​code>​ 
-in all pages. If  not , Page View report and some related data statistics reports will not be available on the Web Server. 
- 
-=== 2.2.3   Note === 
- 
- 
-  * Check to make sure that AppKey has been correctly written. 
-  * You must invoke //​UmsAget.UMSApi.onAppstart(string appkey,​string url)// firstly 
-  * SDK could help you catch exit exception during App usage and send error data statistics report to server. Error report includes App version, OS version, device type and stack trace of program exception. These data will help you debug the App errors. 
-  * Different channels have different AppKeys. 
-===== 3   API introduce ===== 
en/razor/windows-phone-developer-guide.txt · 最后更改: 2017/07/14 11:18 (外部编辑)