91嫩草国内在线,韩国理论电影免费看,6969精品视频在线观看,1024在线视频精品免费,色中色污,饭冈佳奈子在线

用戶工具

站點工具


差別

這里會顯示出您選擇的修訂版和當前版本之間的差別。

到此差別頁面的鏈接

后一修訂版
前一修訂版
en:razor:plugins:huaweipush [2015/03/19 11:52]
cobub created
en:razor:plugins:huaweipush [2017/07/14 11:18] (當前版本)
行 1: 行 1:
 +~~Title:​Cobub Razor HuaweiPush Plugin - Mobile Apps Marketing Platform of Open Source - Mobile Analytics & Mobile Push Notification Solutions - Cobub Mobile Developer Center~~
 +{{description>​Cobub Razor is an Open Source Mobile Analytics. Huawei Push the plug is Cobub Razor official platform based Huawei alliance to push the development of a plug-in. ​
 +It integrates features a push function Tag Huawei and Cobub Razor Alliance platform provides more convenient, fast and accurate a push.}}
 +{{keywords>​Cobub Razor,open source mobile analytics,​mobile analytics,​mobile app analytics, HuaweiPush, Plugin}}
 +
 ====== HuaweiPush Plugin ====== ====== HuaweiPush Plugin ======
  
行 6: 行 11:
 Huawei Union open platform for messaging applications to help companies push through low-cost Internet access, provide a sound, efficient and stable service system solves the Internet cloud to the phone side of the message interoperability problems. Huawei Union open platform for messaging applications to help companies push through low-cost Internet access, provide a sound, efficient and stable service system solves the Internet cloud to the phone side of the message interoperability problems.
  
-===== Integration steps: =====I+===== Integration steps: =====
  
  
-Huawei push the plug before integration,​ ensure the establishment of a database related tables, can go to[[razor:​plugins:​start|here]]sql file Download related to import into your database, create a related table (note changes in the prefix table sql razor_, in order to maintain your own database table prefix and consistent).+Huawei push the plug before integration,​ ensure the establishment of a database related tables, can go  to[[razor:​plugins:​start|here]] sql file Download related to import into your database, create a related table (note changes in the prefix table sql razor_, in order to maintain your own database table prefix and consistent).
  
 ** 1.**Ensure Cobub Razor and Cobub authorized users Center has successfully bound.** If not binding, see [[razor:​plugins:​start|here]]. ** 1.**Ensure Cobub Razor and Cobub authorized users Center has successfully bound.** If not binding, see [[razor:​plugins:​start|here]].
  
 **2.Activate Huawei Cobub Razor in push applications ** **2.Activate Huawei Cobub Razor in push applications **
-若要使用華為推送插件中的推送,系統需要為每個App(當前只支持Android平臺)分配相應的授權Key。+To use the plug-in Huawei push push, the system needs to be allocated for each of the corresponding authorization Key App (currently only supports ​Android ​platform).
  
-**3.華為推送SDK集成**?+**3. Huawei push SDK integration ​**?
-在華為聯盟下載下來的華為推送SDK.rar文件,在本地解壓后,進入微內核SDK\Doc”目錄,參考Doc目錄下的《華為PushSDK集成說明.pdf》文檔集成華為推送SDK+Huawei Huawei Push Coalition downloaded ​SDK for theRar file, after local decompression,​ go to micro-kernel ​SDK \ Doc” ​directory, “Huawei ​PushSDK ​integration instructionsPdf” Reference Doc directory integration Huawei push SDK documentation
  
-集成步驟:+Integration steps:
  
-==== 3.1.集成jar: ====+==== 3.1 Integration ​jar package: ====
  
-將獲取到的cobub razorums.jar添加到華為推送項目的libs目錄。?+Adding acquired ​cobub razor’s ums.jar ​Huawei to push the project ​libs directory.?
-在項目上右鍵選擇Build Path->​Configure build path…>左側選擇 ​Java Build Path>;選擇Libraries選擇卡—>;Add JARs.. ​>;選擇當前項目的Libs目錄,選中jar包,然后點擊OK.+Right on the project and select ​Build Path-> Configure build path … -left select ​Java Build Path->; choose ​Libraries ​Select Card ->; Add JARs .. ->; choose the items currently ​Libs directory, select the jar package, and then click OK.
  
-==== 3.2.修改華為推送SDK項目包名與您創建應用的包名相一致 ​====+==== 3.2.Modify download Huawei push SDK project package name and package name to create an application consistent: ​====
  
  
-==== 3.3.配置AndroidManifest.xml文件。 ​====+==== 3.3 Configuration ​AndroidManifest.xml ​file. ====
  
-添加授權+ Add authorization
 <​code>​ <​code>​
     uses-permission android:​name="​com.android.launcher.permission.INSTALL_SHORTCUT"​     uses-permission android:​name="​com.android.launcher.permission.INSTALL_SHORTCUT"​
     uses-permission android:​name="​com.android.mylauncher.permission.INSTALL_SHORTCUT"</​code>​     uses-permission android:​name="​com.android.mylauncher.permission.INSTALL_SHORTCUT"</​code>​
