跳至内容
Cobub文档中心
用户工具
登录
站点工具
工具
显示页面
修订记录
反向链接
媒体管理器
网站地图
登录
媒体管理器
网站地图
本页面只读。您可以查看源文件,但不能更改它。如果您觉得这是系统错误,请联系管理员。
====== 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.1426667303.txt.gz
· 最后更改: 2017/07/14 11:12 (外部编辑)
页面工具
显示页面
修订记录
反向链接
回到顶部