-加入服務聲明+Add Service Statement
 <​code>​ <​code>​
 meta-data ​ meta-data ​
行 42: 行 47:
 meta-data meta-data
 </​code>​ </​code>​
-注意:PACKAGENAME替換為項目包名.?+Note: PACKAGENAME ​replace the package name for the project.?
-其中的APPKEY是通過Cobub razor創建應用時獲取到的+APPKEY ​which is created by Cobub razor to get to the application of 
  
-==== 3.4 添加SendMapping.java映射文件:將SendMapping.java文件放在’..\src\項目名目錄下 ​====+==== 3.4 Add SendMapping.java ​mapping file: SendMapping.java ​document on ‘.. \ src \ project name’ directory ​====
  
 <​code>​ <​code>​
行 173: 行 178:
 } }
 </​code>​ </​code>​
-==== 3.5. 初始化SDK ====+==== 3.5 Initialize ​SDK ====
  
-在您應用程序主Activity里導入 ​UmsAgent;+Import ​UmsAgent ​in your application’s main Activity Lane;
 <​code>​ <​code>​
 import com.wbtech.ums.UmsAgent;</​code>​ import com.wbtech.ums.UmsAgent;</​code>​
-然后在您應用程序啟動初始化階段,初始化SDK+Then start the initialization phase in your application initialization ​SDK:
 <​code>​ <​code>​
 UmsAgent.setBaseURL("​http://​192.168.1.104:​80/​dev07/​razor/​web/​index.php?"​);​ UmsAgent.setBaseURL("​http://​192.168.1.104:​80/​dev07/​razor/​web/​index.php?"​);​
行 194: 行 199:
        registerReceiver(receiver,​ filter);        registerReceiver(receiver,​ filter);
 </​code>​ </​code>​
-該方法必須在ActivityService類內調用。一般情況下,可以在ActivityonCreate()方法中調用?+This method must be called within the Activity ​or Service ​category. Under normal circumstances,​ you can call the Activity’s onCreate () method?
-為保證意外情況導致初始化失敗,建議應用程序每次啟動時都調用一次該初始化接口+To ensure that unforeseen circumstances cause initialization fails, the application is recommended once every start calling the initialization interface.?
 +?
 +===== 4 Use Huawei’s push service =====?
 +?
 +Huawei’s push into Cobub Razor Plug-home, plug-in application reads a list of all current system Android.?
 +Has a push operation after each application,​ the user can select the message type according to their needs.?
 +Push into the detailed interface, select the label as required or the entire APP push, and push relevant content to fill
  
-===== 4.使用華為推送服務 ​=====+===== 5 View a pushing and send reports  ​=====
  
-進入Cobub Razor插件華為推送首頁,插件會讀取所有當前系統中的Android應用列表。?+Push into the plug-in reporting module, the user can view the user push reports. Note: The system supports only 30 days to push the report query service. The user can select the time period through the upper right corner.?
-在每個應用后都有推送操作,用戶可以根據自身需要進行選擇消息類型。?+Push the report shows all active push APP report, click the report to push a single ​APP view a single application.
-進入推送詳細界面,根據要求選擇標簽或者整個APP推送,填寫相關內容并進行推送+
  
-===== 5.查看個推推送報告 ​=====+===== 6 Account and balance sheet  ​=====
  
-進入插件中的推送報告模塊,用戶可以查看用戶推送的報告。注:系統只支持30日內推送報告查詢服務。用戶可通過右上角選擇時間段。?+Huawei push the plug on a monthly basis, based on the total number of users the system last month, every month all users APP online users to be settled.?
-推送報告顯示了所有激活的APP的推送報告,點擊單個APP查看單個應用的推送報告。+Huawei push the plug is charged according to the number of online settlement of the month, regardless of the number of push.?
 +In order to ensure the normal push service, please recharge module pre individuals Center account recharge.
  
-===== 6.賬戶與結算 ​=====+===== 7 FAQ =====
  
-華為推送插件按月結算,系統會每個月根據用戶上個月的用戶所有APP在線用戶總數來進行結算。?+How to Get Package Name? ?
-華為推送插件的收費是按照當月在線人數結算,與推送次數無關。?+Application identification (Package Name), often beginning com?
-為保證推送服務正常進行,請到個人中心賬戶充值模塊預先充值。+Method:?
 +  - Open the application on your phone?
 +  - Click Settings ->; Applications ->; management application ->; running, find your program in the list?
 +  - In the application process can be seen in the application of identity (Package Name)
  
-===== 7.常見問題 ===== 
  
-如何獲取Package Name? 
-應用標識(Package Name),常以com開頭 
-方法: 
-  * 手機上打開你的應用 
-  * 點擊設置 ->; 應用程序 ->; 管理應用程序 ->; 正在運行,在列表中找到你的程序 
-  * 在進程中可以看到應用的應用標識(Package Name) 
en/razor/plugins/huaweipush.1426737126.txt.gz · 最后更改: 2017/07/14 11:12 (外部編輯)